R2 Core Shaders

R2LightOutput.h
Go to the documentation of this file.
1 #ifndef R2_LIGHT_OUTPUT_H
2 #define R2_LIGHT_OUTPUT_H
3
4 /// \file R2LightOutput.h
5 /// \brief Types describing calculated light contributions
6
7 /// The type of light values that all deferred light shaders calculate.
8
9 struct R2_light_output_t {
10 /// The diffuse color/intensity (8-bit unsigned)
11 vec3 diffuse;
12 /// The specular color/intensity (8-bit unsigned)
13 vec3 specular;
14 };
15
16 #endif // R2_LIGHT_OUTPUT_H
R2_light_output_t
The type of light values that all deferred light shaders calculate.
Definition: R2LightOutput.h:9
R2_light_output_t::diffuse
vec3 diffuse
The diffuse color/intensity (8-bit unsigned)
Definition: R2LightOutput.h:11
R2_light_output_t::specular
vec3 specular
The specular color/intensity (8-bit unsigned)
Definition: R2LightOutput.h:13