3#include <RendererCore/Lights/LightComponent.h>
4#include <RendererCore/Textures/Texture2DResource.h>
29 virtual void SerializeComponent(
plWorldWriter& inout_stream)
const override;
30 virtual void DeserializeComponent(
plWorldReader& inout_stream)
override;
46 void SetNumCascades(plUInt32 uiNumCascades);
47 plUInt32 GetNumCascades()
const;
50 void SetMinShadowRange(
float fMinShadowRange);
51 float GetMinShadowRange()
const;
54 void SetFadeOutStart(
float fFadeOutStart);
55 float GetFadeOutStart()
const;
58 void SetSplitModeWeight(
float fSplitModeWeight);
59 float GetSplitModeWeight()
const;
62 void SetNearPlaneOffset(
float fNearPlaneOffset);
63 float GetNearPlaneOffset()
const;
68 plUInt32 m_uiNumCascades = 3;
69 float m_fMinShadowRange = 50.0f;
70 float m_fFadeOutStart = 0.8f;
71 float m_fSplitModeWeight = 0.7f;
72 float m_fNearPlaneOffset = 100.0f;
Definition ComponentManager.h:88
A directional lightsource shines light into one fixed direction and has infinite size....
Definition DirectionalLightComponent.h:22
The render data object for directional lights.
Definition DirectionalLightComponent.h:10
Base class for dynamic light components.
Definition LightComponent.h:26
Base class for light render data objects.
Definition LightComponent.h:10
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13
Definition UpdateLocalBoundsMessage.h:9
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54