Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider OpenGL rendering for native targets #440

Open
Beeblerox opened this issue Jun 19, 2013 · 3 comments
Open

Consider OpenGL rendering for native targets #440

Beeblerox opened this issue Jun 19, 2013 · 3 comments

Comments

@Beeblerox
Copy link
Member

Beeblerox commented Jun 19, 2013

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

@PaulGene
Copy link
Contributor

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!

@shadwstalkr
Copy link

I thought that drawTiles already uses OpenGL on native targets. What's the difference between using drawTiles and using OpenGL manually?

@Beeblerox
Copy link
Member Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants