OpenGL Realtime Shaders

You can create realtime effects using Softimage’s library of OpenGL-based shaders. Softimage’s realtime shaders allow you to create realtime effects that can be displayed in real time in any 3D view. You can create these effects using either a programmable shading pipeline or a fixed-function shading pipeline.

The popular programmable shaders allow you to replace the fixed function pipeline by using your own program to control shading at the vertex and pixel level. This allows you to create more effects, but you need to re-implement code that would otherwise be executed by the fixed function pipeline. The programmable shader library also includes the very flexible and portable file-based CgFX shader.

Drawing Objects with OpenGL Realtime Shaders.

OpenGL Texture Setup.

Programmable OpenGL Shading.

Setting Up a Cg Program Vertex Shader.

Setting Up a Cg Program Fragment Shader.

Setting Up a Unified GLSL Program.

Programmable Shader Example: A Cg Program Bump Mapped Material.

Effects Shaders (.cgfx Files).

Fixed Function OpenGL Shading.

Fixed Function Shading Example: A Reflective Textured Sphere.

Before You Start

The examples in this section assume that you are familiar with the basics of working with realtime shaders in the Softimage interface. You should know how to get and connect realtime shaders in the render tree, how to display realtime shader effects, and so on. All of this is described in Realtime Shader Basics.



Autodesk Softimage v.7.5