
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
31 lines
687 B
C#
31 lines
687 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEditor.Graphing;
|
|
|
|
namespace UnityEditor.ShaderGraph.Legacy
|
|
{
|
|
[FormerName("UnityEditor.ShaderGraph.UnlitMasterNode")]
|
|
class UnlitMasterNode1 : AbstractMaterialNode, IMasterNode1
|
|
{
|
|
public enum SurfaceType
|
|
{
|
|
Opaque,
|
|
Transparent
|
|
}
|
|
|
|
public enum AlphaMode
|
|
{
|
|
Alpha,
|
|
Premultiply,
|
|
Additive,
|
|
Multiply
|
|
}
|
|
|
|
public SurfaceType m_SurfaceType;
|
|
public AlphaMode m_AlphaMode;
|
|
public bool m_TwoSided;
|
|
public string m_ShaderGUIOverride;
|
|
public bool m_OverrideEnabled;
|
|
}
|
|
}
|