浏览代码

Fix a shader compile error

/stochastic_alpha_test
Evgenii Golubev 7 年前
当前提交
73b6f981
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/VertMesh.hlsl

2
ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/VertMesh.hlsl


vertexColor = input.color;
#endif
#ifdef _VERTEX_WIND
#if defined(_VERTEX_WIND) && (SHADERPASS != SHADERPASS_VELOCITY)
float3 rootWP = mul(GetObjectToWorldMatrix(), float4(0, 0, 0, 1)).xyz;
ApplyWind(positionWS, normalWS, rootWP, _Stiffness, _Drag, _ShiverDrag, _ShiverDirectionality, _InitialBend, input.color.a, _Time);
#endif

正在加载...
取消
保存