A downloadable asset pack for Windows, macOS, Linux, and Android

Download NowName your own price

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.

More information

Published12 days ago
Tags2D, effect, light, unity, unity2d, unity3d


Download NowName your own price

Click download now to get access to the following files:

LightRays.unitypackage 24 kB

Leave a comment

Log in with your itch.io account to leave a comment.