CgFX shader settings

 
 
 

When you open an object with a CgFX shader in MotionBuilder, the CgFX shader appears with any other MotionBuilder shaders in the Asset and Scene browsers.

CgFX shaders display with MotionBuilder shaders in the Scene browser.

The CgFX shader settings are split into two parts, the Shader area, and the Shader properties.

NoteUse conversion utilities available from Nvidia to convert older .fx files to the .cgfx format. For more information about Cg and CgFX consult your Nvidia documentation.

Shader area

The Shader area displays the name of the .fx file in the Name field. Click Browse to open a file browser and locate an .fx file, then click Reload to refresh the CgFX shader’s appearance.

When loading or reloading CgFX shaders, activate the Merge Parameters option to keep the shader’s property settings and references to .dds files. Disable the option to clear these settings when you load or reload CgFX shaders.

NoteWhen saving a file containing a CgFX shader, enabling the Embed Media option in the Save File dialog lets you embed .cgfx and .dds files in the .fbx file. When the file is reopened, the .cgfx and .dds files are extracted to an .fbm folder and the path in the CgFX shader settings updates to point to this .fbm folder.

CgFX shader settings A. Shader area B. Shader properties

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License