From 2f8b9552ad99c525f02f3c48c4e451fa6d5d44e8 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 17 Nov 2024 01:54:27 -0800 Subject: Add brightness clamping to fog Use a nice "almost identity" function to create a smooth transition to the clamped value. --- oklab.cginc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oklab.cginc') diff --git a/oklab.cginc b/oklab.cginc index 337eb94..004dbc4 100644 --- a/oklab.cginc +++ b/oklab.cginc @@ -29,7 +29,7 @@ #ifndef __OKLAB_INC #define __OKLAB_INC -#if defined(_OKLAB) || defined(_GIMMICK_LETTER_GRID_COLOR_WAVE) || defined(_GIMMICK_AL_CHROMA_00_HUE_SHIFT) || defined(_GIMMICK_FOG_00_RAY_MARCH_0) +#if defined(_OKLAB) || defined(_GIMMICK_LETTER_GRID_COLOR_WAVE) || defined(_GIMMICK_AL_CHROMA_00_HUE_SHIFT) || defined(_GIMMICK_FOG_00) // Utilities relating to the OKLAB color space, as defined here: // https://bottosson.github.io/posts/oklab/ -- cgit v1.2.3