2d engine with WebGL
- by Philipp
I am currently developing a HTML5 canvas game with a sprite-based 2d engine.
The engine is working well so far, but now I thought that I could maybe add some cool graphic effects when I would re-implement the whole engine with WebGL. The whole graphic engine would stay strictly two-dimensional (think of it as a 3d world where the z coordinate of all vertices is 0.0).
What I hope to gain from this is the ability to use pixel shaders to create special effects. I also think that the performance could improve.
What do you think about that plan?