8

XYZ Coordinate Shader (mental ray) 1541
Impor tant:
UV Coordinates (page 2–1538)
and
XYZ
Coordinates (page 2–1541)
are the only shaders with
multiple return values provided with 3ds Max. You might
encounter multiple return values in shaders provided
with other shader libraries or custom shader code.
XYZ Coordina te Sha der (mental
ray)
Material Editor > Any shader with a Coords parameter
or o ther vector value. > Click the shader button. >
Material/Map Browser > X YZ Coordinate (3dsmax)
Note: Shaders do not appear in the Browser unless you
have enabled the mental ray extensions by using the
mental ray Preferences panel. In addition, shaders don’t
appear unless the mental ray renderer is the currently
active renderer.
This shader is identical to the
XYZ Generator
shader (p age 2–1539)
,exceptthatitreturnstwo
values instead of one.
The XYZ coordinate (same value as XYZ
Generator would return)
This value is named XYZ.
The XYZ coordinate’s derivative
This value, a lso a vector, is named dXYZ.
When you choose this shader, a
Connect
Parameter To Shader dialog (page 2–1523)
is
displayed, prompting you to choose which of the
twovaluestouse.Youcanlaterchangethechoice
of value by using the “dot button to the right of
the main shader button.
Inter face
The XYZ Coordinate shader has t he same
parameters as the XYZ Generator shader. See
XYZ
Generator Parameters Rollout (page 2–1539)
for a
description of the basic settings.
Nor mal B ump M a p
Nor mal B ump M ap
Material Editor > Maps rollout > Click a Map button. >
Material/Map Browser > Normal Bump
The Normal Bump map lets you use a
texture-ba ked Normals map (see
Baked Texture
Elements (page 3–142)
). Typically you assig n it
to a material’s Bump component, Displacement
component, or both. Using the map for
Displacement can correct edges that otherwise
look unrealistically smooth; however, this adds
faces to the geometry.
Tip: A Normals map for the indicated mater ial
component is generated automatically if you turn
on Output Into Normal Bump in the Selected
Elements Unique Settings group of the Render To
Tex t u re d i a l o g s
Output rollout (page 3–155)
.
Interfa ce
Nor mal—As a rule, contains a Normals map
generated by
Render To Texture (page 3–139)
.
Usethetoggletoenableordisableuseofthe
map (default=on). Use the spinner to increase or
decrease the map’s effect.
Additiona l B ump—This optional component can
containanadditionalmaptomodifythebumpor
displacement effect. It is treated as a regular
bump
map (page 2–1347)
.