examples/shader/02_simpleVertexDisplacementExample/README.md
This series of shader examples is designed to work along with the Intro to Shaders chapter of ofBook, which is available in the "Learning" page of the OF website under ofBook / Graphics / Introducing Shaders.
This example covers the following topics:
In the code, pay attention to:
shader.setUniform1f("name", value);When launching this app, you should see a triangulated mesh plane animating in the shape of a sine wave. The plane should move and change color with mouse movement.
Moving the mouse in the X axis will change the uniform color across the vertex plane. Moving the mouse in the Y axis will rotate the plane around the X axis.
This example uses no other classes.