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

Struct of shader fields representing a light probe volume. More...

#include <GREM/graphics_3d/LightProbeVolumes3D.hpp>

Public Attributes

vec3 lightProbeVolumeCenter
 Center position of the light probe volume in world space.
vec4 lightProbeVolumeOrientation
 Components of the quaternion representing the orientation of the light probe volume in world space.
vec3 lightProbeVolumeProbeSpacing
 Local spacing between the light probes.
vec3 lightProbeVolumeProbeCounts
 Number of probes along each coordinate axis in the light probe volume.
vec3 lightProbeVolumeIrradianceAtlasOffset
 Texture coordinate offset of the light probe volume in the atlas of irradiance values.
vec3 lightProbeVolumeDistanceAtlasOffset
 Texture coordinate offset of the light probe volume in the atlas of distance values.
vec2 lightProbeVolumeIrradianceAtlasPaddedProbeSizeAndTexelSize
 Padded size of the probes in the irradiance map atlas (X), and the size of the texels (Y) in texture coordinates.
vec2 lightProbeVolumeDistanceAtlasPaddedProbeSizeAndTexelSize
 Padded size of the probes in the distance map atlas (X), and the size of the texels (Y) in texture coordinates.

Detailed Description

Struct of shader fields representing a light probe volume.

Member Data Documentation

◆ lightProbeVolumeCenter

vec3 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeCenter

Center position of the light probe volume in world space.

◆ lightProbeVolumeOrientation

vec4 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeOrientation

Components of the quaternion representing the orientation of the light probe volume in world space.

◆ lightProbeVolumeProbeSpacing

vec3 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeProbeSpacing

Local spacing between the light probes.

◆ lightProbeVolumeProbeCounts

vec3 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeProbeCounts

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

◆ lightProbeVolumeIrradianceAtlasOffset

vec3 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeIrradianceAtlasOffset

Texture coordinate offset of the light probe volume in the atlas of irradiance values.

◆ lightProbeVolumeDistanceAtlasOffset

vec3 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeDistanceAtlasOffset

Texture coordinate offset of the light probe volume in the atlas of distance values.

◆ lightProbeVolumeIrradianceAtlasPaddedProbeSizeAndTexelSize

vec2 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeIrradianceAtlasPaddedProbeSizeAndTexelSize

Padded size of the probes in the irradiance map atlas (X), and the size of the texels (Y) in texture coordinates.

◆ lightProbeVolumeDistanceAtlasPaddedProbeSizeAndTexelSize

vec2 grem::graphics::LightProbeVolumes3D::VolumeFields::lightProbeVolumeDistanceAtlasPaddedProbeSizeAndTexelSize

Padded size of the probes in the distance map atlas (X), and the size of the texels (Y) in texture coordinates.


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