R2 Shaders
Data Fields
R2_vertex_data_t Struct Reference

Interpolated vertex data that all deferred surface shaders will receive. More...

#include <R2SurfaceTypes.h>

Data Fields

vec4 position_eye
 Eye-space surface position.
 
vec4 position_clip
 Clip-space surface position.
 
float positive_eye_z
 Positive eye-space Z position.
 
vec2 uv
 Object-space UV.
 
vec3 normal_vertex
 Object-space vertex normal.
 
vec3 tangent
 Tangent vector.
 
vec3 bitangent
 Bitangent vector.
 

Detailed Description

Interpolated vertex data that all deferred surface shaders will receive.

Definition at line 11 of file R2SurfaceTypes.h.


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