HLSL shaders
 
 
 

HLSL (High Level Shading Language) shader nodes allow you to create and configure native HLSL hardware shaders in Maya. HLSL is the native shading language of Direct X, and as such, is the preferred shading language for many Direct X based target applications, including games on the XBOX family of consoles. Unlike previous HLSL support in Maya, the HLSL shader provides native Direct X compilation rendering.

Note

This functionality requires the February 2007 version of Direct X.

To convert an older .fx file to the new .cgfx format, there are conversion utilities available from NVIDIA. Extensive documentation on Cg and CgFX is also available. See www.developer.nvidia.com.

Basic workflow

The following steps outline the basic workflow to use the HLSL plug-in.

To create and work with a HLSL shader, see Work with HLSL shaders.

HLSL limitations and other notes

HLSL shaders are currently only supported in the default Maya scene view. There is currently no support for the high quality renderer or external renderers.

The HLSL plug-in currently does not support shaders which deform the geometry. These effects will be visible, but artifacts may exist when compositing the DX and GL scene elements together.