GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::LightProbeVolumeOptions3D Struct Reference

Configuration options for a light probe volume in a LightProbeVolumes3D set. More...

#include <GREM/graphics_3d/LightProbeVolumes3D.hpp>

Public Attributes

vec3 center
 Center position of the light probe volume in world space.
quat orientation {0.0f, 0.0f, 0.0f, 1.0f}
 Orientation of the light probe volume in world space.
vec3 probeSpacing
 Local spacing between the light probes.
u32vec3 probeCounts
 Number of light probes along each axis of the light probe volume.
uint32_t irradianceMapResolution = 8
 Width, in texels, of each light probe's irradiance map in the irradiance atlas, including a 1 pixel border of padding.
uint32_t distanceMapResolution = 16
 Width, in texels, of each light probe's distance map in the distance atlas, including a 1 pixel border of padding.

Detailed Description

Configuration options for a light probe volume in a LightProbeVolumes3D set.

Member Data Documentation

◆ center

vec3 grem::graphics::LightProbeVolumeOptions3D::center

Center position of the light probe volume in world space.

◆ orientation

quat grem::graphics::LightProbeVolumeOptions3D::orientation {0.0f, 0.0f, 0.0f, 1.0f}

Orientation of the light probe volume in world space.

◆ probeSpacing

vec3 grem::graphics::LightProbeVolumeOptions3D::probeSpacing

Local spacing between the light probes.

Each component must be positive.

◆ probeCounts

u32vec3 grem::graphics::LightProbeVolumeOptions3D::probeCounts

Number of light probes along each axis of the light probe volume.

Each count must be positive.

◆ irradianceMapResolution

uint32_t grem::graphics::LightProbeVolumeOptions3D::irradianceMapResolution = 8

Width, in texels, of each light probe's irradiance map in the irradiance atlas, including a 1 pixel border of padding.

Must be a power of 2. Must be greater than or equal to 4.

◆ distanceMapResolution

uint32_t grem::graphics::LightProbeVolumeOptions3D::distanceMapResolution = 16

Width, in texels, of each light probe's distance map in the distance atlas, including a 1 pixel border of padding.

Must be a power of 2. Must be greater than or equal to 4.


The documentation for this struct was generated from the following file: