Skip to content

raisin::ReflectionProbeFilterSettings ​

struct · #include <rayrai/ReflectionProbe.hpp>

Explicit CPU filtering settings for captured local reflection probes.

Filtering is a load-time/manual operation run by captureFilteredReflectionProbe(). When no filter settings are passed, they are derived from the RenderQualitySettings::reflectionProbe* fields, which only the High and Ultra presets enable; otherwise every size is 0 and only the raw cubemap is captured. A zero resolution or sample count skips that output.

Public attributes ​

irradianceResolution ​

cpp
int irradianceResolution

Diffuse irradiance cubemap face size, [0, 128]; 0 skips it.

irradianceSamples ​

cpp
int irradianceSamples

Cosine-weighted samples per irradiance texel.

prefilteredResolution ​

cpp
int prefilteredResolution

GGX-prefiltered specular cubemap mip-0 face size, [0, 512]; 0 skips it.

prefilteredMipLevels ​

cpp
int prefilteredMipLevels

Roughness mip levels, clamped to the levels the resolution allows.

prefilteredSamples ​

cpp
int prefilteredSamples

GGX importance samples per prefiltered texel.

brdfLutSize ​

cpp
int brdfLutSize

Split-sum BRDF LUT edge length, clamped to [16, 512]; 0 skips it.

brdfLutSamples ​

cpp
int brdfLutSamples

Samples per BRDF LUT texel.

RaiSim — physics for robotics and AI.