Material3D extraBits entry: removes the view environment's specular reflection from the lit
colour, so a View3D rendered with it is the frame contract's sceneColor with
sceneColorSpecular: 'direct' (punctual lights keep their specular; the reflections pass adds the
environment's back, traced or from the probes). It recomputes iblBit's single-scatter term
(Karis split-sum: k_S * lut.x + f90 * lut.y times the prefiltered radiance, times occlusion) from
the same locals and subtracts it in the lighting bit's post-lighting slot. The multiple-scattering
compensation (FmsEms, lit by the irradiance) stays: it is energy the single-scatter lobe loses,
not a reflection of the scene.
Needs a view with an environment (that is what adds iblBit and its BRDF table). WebGPU only.
Material3D
extraBitsentry: removes the view environment's specular reflection from the lit colour, so a View3D rendered with it is the frame contract'ssceneColorwithsceneColorSpecular: 'direct'(punctual lights keep their specular; the reflections pass adds the environment's back, traced or from the probes). It recomputes iblBit's single-scatter term (Karis split-sum:k_S * lut.x + f90 * lut.ytimes the prefiltered radiance, times occlusion) from the same locals and subtracts it in the lighting bit's post-lighting slot. The multiple-scattering compensation (FmsEms, lit by the irradiance) stays: it is energy the single-scatter lobe loses, not a reflection of the scene.Needs a view with an
environment(that is what adds iblBit and its BRDF table). WebGPU only.