R2 Shaders
R2GBufferInput.h
Go to the documentation of this file.
1 #ifndef R2_GBUFFER_INPUT_H
2 #define R2_GBUFFER_INPUT_H
3 
4 /// \file R2GBufferInput.h
5 /// \brief The textures that make up the G-Buffer
6 
7 /// A type representing the set of bound textures that make up the G-Buffer.
8 
10  /// The albedo texture, with the emission level stored in the `a` component.
11  sampler2D albedo;
12  /// The normal texture containing compressed normals (see R2_normalsDecompress).
13  sampler2D normal;
14  /// The specular texture, with the exponent stored in the `a` component.
15  sampler2D specular;
16  /// The logarithmic depth texture (see R2_logDepthDecode).
17  sampler2D depth;
18 };
19 
20 #endif // R2_GBUFFER_INPUT_H
sampler2D normal
The normal texture containing compressed normals (see R2_normalsDecompress).
sampler2D albedo
The albedo texture, with the emission level stored in the a component.
sampler2D specular
The specular texture, with the exponent stored in the a component.
sampler2D depth
The logarithmic depth texture (see R2_logDepthDecode).
A type representing the set of bound textures that make up the G-Buffer.
Definition: R2GBufferInput.h:9