浏览代码

Removed obsolete comment

/Add-support-for-light-specular-color-tint
Felipe Lira 7 年前
当前提交
4ec26522
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs

1
ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs


int mainLightIndex = lightData.mainLightIndex;
// Currently only directional light cookie is supported
CoreUtils.SetKeyword(cmd, "_MAIN_LIGHT_COOKIE", mainLightIndex != -1 && LightweightUtils.IsSupportedCookieType(visibleLights[mainLightIndex].lightType) && visibleLights[mainLightIndex].light.cookie != null);
CoreUtils.SetKeyword(cmd, "_MAIN_DIRECTIONAL_LIGHT", mainLightIndex == -1 || visibleLights[mainLightIndex].lightType == LightType.Directional);
CoreUtils.SetKeyword(cmd, "_MAIN_SPOT_LIGHT", mainLightIndex != -1 && visibleLights[mainLightIndex].lightType == LightType.Spot);

正在加载...
取消
保存