Draw the cubes using flat shading and fewer vertexes.
authorBernie Innocenti <bernie@codewiz.org>
Mon, 26 Jun 2017 05:29:02 +0000 (01:29 -0400)
committerBernie Innocenti <bernie@codewiz.org>
Mon, 26 Jun 2017 05:29:02 +0000 (01:29 -0400)
commit70c8f16193bd0b77a59cddc76c700b9d7f43b37c
tree4ed590324103c14c4c2915e9359707878fd36da0
parent1799dcb92370aa15fa37f08623c138b3578f172d
Draw the cubes using flat shading and fewer vertexes.

Described in detail here: http://poniesandlight.co.uk/notes/flat_shading_on_osx/
main.rs
shaded.frag
shaded.vert
shaded_cube.rs