Defines

G-Buffer Channel Indices

The number of bytes is shown in parenthesis for each. More...

Defines

#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

Detailed Description

The number of bytes is shown in parenthesis for each.


Define 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
#define GB_TRANSP   10

(3) Transparency (RGB)

#define GB_VELOC   11
#define GB_WEIGHT   12

(3) Weight of layers contribution to pixel color

#define GB_MASK   13

(2) Sub pixel coverage mask