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 environmentFaceSizeFace size of environmentCubemap.
irradianceFaceSize
cpp
int irradianceFaceSizeFace size of irradianceCubemap.
irradianceSampleCount
cpp
int irradianceSampleCountHemisphere samples per irradiance texel.
prefilteredFaceSize
cpp
int prefilteredFaceSizeMip-0 face size of prefilteredCubemap.
prefilteredMipLevels
cpp
int prefilteredMipLevelsRoughness mip levels; copied to prefilteredMipCount.
prefilteredSampleCount
cpp
int prefilteredSampleCountGGX importance samples per prefiltered texel.
brdfLutSize
cpp
int brdfLutSizeEdge length of the square split-sum BRDF LUT.
brdfLutSampleCount
cpp
int brdfLutSampleCountSamples per BRDF LUT texel.
strength
cpp
float strengthCopied to PbrEnvironment::strength.
generateEnvironmentMipmaps
cpp
bool generateEnvironmentMipmapsBuild a mip chain for environmentCubemap.