Post news Report content RSS feed 2D Lighting System

Showing off a new 2D lighting system I created using additive particle shaders. Supports unlimited lights in a scene (instead of the old limit of 1).

Posted by on

Today I got a new 2D lighting system working. The old system was simply a big black square with a hole in the middle. The drawback of that system was that it only supported one light at a time, but the new one allows an unlimited number.

Please note that in this video the glow from Lum's esca does not grow when you collect planktids. This will change!

For those interested in the technique I used: it's really simple! I just attached a flat plane to each light source with a glowing sprite material. The material uses a Particles/Additive shader. Behind all this is another large plane with a semi-transparent black texture applied which darkens the background. The foreground rocks and creatures and all rendered in front of the glows so they are not obscured.
Happy New Year!


Fantastic and beautiful. Happy new year!

Reply Good karma Bad karma+2 votes

this looks great! tracking.

I wonder, how have you done the enemy's trail effect?

Reply Good karma Bad karma+2 votes
CrowbarSka Author

There are 4 Trail Renderer objects, which are attached to a rotating parent object which is in turn attached to the jellyfish. There is also another particle emitter to add the kind of dark cloudy effect.

Reply Good karma+2 votes

love it!

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Post news
Related Games
Luminesca Adventure
Related Engines
Unity Commercial