浏览代码

HDRenderPipeline: Fix issue with influence Mask not setup to the correct value

/Yibing-Project-2
sebastienlagarde 7 年前
当前提交
e2c140f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitData.hlsl

2
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitData.hlsl


#ifdef _INFLUENCEMASK_MAP
float influenceMask = GetInfluenceMask(layerTexCoord);
#else
float influenceMask = 0.0;
float influenceMask = 1.0;
#endif
if (influenceMask > 0.0f)

正在加载...
取消
保存