do you have any source on how you did that lightning effect, or if you would be kind enough to upload the source somewhere? I'd love to see how to do that for myself (also the cool laser effect) cheers, cool game!
The lighting effect is very simple. I have two identical cameras, one renders lights on a black texture, one renders everything else like usual to another texture. A third camera renders two fullscreen quads, the lighting one uses the "Particles Multiplicative" shader in unity, the other uses the "Textured Unlit" shader. Works fine even with colored "light blobs".
The laser is a line renderer with some particle systems, lights and sprites at the start end and middle.
tbh still a bit too new to gamedev, I get how it would work but I'll surely return when I got some more experience to try to piece it together myself, thanks for the reply!
← Return to game
Comments
Log in with itch.io to leave a comment.
do you have any source on how you did that lightning effect, or if you would be kind enough to upload the source somewhere? I'd love to see how to do that for myself (also the cool laser effect) cheers, cool game!
The lighting effect is very simple. I have two identical cameras, one renders lights on a black texture, one renders everything else like usual to another texture. A third camera renders two fullscreen quads, the lighting one uses the "Particles Multiplicative" shader in unity, the other uses the "Textured Unlit" shader. Works fine even with colored "light blobs".
The laser is a line renderer with some particle systems, lights and sprites at the start end and middle.
Hope that helps :D
tbh still a bit too new to gamedev, I get how it would work but I'll surely return when I got some more experience to try to piece it together myself, thanks for the reply!