浏览代码

Include mapping change in InvTiling computatoin notification

/stochastic_alpha_test
Sebastien Lagarde 7 年前
当前提交
5d2a6fb3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Editor/LitUI.cs

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


}
EditorGUILayout.Space();
EditorGUI.BeginChangeCheck();
m_MaterialEditor.ShaderProperty(UVBase[layerIndex], Styles.UVBaseMappingText);
UVBaseMapping uvBaseMapping = (UVBaseMapping)UVBase[layerIndex].floatValue;

UVMappingMask[layerIndex].colorValue = new Color(X, Y, Z, W);
EditorGUI.BeginChangeCheck();
if ((uvBaseMapping == UVBaseMapping.Planar) || (uvBaseMapping == UVBaseMapping.Triplanar))
{
m_MaterialEditor.ShaderProperty(TexWorldScale[layerIndex], Styles.texWorldScaleText);

正在加载...
取消
保存