XaiJu
relativisticgame
relativisticgame

patreon


Week 18 progress update

This was a short week, as I went on holiday abroad and also had to look after my little one, who caught a cold. I spent most of my working time improving shaders. Last week I concluded that I couldn’t get rid entirely of the normal maps by using depth maps, as the results were unsatisfactory around borders between fully opaque and fully transparent regions. This week, then, I focused on adding code to correctly transform the normal maps for bodies that rotate and contract. The main motivation was to address problems introduced by Lorentz-contraction, which is commonplace in my game. The normals should now be correct, although - I admit - the difference is not super-visible, at least in the scenes I am working on at the moment. Well, the code is still useful to handle rotation, which also occurs all the time due to the Thomas-Wigner effect.

I also implemented Lorentz-contraction for lights and added more lights to the scene for the “train in a tunnel paradox” demo. I also did some bug fixing and improvement work on the engine, mostly around texture handling.


More Creators