This example shows you how to code an animation within a vertex shader program in order to speed up the rendering.
A dialog window allows you to select which shading language to use when the example is executed.
FILES:
-
Inventor/Shaders/AnimatedFlag/AnimatedFlag.cxx
SEE ALSO
SoShaderObject, SoShaderProgram, SoShaderParameter, SoVertexShader, SoFragmentShader
SCREENSHOT: