浏览代码

Fix issue with Cookie

/main
sebastienlagarde 7 年前
当前提交
f358e105
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 8
      ScriptableRenderPipeline/HDRenderPipeline/Lighting/Editor/HDLightEditor.cs

8
ScriptableRenderPipeline/HDRenderPipeline/Lighting/Editor/HDLightEditor.cs


EditorGUILayout.PropertyField(m_BounceIntensity);
EditorGUILayout.PropertyField(m_Range);
EditorGUILayout.PropertyField(m_Lightmapping);
EditorGUILayout.PropertyField(m_Cookie);
if (m_Cookie.objectReferenceValue != null && m_Type.enumValueIndex == 1)
// no cookie with area light (maybe in future textured area light ?)
if (!(m_LightShape == LightShape.Rectangle) && !(m_LightShape == LightShape.Line))
EditorGUILayout.PropertyField(m_CookieSize);
m_ShapeLength.floatValue = m_CookieSize.floatValue;
m_ShapeWidth.floatValue = m_CookieSize.floatValue;
EditorGUILayout.PropertyField(m_Cookie);
}
}

正在加载...
取消
保存