Different types of shapes


The example given here is really well made but is there is any other shape that can be used as well?


The implementation of this example is hardwire to the given geometry. You can see this at the vertex shaders which make assumptions about certain vertices. So without rewriting the code, you can use a different geometry.