This add-on shows various real-time shaders such as Effect shaders written with the HLSL, CGFX language and Hardware shaders written in C++. All shaders are available to load
from the RenderTree view under the "Realtime\Softimage Examples" category.
SimpleShader_CGFX
Demonstrates how to write a simple vertex and texture Cg shader.
SimpleHWShader
Demonstrates how to write a simple hardware shader in C++.
Location | |
Files |
SimpleShader_CGFX.cgfx
HWShaderPlugin.cpp
SimpleHWShader.cpp
|
To install the example
Connect to the Softimage SDK workgroup at %XSISDK_ROOT%\examples\workgroup.
To run the SimpleShader_CGFX example
To run the SimpleHWShader example
This example uses the following keywords:
Real-Time Realtime Shader Hardware C++ HLSL CGFX OpenGL DirectX