-
Notifications
You must be signed in to change notification settings - Fork 855
Reorganize HDRP shader targets to share code between them (part 1) #626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize HDRP shader targets to share code between them (part 1) #626
Conversation
…D blocks # Conflicts: # TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9701_CustomPass_DrawRenderers/9701_UnlitRT.mat
…DRP/stack-targets-refactor
# Conflicts: # com.unity.render-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/Material/Fabric/ShaderGraph/FabricSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/Material/Hair/ShaderGraph/HairSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/Material/Lit/ShaderGraph/HDLitSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/Material/Unlit/ShaderGraph/HDUnlitSubTarget.cs # com.unity.render-pipelines.high-definition/Editor/ShaderGraph/TargetData/LightingData.cs
update: #604 has been merged to master stacks branch |
...nder-pipelines.high-definition/Editor/Material/Decal/ShaderGraph/DecalSubTarget.Migration.cs
Show resolved
Hide resolved
...-pipelines.high-definition/Editor/Material/Eye/ShaderGraph/EyeSubrafceOptionPropertyBlock.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for yamato fix - but overall code looks good
Shader error in 'BentNormals/BentNorm': invalid subscript 'BentNormal' at line 1007 (on d3d11)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than file name typo looks good to me
Purpose of this PR
HDRP sub-targets are now organized like this:

This part one refactors the way field, blocks and inspector settings of the HDRP targets are in the code to share the maximum of things between our different targets.