raisin::WeatherSkyEnvironment
struct · #include <rayrai/Weather.hpp>
Sky cubemaps baked from the current weather (RayraiWindow::generateWeatherSkyEnvironment()).
The textures are owned by the window and deleted on the next generation, on clearWeatherSkyEnvironment() and whenever setWeatherSettings() is called.
Public attributes
environmentMap
cpp
unsigned int environmentMapFloat radiance cubemap of the weather sky.
irradianceMap
cpp
unsigned int irradianceMapFloat diffuse irradiance cubemap; 0 when not requested.
environmentFaceSize
cpp
int environmentFaceSizeRadiance face size, texels, [16, 2048].
irradianceFaceSize
cpp
int irradianceFaceSizeIrradiance face size, texels, [0, 256].
generationCount
cpp
uint64_t generationCountIncremented on each generation.
valid
cpp
bool validAll requested cubemaps were created.