39 lines
859 B
C#
39 lines
859 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEditor.Graphing;
|
||
|
|
||
|
namespace UnityEditor.ShaderGraph.Legacy
|
||
|
{
|
||
|
[FormerName("UnityEditor.ShaderGraph.PBRMasterNode")]
|
||
|
class PBRMasterNode1 : AbstractMaterialNode, IMasterNode1
|
||
|
{
|
||
|
public enum SurfaceType
|
||
|
{
|
||
|
Opaque,
|
||
|
Transparent
|
||
|
}
|
||
|
|
||
|
public enum AlphaMode
|
||
|
{
|
||
|
Alpha,
|
||
|
Premultiply,
|
||
|
Additive,
|
||
|
Multiply
|
||
|
}
|
||
|
|
||
|
public enum Model
|
||
|
{
|
||
|
Specular,
|
||
|
Metallic
|
||
|
}
|
||
|
|
||
|
public Model m_Model;
|
||
|
public SurfaceType m_SurfaceType;
|
||
|
public AlphaMode m_AlphaMode;
|
||
|
public bool m_TwoSided;
|
||
|
public NormalDropOffSpace m_NormalDropOffSpace;
|
||
|
public string m_ShaderGUIOverride;
|
||
|
public bool m_OverrideEnabled;
|
||
|
}
|
||
|
}
|