SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::RenderEngine::ShadowLightUBO Struct Reference

Shadow-pass UBO: light/shadow parameters, fog, and extra fill lights (set 2, binding 0). More...

#include <ConstantBuffer.hpp>

Public Attributes

float _extraPad [3]
float _fogPad [2]
float Ambient [4]
float CameraPos [4]
float ExtraLightColor [3][4]
float ExtraLightDir [3][4]
float FogColor [4]
float FogColorZenith [4]
float FogEnd
float FogStart
float HeightFogDensity
float HeightFogEnabled
float HeightFogFalloff
float HeightFogTop
float LightColor [4]
float LightDir [4]
float LightSize
float LightVP [16]
float NdcToShadow [16]
uint32_t NumExtraLights
float ShadowBias
float ShadowStrength
float ShadowTexelSize

Detailed Description

Shadow-pass UBO: light/shadow parameters, fog, and extra fill lights (set 2, binding 0).

Definition at line 177 of file ConstantBuffer.hpp.

Member Data Documentation

◆ _extraPad

float Sleak::RenderEngine::ShadowLightUBO::_extraPad[3]

Definition at line 201 of file ConstantBuffer.hpp.

◆ _fogPad

float Sleak::RenderEngine::ShadowLightUBO::_fogPad[2]

Definition at line 190 of file ConstantBuffer.hpp.

◆ Ambient

float Sleak::RenderEngine::ShadowLightUBO::Ambient[4]

Definition at line 180 of file ConstantBuffer.hpp.

◆ CameraPos

float Sleak::RenderEngine::ShadowLightUBO::CameraPos[4]

Definition at line 181 of file ConstantBuffer.hpp.

◆ ExtraLightColor

float Sleak::RenderEngine::ShadowLightUBO::ExtraLightColor[3][4]

Definition at line 199 of file ConstantBuffer.hpp.

◆ ExtraLightDir

float Sleak::RenderEngine::ShadowLightUBO::ExtraLightDir[3][4]

Definition at line 198 of file ConstantBuffer.hpp.

◆ FogColor

float Sleak::RenderEngine::ShadowLightUBO::FogColor[4]

Definition at line 187 of file ConstantBuffer.hpp.

◆ FogColorZenith

float Sleak::RenderEngine::ShadowLightUBO::FogColorZenith[4]

Definition at line 191 of file ConstantBuffer.hpp.

◆ FogEnd

float Sleak::RenderEngine::ShadowLightUBO::FogEnd

Definition at line 189 of file ConstantBuffer.hpp.

◆ FogStart

float Sleak::RenderEngine::ShadowLightUBO::FogStart

Definition at line 188 of file ConstantBuffer.hpp.

◆ HeightFogDensity

float Sleak::RenderEngine::ShadowLightUBO::HeightFogDensity

Definition at line 193 of file ConstantBuffer.hpp.

◆ HeightFogEnabled

float Sleak::RenderEngine::ShadowLightUBO::HeightFogEnabled

Definition at line 195 of file ConstantBuffer.hpp.

◆ HeightFogFalloff

float Sleak::RenderEngine::ShadowLightUBO::HeightFogFalloff

Definition at line 194 of file ConstantBuffer.hpp.

◆ HeightFogTop

float Sleak::RenderEngine::ShadowLightUBO::HeightFogTop

Definition at line 192 of file ConstantBuffer.hpp.

◆ LightColor

float Sleak::RenderEngine::ShadowLightUBO::LightColor[4]

Definition at line 179 of file ConstantBuffer.hpp.

◆ LightDir

float Sleak::RenderEngine::ShadowLightUBO::LightDir[4]

Definition at line 178 of file ConstantBuffer.hpp.

◆ LightSize

float Sleak::RenderEngine::ShadowLightUBO::LightSize

Definition at line 186 of file ConstantBuffer.hpp.

◆ LightVP

float Sleak::RenderEngine::ShadowLightUBO::LightVP[16]

Definition at line 182 of file ConstantBuffer.hpp.

◆ NdcToShadow

float Sleak::RenderEngine::ShadowLightUBO::NdcToShadow[16]

Definition at line 206 of file ConstantBuffer.hpp.

◆ NumExtraLights

uint32_t Sleak::RenderEngine::ShadowLightUBO::NumExtraLights

Definition at line 200 of file ConstantBuffer.hpp.

◆ ShadowBias

float Sleak::RenderEngine::ShadowLightUBO::ShadowBias

Definition at line 183 of file ConstantBuffer.hpp.

◆ ShadowStrength

float Sleak::RenderEngine::ShadowLightUBO::ShadowStrength

Definition at line 184 of file ConstantBuffer.hpp.

◆ ShadowTexelSize

float Sleak::RenderEngine::ShadowLightUBO::ShadowTexelSize

Definition at line 185 of file ConstantBuffer.hpp.