浏览代码

Fix for contact shadows with volumetric lighting

/main
Antoine Lelievre 7 年前
当前提交
2d02821b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      com.unity.render-pipelines.high-definition/HDRP/Lighting/LightEvaluation.hlsl

4
com.unity.render-pipelines.high-definition/HDRP/Lighting/LightEvaluation.hlsl


attenuationNoContactShadow = attenuation * shadow;
#if (SHADERPASS != SHADERPASS_VOLUMETRIC_LIGHTING)
#endif
}
attenuation *= shadow;

attenuationNoContactShadows = shadow * attenuation;
#if (SHADERPASS != SHADERPASS_VOLUMETRIC_LIGHTING)
#endif
}
attenuation *= shadow;

正在加载...
取消
保存