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

[FREQ] Blending w/ ParticleEffects? #88

Open
adam-law opened this issue Oct 4, 2015 · 0 comments
Open

[FREQ] Blending w/ ParticleEffects? #88

adam-law opened this issue Oct 4, 2015 · 0 comments

Comments

@adam-law
Copy link

adam-law commented Oct 4, 2015

I'm not sure if blending is the proper term for it, but I've noticed that, due to the ambient light, box2dlights draws a "dim" layer on top of everything, evident in areas where there is no light. Particle effects that are running in the background, and drawn before the call to RayHandler.updateAndRender(), are overlaid by this layer, and I assume other visual effects are as well. Of course, drawing the effects after the box2dlights will render the effect above the dimness, and be unaffected by it.

It would be great (only if possible) if the rendering process accounts for the existence of these effects, and somehow "illuminates" the effect's surrounding area (better yet, using the effect's dominant color); effectively drawing through the dim layer, regardless if the effect was drawn before or after box2dlight's update and render method.

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