examples/shader/03_simpleShaderInteractionExample/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() )shader.setUniform2f() )shader.setUniform4v() )When launching this app, you should see a triangulated mesh plane across the window surface, with a displaced circle of vertices around the mouse.
Moving the mouse will change the section of displaced vertices, following the mouse around the window. Moving the mouse will also change the uniform color of the plane mesh.
This example uses no other classes.