examples/gl/geometryShaderExample/README.md
This example demonstrates how to use geometry shaders. A geometry shader can create new geometries using a small amount of input data. It handles the vertex shader output. In this case it converts a random set of lines into triangle strips and illuminates them.
You will learn how to..
In the shader code, pay attention to..
EmitVertex()When launching this app, you should see a window displaying a random set of strips in different shades of grey. By disabling the shader you should be able to see the white lines that are the source of the strips created by the shader.
Instructions for use:
s key to enable or disable the shaderup and down keys to increase speedspacebar to enable or disable rendering with a single meshThis Example uses the following classes: