Initial support for instanced rendering
authorMikko Rasa <tdb@tdb.fi>
Wed, 19 Jun 2019 23:22:12 +0000 (02:22 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 21 Jun 2019 11:53:12 +0000 (14:53 +0300)
commitb0059bd068c99dadfc922584911fcb25a21b737b
tree87c67354b2b90a6f3c30ac5747062419df308fe4
parentf50822b9e73a6ecdacbc4af4c4d9aba435a72386
Initial support for instanced rendering

This is still a bit rough and does not support things like LoDs or custom
instance attributes.
13 files changed:
extensions/arb_draw_instanced.glext [new file with mode: 0644]
extensions/arb_instanced_arrays.glext [new file with mode: 0644]
shaderlib/msp_interface.glsl
source/batch.cpp
source/batch.h
source/instancearray.cpp [new file with mode: 0644]
source/instancearray.h [new file with mode: 0644]
source/mesh.cpp
source/mesh.h
source/renderer.cpp
source/renderer.h
source/vertexsetup.cpp
source/vertexsetup.h