R2 Core Shaders

R2LightVertex.h
Go to the documentation of this file.
1 #ifndef R2_LIGHT_VERTEX_H
2 #define R2_LIGHT_VERTEX_H
3
4 /// \file R2LightVertex.h
5 /// \brief Data required by each vertex in deferred light rendering, provided as vertex attributes.
6
7 /// Object-space position
8 layout(location = 0) in vec3 R2_vertex_position;
9
10 /// UV coordinates
11 layout(location = 1) in vec2 R2_vertex_uv;
12
13 #endif // R2_LIGHT_VERTEX_H
layout
layout(location=0) in vec3 R2_vertex_position
Object-space position.