浏览代码

Fixed light index remapping.

/main
Aleksandr Kirillov 7 年前
当前提交
e03ac0c7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs

3
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipeline.cs


{
VisibleLight light = visibleLights[i];
if (light.lightType == LightType.Directional)
{
++directionalLightCount;
}
else
perObjectLightIndexMap[i] -= directionalLightCount;
}

正在加载...
取消
保存