R2 Core Shaders

Data Fields
R2_light_projective_vectors_t Struct Reference

Vectors used when calculating projective lighting. More...

`#include <R2LightProjective.h>`

Collaboration diagram for R2_light_projective_vectors_t:
[legend]

## 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)

## Detailed Description

Vectors used when calculating projective lighting.

Definition at line 11 of file R2LightProjective.h.

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

- R2LightProjective.h