Vizard comes with 2 sample scripts showing how to use GLSL. The scripts are
tutorial_alphaMap.py and
tutorial_multiTexture.py and are located in the
[Vizard30]/examples/shader directory.
For example, if you wanted to create a floating point parameter, you would do the following:
Code:
MyParam = viz.addUniformFloat( 'paramName', 0.5 )
node.apply(MyParam)