Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Rendering::GpuBuffers::SHProbeData Struct Reference

Spherical harmonics probe data for dynamic lighting. More...

#include <RenderData.h>

Public Attributes

glm::vec4 coefficients [9]
 L0-L2 RGB coefficients.
float scale
 Probe lighting multiplier.
float ambientTerm
 Ambient term mixed into probe lighting.
float _padding0 = 1.0f
 Global SH influence stored on fallback probe at index 0.
uint32_t _padding1 = 0u
 Padding required by the shader layout.

Detailed Description

Spherical harmonics probe data for dynamic lighting.

Layout matches GLSL std430 and is 160 bytes. Probe index 0 is the fallback probe.

Definition at line 429 of file RenderData.h.

Member Data Documentation

◆ _padding0

float Engine::Rendering::GpuBuffers::SHProbeData::_padding0 = 1.0f

Global SH influence stored on fallback probe at index 0.

Definition at line 434 of file RenderData.h.

◆ _padding1

uint32_t Engine::Rendering::GpuBuffers::SHProbeData::_padding1 = 0u

Padding required by the shader layout.

Definition at line 435 of file RenderData.h.

◆ ambientTerm

float Engine::Rendering::GpuBuffers::SHProbeData::ambientTerm

Ambient term mixed into probe lighting.

Definition at line 433 of file RenderData.h.

◆ coefficients

glm::vec4 Engine::Rendering::GpuBuffers::SHProbeData::coefficients[9]

L0-L2 RGB coefficients.

Definition at line 431 of file RenderData.h.

◆ scale

float Engine::Rendering::GpuBuffers::SHProbeData::scale

Probe lighting multiplier.

Definition at line 432 of file RenderData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Renderer/RenderData.h