Open Beeblerox opened 11 years ago
Sounds like a HUGE amount of work but flixel would probably be a lot more versatile for it. Being able to use shaders for things like post processing would be cool. It would be really great if we could send our own triangle meshes to the gpu too!
I thought that drawTiles already uses OpenGL on native targets. What's the difference between using drawTiles and using OpenGL manually?
Yes, drawTiles() uses OpenGL and very fast, but it's quite limited: you can only draw transformed rectangles with very limited number of effects (only additive blending for example, no filters).
Here is an OpenGL sample projects:
https://github.com/haxenme/NME/blob/master/samples/22-OGL/src/Main.hx
https://github.com/haxenme/NME/tree/master/samples/HerokuShaders