G-Buffer Channel Indices

G-Buffer Channel Indices

Module description

The number of bytes is shown in parenthesis for each.

Macros

#define GB_Z   0
 (4) Z-Buffer depth, float More...
 
#define GB_MTL_ID   1
 (1) ID assigned to mtl via mtl editor More...
 
#define GB_NODE_ID   2
 (2) ID assigned to node via properties More...
 
#define GB_UV   3
 (8) UV coordinates - Point2 More...
 
#define GB_NORMAL   4
 (4) Normal vector in view space, compressed More...
 
#define GB_REALPIX   5
 (4) Non-clamped colors in "RealPixel" format More...
 
#define GB_COVERAGE   6
 (1) Pixel coverage of the front surface More...
 
#define GB_BG   7
 (3) RGB color of what's behind the front object More...
 
#define GB_NODE_RENDER_ID   8
 (2) System node number, valid during a render More...
 
#define GB_COLOR   9
 (3) Color (RGB) More...
 
#define GB_TRANSP   10
 (3) Transparency (RGB) More...
 
#define GB_VELOC   11
 (8) Velocity (Point2) More...
 
#define GB_WEIGHT   12
 (3) Weight of layers contribution to pixel color More...
 
#define GB_MASK   13
 (2) Sub pixel coverage mask More...
 

Macro Definition Documentation

#define GB_Z   0

(4) Z-Buffer depth, float

#define GB_MTL_ID   1

(1) ID assigned to mtl via mtl editor

#define GB_NODE_ID   2

(2) ID assigned to node via properties

#define GB_UV   3

(8) UV coordinates - Point2

#define GB_NORMAL   4

(4) Normal vector in view space, compressed

#define GB_REALPIX   5

(4) Non-clamped colors in "RealPixel" format

#define GB_COVERAGE   6

(1) Pixel coverage of the front surface

#define GB_BG   7

(3) RGB color of what's behind the front object

#define GB_NODE_RENDER_ID   8

(2) System node number, valid during a render

#define GB_COLOR   9

(3) Color (RGB)

#define GB_TRANSP   10

(3) Transparency (RGB)

#define GB_VELOC   11

(8) Velocity (Point2)

#define GB_WEIGHT   12

(3) Weight of layers contribution to pixel color

#define GB_MASK   13

(2) Sub pixel coverage mask