For use with G3D::Shader.
More...
|
uniform vec2 | lowerCoord |
| Do not read color attributes (except LAMBERTIAN, if an alpha test is required) outside of this rectangle. More...
|
|
uniform vec2 | upperCoord |
|
For use with G3D::Shader.
This files define helper functions for manipulating GBuffers.
- See also
- G3D::SVO
◆ gbufferCoordsHelper() [1/5]
ivec3 glsl::GBuffer2_glsl::gbufferCoordsHelper |
( |
ivec3 |
coords | ) |
|
|
inline |
◆ gbufferCoordsHelper() [2/5]
ivec3 glsl::GBuffer2_glsl::gbufferCoordsHelper |
( |
ivec2 |
coords | ) |
|
|
inline |
◆ gbufferCoordsHelper() [3/5]
ivec3 glsl::GBuffer2_glsl::gbufferCoordsHelper |
( |
int |
coords | ) |
|
|
inline |
◆ gbufferCoordsHelper() [4/5]
vec3 glsl::GBuffer2_glsl::gbufferCoordsHelper |
( |
vec3 |
coords | ) |
|
|
inline |
◆ gbufferCoordsHelper() [5/5]
vec3 glsl::GBuffer2_glsl::gbufferCoordsHelper |
( |
vec2 |
coords | ) |
|
|
inline |
◆ gbufferWriteValueHelper() [1/4]
vec4 glsl::GBuffer2_glsl::gbufferWriteValueHelper |
( |
vec4 |
val | ) |
|
|
inline |
◆ gbufferWriteValueHelper() [2/4]
vec4 glsl::GBuffer2_glsl::gbufferWriteValueHelper |
( |
vec3 |
val | ) |
|
|
inline |
◆ gbufferWriteValueHelper() [3/4]
vec4 glsl::GBuffer2_glsl::gbufferWriteValueHelper |
( |
vec2 |
val | ) |
|
|
inline |
◆ gbufferWriteValueHelper() [4/4]
vec4 glsl::GBuffer2_glsl::gbufferWriteValueHelper |
( |
float |
val | ) |
|
|
inline |
◆ lowerCoord
uniform vec2 glsl::GBuffer2_glsl::lowerCoord |
Do not read color attributes (except LAMBERTIAN, if an alpha test is required) outside of this rectangle.
Used to implement the trim band outside of which only depth is recorded.
◆ upperCoord
uniform vec2 glsl::GBuffer2_glsl::upperCoord |