summaryrefslogtreecommitdiffstats
path: root/Editor/tooner.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/tooner.cs')
-rw-r--r--Editor/tooner.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 2f87fb3..18aeaf7 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -2776,6 +2776,14 @@ public class ToonerGUI : ShaderGUI {
EditorGUI.indentLevel -= 1;
}
+ bc = FindProperty("_Aces_Filmic_Enable_Static");
+ enabled = bc.floatValue > 1E-6;
+ EditorGUI.BeginChangeCheck();
+ enabled = Toggle("Enable ACES filmic", enabled);
+ EditorGUI.EndChangeCheck();
+ bc.floatValue = enabled ? 1.0f : 0.0f;
+ SetKeyword("_ACES_FILMIC", enabled);
+
EditorGUI.BeginChangeCheck();
editor.LightmapEmissionProperty();
if (EditorGUI.EndChangeCheck()) {