|
|
|
|
|
|
EditorGUILayout.Space(); |
|
|
|
EditorGUILayout.LabelField(styles.renderingSettingsLabel); |
|
|
|
EditorGUI.indentLevel++; |
|
|
|
EditorGUI.BeginChangeCheck(); |
|
|
|
|
|
|
|
|
|
|
|
if (EditorGUI.EndChangeCheck()) |
|
|
|
{ |
|
|
|
if (m_RenderingUseForwardOnly.boolValue && !m_RenderingUseDepthPrepass.boolValue) |
|
|
|
{ |
|
|
|
// Force depth prepass for forward-only rendering (for FPTL, etc).
|
|
|
|
m_RenderingUseDepthPrepass.boolValue = true; |
|
|
|
HackSetDirty(renderContext); // Repaint
|
|
|
|
} |
|
|
|
} |
|
|
|
EditorGUI.indentLevel--; |
|
|
|
} |
|
|
|
|
|
|
|