ZakBerkelaar / MyGame

A WIP multiplayer Terraria like game with a few basic features
GNU General Public License v3.0
0 stars 0 forks source link

Clean up all renders #17

Open ZakBerkelaar opened 2 years ago

ZakBerkelaar commented 2 years ago

The current state of rendering is quite sad. Why does both RenderHelper.ScreenToNormal and RenderHelper.ScreenToNormalNew both exist and what is the difference. UIText does not use either and just uses it's own thing that hardly works. Furthermore it seems most if not all VBOs pass a vec3 for the position of the draw however this is a 2D game and thus the z element will never not be 0 and even if it was it would make a difference. TODOS: