Capítulo 557 de 859

Chapter 557: ImportanceSampledEnvironment

Core Idea

Manages a preprocessed HDR environment map (CDF textures, uniforms) and exposes TSL helpers for BRDF-direction lookups and MIS importance sampling.

Reference Tables

Constructor

Signature
new ImportanceSampledEnvironment( importanceSampling : boolean )

Methods

MethodDescription
.sampleEnvironmentBRDF( params : Object ) : Node.<vec3>Environment reflection for a screen-space miss using only the BRDF / reflected-ray direction.
.sampleEnvironmentMIS( params : Object ) : Node.<vec3>Environment reflection for a screen-space miss, estimated with multiple importance sampling (MIS) between the BRDF / reflected-ray direction and the env-luminance CDF direction. Both techniques use c…
.sampleReflect( params : Object ) : Node.<vec3>Simple environment lookup along the reflected direction (no MIS).
.updateFrom( hdr : Texture )hdr

Key Takeaways

  1. Key methods: sampleEnvironmentBRDF, sampleEnvironmentMIS, sampleReflect, updateFrom.

Connects To