|
R2 Shaders
|
Vectors used when calculating projective lighting. More...
#include <R2LightProjective.h>

Data Fields | |
| R2_light_positional_vectors_t | positional |
| The vectors for positional lighting. | |
| vec4 | surface_light_eye |
| The surface position in light-eye-space. | |
| vec4 | surface_light_clip |
| The surface position in light-clip-space. | |
| vec3 | surface_light_ndc |
| The surface position as NDC coordinates from the perspective of the light. | |
| vec2 | surface_light_uv |
| The surface position as UV coordinates from the perspective of the light. | |
| float | back_projected |
| A value that indicates whether or not the light fragment is back projected (0.0 means back projected, 1.0 means not) | |
Vectors used when calculating projective lighting.
Definition at line 11 of file R2LightProjective.h.
1.8.12