An interesting day
Took 2 hours to "undo" some of its shitty code.
I didn't look at the code but it's so hard coded and engraved that removing it broke everything. But doing it in baby steps worked.
Then of course it blew my mind when I defined the structure for our procedural world. Implemented the Skeleton no problem.
All good but 6fps!!!. I couldn't work it out. Told it that we are lead SE for Nintendo on a Switch 2 Super Zelda game that destroys Breath of the Wild!!!
It now says things like "yes, this would be correct for a AAA title"
(expletive deleted)ing idiot!
After much work found (christ knows why) for a certain shadow it was sampling the terrain mesh 7 times PER SHADOW!!!). That is a frame rate killer.
Now, we are in a new league of brilliance!. But I have to be on the ball big time for optimisations; which is good because thats my domain.