Skip to content

raisin::RayraiWindow::ReflectionProbe ​

struct · #include <rayrai/RayraiWindow.hpp>

A captured local reflection probe (see captureFilteredReflectionProbe(), addReflectionProbe()).

Public attributes ​

position ​

cpp
glm::vec3 position

World-space capture position.

radius ​

cpp
float radius

Influence radius in metres; 0 means unbounded with weight strength / (1 + distance).

environmentMap ​

cpp
unsigned int environmentMap

Raw captured cubemap (GL id), or 0.

irradianceMap ​

cpp
unsigned int irradianceMap

Diffuse irradiance cubemap (GL id), or 0 when not filtered.

prefilteredEnvironmentMap ​

cpp
unsigned int prefilteredEnvironmentMap

GGX-prefiltered specular cubemap (GL id), or 0 when not filtered.

brdfLut ​

cpp
unsigned int brdfLut

Split-sum BRDF LUT (GL id), or 0 when not generated.

strength ​

cpp
float strength

Blend strength (>= 0).

boxProjection ​

cpp
bool boxProjection

Use box-projected parallax correction; distance is then measured to the box.

boxMin ​

cpp
glm::vec3 boxMin

World-space box-projection minimum corner.

boxMax ​

cpp
glm::vec3 boxMax

World-space box-projection maximum corner.

RaiSim — physics for robotics and AI.