1 #ifndef R2_GBUFFER_OUTPUT_H 2 #define R2_GBUFFER_OUTPUT_H 26 #endif // R2_GBUFFER_OUTPUT_H vec3 albedo
8-bit unsigned normalized RGB color
vec3 specular
8-bit unsigned normalized RGB specular color
vec2 normal
Compressed 16-bit half-precision normals.
float depth
Logarithmic depth value.
float emission
8-bit unsigned normalized emission level
bool discarded
True if this particular surface fragment should be discarded
A type representing the values written to the G-Buffer.
float specular_exp
8-bit unsigned normalized specular exponent