Support Forum       G3D Web Page     
Classes | Namespaces | Macros
UniversalSurface_gbuffer.pix File Reference

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
 

Detailed Description

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

Author
Morgan McGuire, http://casual-effects.com

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.

Macro Definition Documentation

◆ layout

#define layout (   ignore)

◆ UNBLENDED_PASS

#define UNBLENDED_PASS   1

documentation generated on Wed Nov 24 2021 08:01:50 using doxygen 1.8.15