Open qwertychouskie opened 5 years ago
This would mean using OpenGL 3 (modern OpenGL), which is really hard.
I don't know OpenGL, so any help is appreciated.
Now I see why you didn't agreed with me that it's probably easier to throw this away and rewrite stuff from scratch :-)
In fact, it is (pretty much) duplicate of #26.
This is about GLES 1.x/2.0. #26 is about GL 3.x/GLES 3.0.
The big upside by using GLES 2.0 is that your renderer is compatible with WebGL 1.0, which is the only graphics API that actually works well in browsers. (In my experience, WebGL 2.0 support is too broken to be usable.)
You can also use it on desktops by swapping OpenGL ES calls with OpenGL calls at compile-time (like in Godot). This way, you use the same graphics API everywhere.
Porting to GLES would allow a port to mobile platforms. I don't know OpenGL, so any help is appreciated.