diff options
| author | yum <yum.food.vr@gmail.com> | 2024-11-17 01:54:27 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-11-17 01:54:27 -0800 |
| commit | 2f8b9552ad99c525f02f3c48c4e451fa6d5d44e8 (patch) | |
| tree | 82517f04b40ca6ce96d7bf761106dea3480d940f /oklab.cginc | |
| parent | c9a49e8def64702966afe901624ca85a48bac2f1 (diff) | |
Add brightness clamping to fog
Use a nice "almost identity" function to create a smooth transition to
the clamped value.
Diffstat (limited to 'oklab.cginc')
| -rw-r--r-- | oklab.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
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/ |
