9#include <unordered_map>
34 bool allCascadesRendering);
37 const std::unordered_map<
Camera*, std::vector<Light*>>& cameraDirShadowLights);
46 std::shared_ptr<GraphicsDevice> _device;
Perspective or orthographic camera with projection matrix, jitter (TAA), and render target binding.
Directional, point, spot, or area light with shadow mapping and cookie projection.
void cull(Light *light, Camera *camera)
void buildNonClusteredRenderPasses(FrameGraph *frameGraph, const std::unordered_map< Camera *, std::vector< Light * > > &cameraDirShadowLights)
ShadowRendererDirectional(const std::shared_ptr< GraphicsDevice > &device, Renderer *renderer, ShadowRenderer *shadowRenderer)
static void generateSplitDistances(Light *light, float nearDist, float farDist)
std::shared_ptr< RenderPass > getLightRenderPass(Light *light, Camera *camera, int face, bool clearRenderTarget, bool allCascadesRendering)