R2 Shaders
Data Fields
R2_surface_output_t Struct Reference

The type of surface details that all deferred surface shaders are required to calculate. More...

#include <R2SurfaceOutput.h>

Data Fields

vec3 albedo
 8-bit unsigned normalized RGB color
 
float emission
 8-bit unsigned normalized emission level
 
vec3 normal
 Eye-space normal vector.
 
vec3 specular
 8-bit unsigned normalized RGB specular color
 
float specular_exp
 Specular exponent in the range [0, 256]
 
bool discarded
 True if this particular surface fragment should be discarded
 

Detailed Description

The type of surface details that all deferred surface shaders are required to calculate.

Definition at line 9 of file R2SurfaceOutput.h.


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