9

1444 Chapter 16: Material Editor, Materials, and Maps
Avaluefrom1to15meanstoapplyaVideoPost
or rendering effect that uses this channel ID to
this material.
Forexample,youmightwantamaterialtoglow
wherever it appears in the scene. The material
is in the Material Editor and the glow comes
from a render ing effect . First, you add a Glow
rendering effect (page 3–226) and set it up so that
it operates on ID 1. Use Material ID Channel to
give the material an ID number of 1, then apply the
material to objects in the scene in the usual way.
To save the channel data with the rendering, use
the RLA or RPF format.
Wa rning: The mental ray renderer (page 3–78) does not
recognize Z-depth with G-buffers. G-buffer data is saved
on a single layer. Also, the m ental ray renderer does not
support the following effects:
Glow lens effect (page 3–226) (rendering effect)
Ring lens effect (page 3–230) (render ing effect)
Lens effects Focus filter (page 3–362) (Video
Post)
Procedure
To a ssign a mater ia l ID channel to a ma teria l:
Choose a channel number from the
Material ID Channel flyout (page 2–1444).
Note: Giving a material a nonzero ID channel
number tells the r
enderer to generate a
material ID channel containing that value. This
information is stored in images only if you save
the rendered sc
ene in RLA or RPF format.
However, the ID channel data is available to
rendering effects at render time.
Material ID Channel Flyout
Material Editor > Tool buttons > Material ID Channel
flyout
The Material ID Channel (page 2–1443) flyout
in the Material Editor (page 2–1409) lets you
assign a material ID to the material. The ID value
can associate a Video Post effect (page 3–311) or
rendering effect (page 3–218) to objects assigned
this material. The channel ID can also be saved
if you render to a file in the RLA (page 3–630) or
RPF (page 3–631) format. Saving the material
IDinanimagefileletsyouusethechannelin
post-processing applications, such as Autodesk
Combustion.
Zero (0), the default, indicates that no material ID
channel is assigned.
Avaluefrom1to15saysthataneffectthatuses
this material ID will be applied to this m aterial.