Nebula
|
#include "lighting/csmutil.h"
#include "graphics/camerasettings.h"
#include "graphics/cameracontext.h"
#include "lighting/lightcontext.h"
Namespaces | |
namespace | Lighting |
The lighting subsystem allows for attaching light source functionality to a GraphicsEntityId. | |
Functions | |
void | Lighting::ComputeFrustumPoints (float cascadeBegin, float cascadeEnd, const float aspect, const float fov, Math::vec4 *frustumCorners) |
Compute frustum points using computed frustum and cascade intervals, basically stolen from Math::frustum. | |
void | Lighting::ComputeAABB (vec4 *lightAABBPoints, const vec4 &sceneCenter, const vec4 &sceneExtents) |
Variables | |
static const vec4 | halfVector = vec4( 0.5f ) |
static const vec4 | multiplyZWToZero = vec4( 1.0f, 1.0f, 0.0f, 0.0f ) |