浏览代码

Moved range parmeter to light shape and removed it for directional

/feature-ReflectionProbeFit
Thomas 7 年前
当前提交
3dfce8fe
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/Editor/Lighting/HDLightEditor.cs

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


{
m_LightShape = (LightShape)EditorGUILayout.Popup(s_Styles.shape, (int)m_LightShape, s_Styles.shapeNames);
if (m_LightShape != LightShape.Directional)
settings.DrawRange(false);
// LightShape is HD specific, it need to drive LightType from the original LightType
// when it make sense, so the GI is still in sync with the light shape
switch (m_LightShape)

settings.DrawColor();
settings.DrawIntensity();
settings.DrawBounceIntensity();
settings.DrawRange(false);
settings.DrawLightmapping();
// No cookie with area light (maybe in future textured area light ?)

正在加载...
取消
保存