浏览代码

Restrict absorption distance to a positive value

/Yibing-Project-2
Frédéric Vauchelles 7 年前
当前提交
4fed7caf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Editor/LitUI.cs

1
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Editor/LitUI.cs


m_MaterialEditor.ShaderProperty(transmittanceColor, Styles.transmittanceColorText);
++EditorGUI.indentLevel;
m_MaterialEditor.ShaderProperty(atDistance, Styles.atDistanceText);
atDistance.floatValue = Mathf.Max(atDistance.floatValue, 0);
--EditorGUI.indentLevel;
--EditorGUI.indentLevel;

正在加载...
取消
保存