|
|
|
|
|
|
public static string[] shadowTypeOptions = {"No Shadows", "Hard Shadows", "Hard and Soft Shadows"}; |
|
|
|
public static string[] shadowCascadeOptions = {"No Cascades", "Two Cascades", "Four Cascades"}; |
|
|
|
|
|
|
|
//TLS
|
|
|
|
public static GUIContent debugViewMode = new GUIContent("Debug View Mode"); |
|
|
|
} |
|
|
|
|
|
|
|
AnimBool m_ShowSoftParticles = new AnimBool(); |
|
|
|
|
|
|
private SerializedProperty m_ShadowCascade2SplitProp; |
|
|
|
private SerializedProperty m_ShadowCascade4SplitProp; |
|
|
|
private SerializedProperty m_DiffusionProfileSettingsProp; |
|
|
|
private SerializedProperty m_DebugViewModeProp; |
|
|
|
|
|
|
|
private SerializedProperty m_HDR; |
|
|
|
private SerializedProperty m_MSAA; |
|
|
|
|
|
|
m_ShadowCascade2SplitProp = serializedObject.FindProperty("m_Cascade2Split"); |
|
|
|
m_ShadowCascade4SplitProp = serializedObject.FindProperty("m_Cascade4Split"); |
|
|
|
m_DiffusionProfileSettingsProp = serializedObject.FindProperty("m_DiffusionProfileSettings"); |
|
|
|
m_DebugViewModeProp = serializedObject.FindProperty("m_DebugViewMode"); |
|
|
|
|
|
|
|
m_HDR = serializedObject.FindProperty("m_SupportsHDR"); |
|
|
|
m_MSAA = serializedObject.FindProperty("m_MSAA"); |
|
|
|
|
|
|
EditorGUILayout.PropertyField(m_HDR, Styles.hdrContent); |
|
|
|
EditorGUILayout.PropertyField(m_MSAA, Styles.msaaContent); |
|
|
|
EditorGUILayout.PropertyField(m_DiffusionProfileSettingsProp, Styles.diffusionProfileSettings); |
|
|
|
EditorGUILayout.PropertyField(m_DebugViewModeProp, Styles.debugViewMode); |
|
|
|
|
|
|
|
EditorGUI.indentLevel--; |
|
|
|
EditorGUILayout.Space(); |
|
|
|