List of GBuffer Channels Indexes

3DS Max Plug-In SDK

List of G-Buffer Channels Indexes

See Also: List of Image Channels, List of G-Buffer Channel Types.

These #defines are indexes to the GBuffer methods such as GBDataSize(int i), GBChannelName(int i), etc.

One of the following values:

GB_Z

Z-Buffer depth

GB_MTL_ID

Material ID assigned via the Material Editor.

GB_NODE_ID

Node ID assigned via the Properties dialog.

GB_UV

UV coordinates.

GB_NORMAL

Normal vector in view space.

GB_REALPIX

Non clamped colors in "RealPixel" format.

GB_COVERAGE

Pixel coverage of the front surface.

GB_BG

The RGB color of what's behind the front object.

GB_NODE_RENDER_ID

System node number (valid during a render).

GB_COLOR

The color returned by the material shader for the fragment.

GB_TRANSP

The transparency returned by the material shader for the fragment.

GB_VELOC

Velocity vector of the fragment relative to the screen.

GB_WEIGHT

Weight of layers contribution to pixel color.

GB_MASK

Sub pixel coverage mask