R2 Shaders
Data Fields
R2_reconstructed_surface_t Struct Reference

Reconstructed surface data, taken from the G-Buffer. More...

#include <R2ReconstructedSurface.h>

Data Fields

vec3 albedo
 The sampled surface albedo.
 
float emission
 The sampled surface emission level.
 
vec3 specular
 The sampled surface specular color.
 
float specular_exponent
 The sampled surface specular exponent in the range [0, 256]
 
vec3 normal
 The eye-space normal vector of the surface.
 
vec4 position
 The eye-space position of the surface.
 
vec2 uv
 The UV coordinates of the current screen fragment.
 

Detailed Description

Reconstructed surface data, taken from the G-Buffer.

Definition at line 16 of file R2ReconstructedSurface.h.


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