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

atgc-core-light: create a controller / engine for dynamic light management #35

Open
jbilcke opened this issue Feb 9, 2015 · 0 comments

Comments

@jbilcke
Copy link
Member

jbilcke commented Feb 9, 2015

we can only have a few instances of light at the same time, but we probably want to display many (thousand) of them for robots lights, jet flames, explosions etc..

either we implement light as shaders, like this:
http://iloveshaders.blogspot.fr/2011/04/implementing-basic-lights.html

or we use a managed pool of light: we teleport the real light instances to the nearest light "slots", in the current viewport

designing such algorithm sucks a bit, maybe we should just go for the shader solution, I don't know

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

1 participant