File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ static public PassDescriptor GenerateShadowCaster(bool supportLighting)
170170 BlockFields . SurfaceDescription . AlphaClipThreshold ,
171171 HDBlockFields . SurfaceDescription . AlphaClipThresholdShadow ,
172172 HDBlockFields . SurfaceDescription . DepthOffset ,
173+ HDBlockFields . SurfaceDescription . DiffusionProfileHash // not used, but keeps the UnityPerMaterial cbuffer identical
173174 } ,
174175
175176 // Collections
@@ -547,13 +548,15 @@ public static PassDescriptor GenerateTransparentDepthPrepass(bool supportLightin
547548 BlockFields . SurfaceDescription . NormalWS ,
548549 BlockFields . SurfaceDescription . NormalOS ,
549550 BlockFields . SurfaceDescription . Smoothness ,
551+ HDBlockFields . SurfaceDescription . DiffusionProfileHash // not used, but keeps the UnityPerMaterial cbuffer identical
550552 } :
551553 new BlockFieldDescriptor [ ]
552554 {
553555 BlockFields . SurfaceDescription . Alpha ,
554556 HDBlockFields . SurfaceDescription . AlphaClipThresholdDepthPrepass ,
555557 BlockFields . SurfaceDescription . AlphaClipThreshold ,
556558 HDBlockFields . SurfaceDescription . DepthOffset ,
559+ HDBlockFields . SurfaceDescription . DiffusionProfileHash // not used, but keeps the UnityPerMaterial cbuffer identical
557560 } ,
558561
559562 // Collections
You can’t perform that action at this time.
0 commit comments