Skip to content

raisin::ReflectionProbeCaptureSettings ​

struct · #include <rayrai/ReflectionProbe.hpp>

Explicit static reflection-probe capture settings.

Probe capture is never automatic. Applications call captureReflectionProbeCubemap() when they want a bounded real-time local reflection approximation. Custom visuals, instanced visuals, and point clouds are captured only when their draw toggles are enabled and they are marked detectable.

Public attributes ​

resolution ​

cpp
int resolution

Cubemap face size in texels, clamped to [16, 512]. Faces are RGBA8 without post-processing.

drawVisualizationObjects ​

cpp
bool drawVisualizationObjects

Draw custom visuals and instanced visuals that are marked detectable.

drawCoordinateFrames ​

cpp
bool drawCoordinateFrames

Draw coordinate-frame gizmos into the probe.

drawPointClouds ​

cpp
bool drawPointClouds

Draw point clouds that are marked detectable.

doShadows ​

cpp
bool doShadows

Run shadow passes for the capture.

includeEnvironmentBackground ​

cpp
bool includeEnvironmentBackground

Render environmentBackgroundMap behind the scene.

environmentBackgroundMap ​

cpp
unsigned int environmentBackgroundMap

GL cubemap used when includeEnvironmentBackground is true.

environmentBackgroundExposure ​

cpp
float environmentBackgroundExposure

Exposure multiplier for environmentBackgroundMap.

RaiSim — physics for robotics and AI.