DEPRECATED. This shader is unsupported, but it may still get installed with Softimage to provide compatibility with older scenes that
use it. It is recommended that you replace unsupported shaders in your scenes with equivalent shaders from the current Softimage
shader library.
Category: RealTime > Cg > Cg Program
RealTime (RTShader)
Output: RealTime
OpenGL
The Cg program shader builds and compiles a Cg program.
|
Sets the build options for your Cg program:
|
|
Enables debug messages. Compilation results are logged and available from the script editor's log window. To open the script editor, click the script icon at the bottom of the Softimage interface.
|
|
The options let you choose the type of program you want to execute. This is where you specify which hardware you are targeting
and whether it's a vertex or a pixel (fragment) program.
If you are not specifically targeting nVidia hardware, you should choose the ARB types.
|
|
Enter the code for your vertex shader and fragment shader in the text editor. The text editor supports text customization (font, color, size), syntax styling, folding (hiding blocks such as functions
and subroutines), auto-completion and highlighting for keywords. You can also implement this text editor widget in your own
plug-ins.
|