1 #ifndef R2_SURFACE_OUTPUT_H 2 #define R2_SURFACE_OUTPUT_H 24 #endif // R2_SURFACE_OUTPUT_H vec3 specular
8-bit unsigned normalized RGB specular color
float emission
8-bit unsigned normalized emission level
bool discarded
True if this particular surface fragment should be discarded
vec3 normal
Eye-space normal vector.
float specular_exp
Specular exponent in the range [0, 256]
The type of surface details that all deferred surface shaders are required to calculate.
vec3 albedo
8-bit unsigned normalized RGB color