by diath · 11mo ago · 0 comments
Unrelated, but why? Querying a point in a basic quad tree takes microseconds, is there any benefit to overengineering a solved problem this way? What do you gain from this?
The reason the game is 3D has to do with partially visible things being way easier than with isometric textures layered in the right order.
Also, now that i just grab a pixel back from the GPU, it's no overhead at all (to construct or get the data for it).
To be totally coherent, you have to draw the entity ID in the same order you would draw the visible color, in cases where entities could "tie" at the same depth.