Open 3D Engine Atom Gem API Reference 24.09.2
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::LightConfig Struct Referencefinal

LightConfig describes a directional light that can be added to a LightingPreset. More...

#include <LightingPreset.h>

Public Member Functions

 AZ_TYPE_INFO (AZ::Render::LightConfig, "{02644F52-9483-47A8-9028-37671695C34E}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Vector3 m_direction = AZ::Vector3(1.0f / 3.0f, 1.0f / 3.0f, -1.0f / 3.0f)
 
AZ::Color m_color = AZ::Color::CreateOne()
 
float m_intensity = 1.0f
 
uint16_t m_shadowCascadeCount = 4
 
float m_shadowRatioLogarithmUniform = 1.0f
 
float m_shadowFarClipDistance = 20.0f
 
ShadowmapSize m_shadowmapSize = ShadowmapSize::Size2048
 
bool m_enableShadowDebugColoring = false
 

Detailed Description

LightConfig describes a directional light that can be added to a LightingPreset.


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