thanks for all of your assets, youre actually godly.
Light rays 2D effect/shader (Unity)
A downloadable asset pack for Windows, macOS, Linux, and Android
This is a shader (and material) that renders a 2D light rays effect. It's not projecting any light, it doesn't cast shadows or interact with objects - it just renders the effect on a surface it's applied to.
It's really useful for adding atmosphere to 2D games. It's really lightweight and works great on mobile.
How to use
The package contains a LightRays prefab which is just a quad with custom material. Drag the quad to your scene, set the size you need, then select the LightRays material in your project hierarchy and drag the handles to adjust parameters.
2017-03-18 - Fixed a floating point issue.
2017-03-19 - Added option for a second color to create a gradient.
Click download now to get access to the following files: