summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-03-20 18:57:24 -0700
committeryum <yum.food.vr@gmail.com>2025-03-20 18:57:24 -0700
commitb377dd05175d5bffaeef9c55051cd396c127daef (patch)
treef868dbd0da08ac1d914e7d6c3fa8a7718bfc83af /globals.cginc
parentee3db7ea6f80e31e31958848b5138e2a5c848af5 (diff)
Add false color visualizer
Based on Sotalo's Furality talk - I wanted a way to visualize when my albedo is outside the recommended [0.025, 90]% brightness range. This feature does that. Dark is rendered red, bright is rendered blue.
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc5
1 files changed, 5 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 1e56785..899f67a 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -384,4 +384,9 @@ float _Harnack_Tracing_Gyroid_Speed;
float _Harnack_Tracing_Gyroid_Scale;
#endif // _HARNACK_TRACING_GYROID
+#if defined(_FALSE_COLOR_VISUALIZATION)
+float _False_Color_Visualization_Luminance;
+float _False_Color_Visualization_Luminance_Bounded;
+#endif // _FALSE_COLOR_VISUALIZATION
+
#endif // __GLOBALS_INC