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

A differential directional light source. More...

#include <light.h>

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

Public Member Functions

gbufferrho ()
 Return RSM \( \rho \).
 
gbuffermu ()
 Return RSM \( \mu \).
 
- Public Member Functions inherited from dune::directional_light
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 differential directional light source.

A differential directional light source contains two RSMs \( \mu \) and \( \rho \):

Having these two RSMs, the differential indirect bounce can be extracted by subtracing \( \mu \) from \( \rho \). This class is used to intialize delta_light_propagation_volume objects or delta_sparse_voxel_octree objects.


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