13#include "gpu_shader_codegen_lib.glsl"
41 float perceptual_roughness)
const
44 perceptual_roughness =
min(0.6f, perceptual_roughness);
75 return mix(radiance_cube, radiance_sh, fac);
LightProbeRay bxdf_lightprobe_ray(ClosureUndetermined cl, float3, float3 V, Thickness thickness)
float3 subsurface_transmission(const UtilityTexture &util, float3 sss_radii, float thickness)
float roughness_to_lod(float roughness)
float roughness_to_mix_fac(float roughness)
float interleaved_gradient(float2 pixel, float seed, float offset)
float perceptual_roughness
packed_float3 dominant_direction
T evaluate_lambert(float3 N) const
SphericalHarmonicL1< float4 > volume_irradiance
float3 eval_direction(LightProbeSample samp, float3 P, float3 L, float perceptual_roughness) const
LightprobeVolumeRenderData volumes
LightprobeSphereRenderData spheres
float3 eval(LightProbeSample samp, ClosureUndetermined cl, float3 P, float3 V, Thickness thickness) const
float3 eval(const UtilityTexture &util_tx, LightProbeSample samp, ClosureSubsurface cl, float3, float3, Thickness thickness) const
LightProbeSample load(float2 screen_texel, float3 P, float3 Ng, float3 V) const
float3 spherical_sample_normalized_with_parallax(LightProbeSample samp, float3 P, float3 L, float lod) const
int select_probe(float3 P, float random_probe) const
SphericalHarmonicL1< float4 > sample_probe(const Sampling &sampling, float3 P, float3 V, float3 Ng) const
float rng_1D_get(const eSamplingDimension dim) const
CCL_NAMESPACE_BEGIN struct Window V