Blender V5.3
eevee_colorspace_lib.bsl.hh File Reference

Go to the source code of this file.

Namespaces

namespace  colorspace

Functions

float4 colorspace::safe_color (float4 c)
float3 colorspace::safe_color (float3 c)
float3 colorspace::brightness_clamp_max (float3 color, float limit)
float4 colorspace::brightness_clamp_max (float4 color, float limit)
YCoCg
float3 colorspace::YCoCg_from_scene_linear (float3 rgb_color)
float4 colorspace::YCoCg_from_scene_linear (float4 rgba_color)
float3 colorspace::scene_linear_from_YCoCg (float3 ycocg_color)
float4 colorspace::scene_linear_from_YCoCg (float4 ycocg_color)
Logarithmic space

Used to crunch highlights and noise during denoising accumulations.

float3 colorspace::log_from_scene_linear (float3 color)
float4 colorspace::log_from_scene_linear (float4 color)
float3 colorspace::scene_linear_from_log (float3 color)
float4 colorspace::scene_linear_from_log (float4 color)