inanevin / LinaEngine

Lina Engine is an open-source , modular, tiny and fast C++ game engine, aimed to develop 3D desktop games.
MIT License
843 stars 50 forks source link

Instancing Arrays #45

Closed inanevin closed 3 years ago

inanevin commented 4 years ago

Right now primitives are being drawn via loaded models & using draw elements, which is an unnecessary overhead. Make sure you use glDrawArrays for them instance the non-transparent ones.