Skip to content

raisin::PbrEnvironment::LoadOptions ​

struct · #include <rayrai/PbrEnvironment.hpp>

Options accepted by loadFromHdrFile(). Face sizes are cubemap edge lengths in texels.

Public attributes ​

environmentFaceSize ​

cpp
int environmentFaceSize

Face size of environmentCubemap.

irradianceFaceSize ​

cpp
int irradianceFaceSize

Face size of irradianceCubemap.

irradianceSampleCount ​

cpp
int irradianceSampleCount

Hemisphere samples per irradiance texel.

prefilteredFaceSize ​

cpp
int prefilteredFaceSize

Mip-0 face size of prefilteredCubemap.

prefilteredMipLevels ​

cpp
int prefilteredMipLevels

Roughness mip levels; copied to prefilteredMipCount.

prefilteredSampleCount ​

cpp
int prefilteredSampleCount

GGX importance samples per prefiltered texel.

brdfLutSize ​

cpp
int brdfLutSize

Edge length of the square split-sum BRDF LUT.

brdfLutSampleCount ​

cpp
int brdfLutSampleCount

Samples per BRDF LUT texel.

strength ​

cpp
float strength

Copied to PbrEnvironment::strength.

generateEnvironmentMipmaps ​

cpp
bool generateEnvironmentMipmaps

Build a mip chain for environmentCubemap.

RaiSim — physics for robotics and AI.