Skip to content

Documentation / scene / SKIN_SSS_LDR_ENCODE_RANGE

Variable: SKIN_SSS_LDR_ENCODE_RANGE

const SKIN_SSS_LDR_ENCODE_RANGE: 4 = 4

Defined in: libs/scene/src/material/skin.ts:18

HDR range packed into the SkinSSS side buffer when the render graph falls back to an 8-bit format. The material divides the scatter irradiance by this factor on write and SkinSSS multiplies it back after the blur.

Released under the MIT License.