9

DirectX 9 Shader Material 1613
DirectX 9 Shader Material
Material Editor > Type b utton > M aterial/Map Browser >
DirectX 9 Shader
Note: Typically, this materia l is visible in the Browser only
if Di rectX 9 is available on your s y stem, and you are using
the Direct3D display dr iver with DirectX 9.0 chosen as the
Direct3D version. If this material is not visible, you can see
it (in gray) by turning on Incompatible in the Show group.
The DirectX 9 Shader material enables you to
shade objects in viewports using DirectX 9 (DX9)
shaders. With DirectX shading, materials in
a viewport more accurately represent how the
material w i ll appear in another application, or
on other hardware such as a game eng ine. You
can use this material only when you are using the
Direct3D Display driver (page 3–844) and DirectX
9.0ischosenastheDirect3Dversion.
DX9 shaders are FX files. Several sample FX files
are provided in the \3ds Max 9\maps\fx directory
(the name of the 3ds Max root directory mig ht
differ on your system).
See also
DirectX Shader g roup (page 2–1438)
FX File (page 3–946)
Inter face
DirectX 9 Shader rollout
Shader button—Click to display a file dialog that
lets you select a DX9 FX effect (FX) file. By default,
the default.fx file is chosen.
ReloadClick to reload the act ive FX file. To
update an FX file, you can edit it and then click
Reload. You dont have to restart 3ds Max to see
the effect of the changes to the shader.
Shader-specific rollouts
The rollouts that appear below the DirectX 9
Shader rollout and above the Software Rendering
rollout are the interface to the shader you chose.
These rollouts are specific to each shader.
Softwa re Rendering rollout
Specifies a material that controls software shading
and rendering of objects to w hich the DirectX 9
Shader material is applied. Viewports use DX9
shading unless the S oftware or OpenGL driver is
active. Renderings always use software shading.
Usually you w ill want to choose a material that
clearly identifies which objects in your scene have
the DirectX 9 Shader material applied.
Note: The DirectX 9 Shader material has no specific
settings for software shading. Any type of 3ds Max
material will do. Scenes from previous versions
that used DX9-specific settings are assigned a
Standard material with equivalent rendering
properties.
Note: If DirectX 9 is not available on your system,
but you assign the DirectX 9 Shader material
anyway (by using the Material/Map Browser’s
Incompatible option), this is the only rollout that
appears in the Material Editor.