|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
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. | |
Configuration options for a light probe volume in a LightProbeVolumes3D set.
| vec3 grem::graphics::LightProbeVolumeOptions3D::center |
Center position of the light probe volume in world space.
| quat grem::graphics::LightProbeVolumeOptions3D::orientation {0.0f, 0.0f, 0.0f, 1.0f} |
Orientation of the light probe volume in world space.
| vec3 grem::graphics::LightProbeVolumeOptions3D::probeSpacing |
Local spacing between the light probes.
Each component must be positive.
| u32vec3 grem::graphics::LightProbeVolumeOptions3D::probeCounts |
Number of light probes along each axis of the light probe volume.
Each count must be positive.
| 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.
| 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.