Support Forum G3D Web Page |
This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable. More...
Classes | |
class | glsl::UniversalSurface_gbuffer_pix |
This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable. More... | |
Namespaces | |
glsl | |
Macros | |
#define | layout(ignore) |
#define | UNBLENDED_PASS 1 |
This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable.
Requires BUFFER_WIDTH_MASK = width - 1 and BUFFER_WIDTH_SHIFT = log_2(width) to be passed, where width is a power of 2.
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License
This shader expects a prefix (GBuffer::macros() or SVO::macros()) to be attached at runtime using Shader::setPremable.
If USE_IMAGE_STORE is defined and set to a non-zero value, then the OpenGL image store API is used instead of framebuffer write. In this case, you will probably want to disable framebuffer writes (color mask) using RenderDevice::setColorWrite(false).
Requires BUFFER_WIDTH_MASK = width - 1 and BUFFER_WIDTH_SHFIT = log_2(width) to be passed, where width is a power of 2.
#define layout | ( | ignore | ) |
#define UNBLENDED_PASS 1 |