Structures
Functions
fn
compute_radiances
(
input: LayerLightingInput
,
clusterable_object_index_ranges: ptr<function, ClusterableObjectIndexRanges>
,
,
found_diffuse_indirect: bool
)
->
EnvironmentMapRadiances
fn
compute_radiances
(
input: LayerLightingInput
,
clusterable_object_index_ranges: ptr<function, ClusterableObjectIndexRanges>
,
,
found_diffuse_indirect: bool
)
->
EnvironmentMapRadiances
We initially used this (https://bruop.github.io/ibl) reference with Roughness Dependent Fresnel, but it made fresnel very bright so we reverted to the “typical” fresnel term.
fn
environment_map_light
(
input: ptr<function, LightingInput>
,
clusterable_object_index_ranges: ptr<function, ClusterableObjectIndexRanges>
,
found_diffuse_indirect: bool
)
->
EnvironmentMapLight
parallax_correctis true if parallax correction is to be applied and false otherwise.