8 #include "lightcomponent.h"
11 #include <orthocameracomponent.h>
12 #include <rendergnomoncomponent.h>
17 class DirectionalLightComponentInstance;
31 float mProjectionSize = 20.0f;
32 glm::vec2 mClippingPlanes = { 1.0f, 1000.0f };
33 uint mShadowMapSize = 1024;
70 std::unique_ptr<Entity> mShadowCamEntity =
nullptr;
71 std::unique_ptr<OrthoCameraComponent> mShadowCamComponent =
nullptr;
72 std::unique_ptr<RenderFrustumComponent> mShadowFrustrumComponent =
nullptr;
73 std::unique_ptr<TransformComponent> mShadowCamXformComponent =
nullptr;
74 std::unique_ptr<RenderGnomonComponent> mShadowOriginComponent =
nullptr;
75 std::unique_ptr<GnomonMesh> mGnomonMesh =
nullptr;
unsigned int uint
Definition: numeric.h:23
virtual ELightType getLightType() const override
Definition: directionallightcomponent.h:60
Definition: lightcomponent.h:211
Definition: lightcomponent.h:135
Definition: errorstate.h:19
EShadowMapType
Definition: lightcomponent.h:36
ComponentPtr< OrthoCameraComponent > mShadowCamera
Property: 'ShadowCamera' Camera that produces the depth texture for a directional light.
Definition: directionallightcomponent.h:30
Definition: directionallightcomponent.h:25
Definition: component.h:151
ELightType
Definition: lightcomponent.h:25
Definition: templateapp.h:17
Definition: directionallightcomponent.h:43
virtual EShadowMapType getShadowMapType() const override
Definition: directionallightcomponent.h:65
Definition: component.h:31
DirectionalLightComponentInstance(EntityInstance &entity, Component &resource)
Definition: directionallightcomponent.h:47