The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
Public Member Functions | List of all members
dune::directional_light Class Reference

A simple directional light source with an RSM. More...

#include <light.h>

Inheritance diagram for dune::directional_light:
dune::differential_directional_light

Public Member Functions

void update (const DirectX::XMFLOAT4 &upt, const DirectX::XMMATRIX &light_proj)
 Update the view-projection matrix in the parameter cbuffer for shadowmap/RSM rendering.
 
cb_paramparameters ()
 Return local cbuffer parameters.
 
const cb_paramparameters () const
 Return local cbuffer parameters.
 

Detailed Description

A simple directional light source with an RSM.

This class is a wrapper for a directional light source rendering to a Reflective Shadow Map (RSM). It manages a constant buffer with information about the light source such as position or view projection matrix for rendering, as well as the gbuffer object to render the RSM to.


The documentation for this class was generated from the following files: