A simple experiment with WebGL, attempting to write a normal mapping shader.

Wrote this in late 2016. Some of the code also from my old pal Gustavo, from my Nano Games days. He also did the textures (which I botched and took the wrong ones - hence the distorted look).

This was written mostly as a proof of concept of having a code using OpenGL ES 2.0 with X11 also build under Emscripten, with WebGL. It's not 1:1, but quite close.

It should be noted that I'm aware my shader has some issue and never really worked all that well - but works well enough for this game.

Leave a comment

Log in with itch.io to leave a comment.