R2 Core Shaders

R2LightMatrices.h
Go to the documentation of this file.
1 #ifndef R2_LIGHT_MATRICES_H
2 #define R2_LIGHT_MATRICES_H
3
4 /// \file R2LightMatrices.h
5 /// \brief Matrices required by standard light types
6
7 /// Input matrices for light volumes
8
9 struct R2_light_matrices_t {
10 /// Object-space to Eye-space matrix
11 mat4x4 transform_volume_modelview;
12 /// Eye-space to Clip-space matrix
13 mat4x4 transform_projection;
14 /// Clip-space to eye-space matrix
15 mat4x4 transform_projection_inverse;
16 };
17
18 #endif // R2_LIGHT_MATRICES_H
R2_light_matrices_t::transform_projection
mat4x4 transform_projection
Eye-space to Clip-space matrix.
Definition: R2LightMatrices.h:13
R2_light_matrices_t
Input matrices for light volumes.
Definition: R2LightMatrices.h:9
R2_light_matrices_t::transform_projection_inverse
mat4x4 transform_projection_inverse
Clip-space to eye-space matrix.
Definition: R2LightMatrices.h:15
R2_light_matrices_t::transform_volume_modelview
mat4x4 transform_volume_modelview
Object-space to Eye-space matrix.
Definition: R2LightMatrices.h:11