浏览代码

Added fix to subtractive mode.

/main
Felipe Lira 7 年前
当前提交
0069001b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs

2
ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs


}
Light light = lightData.light;
if (light.bakingOutput.lightmapBakeType == LightmapBakeType.Mixed)
if (light.bakingOutput.mixedLightingMode == MixedLightingMode.Subtractive && light.bakingOutput.lightmapBakeType == LightmapBakeType.Mixed)
{
// TODO: Add support to shadow mask
if (m_MixedLightingSetup == MixedLightingSetup.None && lightData.light.shadows != LightShadows.None)

正在加载...
取消
保存