Shader Definition and Parser Examples

 
 
 

The following examples are installed with Softimage and are available from the XSISDK workgroup:

Example

Implementation Language

Description

 

  • C++

  • JScript

These examples were ported from the SPDL-based Color Sampler Lightmap shader. They demonstrate how to create a custom lightmap output parameter, and how to create a property page widget that allows the user to specify a texture space id.

 

  • C#

  • JScript

These examples were ported from the SPDL-based Environment Blur shader. It demonstrates how to create a property page widget that allows the user to select a shader.

 

  • VBScript

  • JScript

These examples were ported from the SPDL-based Fast Volume Effects shader. It demonstrates how to define structure and array parameters and how to modify the property page layout.

 

  • Python

  • JScript

These examples were ported from the SPDL-based Model Map shader. It demonstrates how to create property page widgets that allow the user to specify a texture space id and a CAV. They also demonstrate how to define a drop-down list of values.

 

  • JScript

This example shows how to create a self-installing custom shader language parser in JScript. A number of parseable file definitions (with the .bck and .pck extensions) are included to demonstrate how the parser system works, both valid and invalid.