Mat on Nostr: npub1aw2gc…38vv5 I really appreciate the glPushMatrix/glPopMatrix operations it ...
npub1aw2gcqz09z6lq5w5thzcadjsy8n7srs8mczkgs4c5rvjyyfh96nsg38vv5 (npub1aw2…8vv5) I really appreciate the glPushMatrix/glPopMatrix operations it has. So much in fact that I ended up writing this monstrosity to enable them with shaders: https://git.allpurposem.at/mat/The_Dozen_Year_Door/src/branch/main/engine/GLCompat.cpp
Can't say the code is any good, but I can say it helped a lot with structuring the render code for the game.
I wonder if other games also have a similar system, with a matrix stack?
Can't say the code is any good, but I can say it helped a lot with structuring the render code for the game.
I wonder if other games also have a similar system, with a matrix stack?