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.

Check out my other assets!


2017-03-18 - Fixed a floating point issue.

2017-03-19 - Added option for a second color to create a gradient.

More information

Published 125 days ago
StatusReleased
CategoryAssets
AuthorAndrii
Tags2D, effect, light, unity, unity2d, unity3d

Download

Download NowName your own price

Click download now to get access to the following files:

LightRays.unitypackage 24 kB

Comments

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

(+1)

Thanks, that is amazing!!!

(+1)

thanks for all of your assets, youre actually godly.

(+1)

Thanks! It really does add a nice touch to the background