Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Attributes | List of all members
ForwardLight::GPULight Struct Reference

Represent a light on the GPU for the forward renderer. More...

#include <ForwardLight.hpp>

Public Attributes

glm::mat4 viewToLight
 View to light matrix.
 
glm::vec4 colorAndBias
 Light tint and shadow bias.
 
glm::vec4 positionAndRadius
 Light position and effect radius.
 
glm::vec4 directionAndPlane
 Light direction and far plane distance.
 
glm::vec4 typeModeLayer
 Light type, shadow mode and shadow map layer.
 
glm::vec4 angles
 Cone inner and outer angles.
 

Detailed Description

Represent a light on the GPU for the forward renderer.


The documentation for this struct was generated from the following file: