浏览代码

Fix Sampler State property

- Update to new shader library
/main
Matt Dean 7 年前
当前提交
e36e1fc8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/SamplerStateShaderProperty.cs

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Data/Graphs/SamplerStateShaderProperty.cs


public override string GetPropertyDeclarationString(string delimiter = ";")
{
return string.Format(@"SAMPLER2D({0}){1}", referenceName, delimiter);
return string.Format(@"SAMPLER({0}){1}", referenceName, delimiter);
}
public override PreviewProperty GetPreviewMaterialProperty()

正在加载...
取消
保存