Enables per node includes on the DecalPass.template by Jonasmortensen · Pull Request #6245 · Unity-Technologies/Graphics · GitHub
Skip to content

Enables per node includes on the DecalPass.template#6245

Merged
phi-lira merged 1 commit into
universal/stagingfrom
universal/bugfix/missing-includes-in-decal-target
Nov 10, 2021
Merged

Enables per node includes on the DecalPass.template#6245
phi-lira merged 1 commit into
universal/stagingfrom
universal/bugfix/missing-includes-in-decal-target

Conversation

@Jonasmortensen

Copy link
Copy Markdown
Contributor

This line is also in the ShaderPass.template used by the other URP targets.

Without it, custom function nodes referencing a file cannot be used with the decal target.
The PR also fixes procedural shadergraph nodes (like simple noise) not compiling when used with the decal target. Reason being that the required include was not being included.

This is necasary for custom functions and some other nodes
@Jonasmortensen Jonasmortensen marked this pull request as ready for review November 8, 2021 12:18
@Jonasmortensen Jonasmortensen requested a review from a team as a code owner November 8, 2021 12:18
@Jonasmortensen Jonasmortensen requested a review from a team November 8, 2021 12:18
@github-actions

github-actions Bot commented Nov 8, 2021

Copy link
Copy Markdown

@Jonasmortensen Jonasmortensen changed the title Adds a line to the DecalPass.template that enables per node includes. Enables per node includes on the DecalPass.template Nov 8, 2021
@Jonasmortensen Jonasmortensen changed the base branch from master to universal/staging November 8, 2021 13:37
@Jonasmortensen Jonasmortensen requested review from a team as code owners November 8, 2021 13:37
@Jonasmortensen Jonasmortensen changed the base branch from universal/staging to master November 8, 2021 13:39
@Jonasmortensen Jonasmortensen removed request for a team November 8, 2021 13:39
@Jonasmortensen Jonasmortensen changed the base branch from master to universal/staging November 8, 2021 13:40
@Jonasmortensen Jonasmortensen changed the base branch from universal/staging to master November 8, 2021 13:41
@phi-lira phi-lira changed the base branch from master to universal/staging November 10, 2021 09:23
@phi-lira phi-lira merged commit 0344aee into universal/staging Nov 10, 2021
@phi-lira phi-lira deleted the universal/bugfix/missing-includes-in-decal-target branch November 10, 2021 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants