Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
Fullscreen & Camera Effects
1/9
Efficient and beautiful screen space volumetric lighting for 2D, 3D and VR.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.45f1
Not compatible
Compatible
Not compatible
Description

Enhance your Unity projects effortlessly with Screen Space God Rays. Crafted by developers for developers, this asset offers top-notch screen space volumetric lighting for Unity URP in 2D, 3D and VR (Multi Pass + Single Pass Instanced), prioritizing resource efficiency and aesthetics.


Try out the WebGL demo here!


Support

Wiki & Issues on GitHub | Discord | Email


Features

  • Easy-to-use screen space volumetric system.
  • Many creative settings:
    • Variable softness, scale, range and color.
    • Optional support for masking by game objects.
    • Optional screen edge fadeout to reduce artefacts.
    • Variable projection offset to increase depth in 2D games.
  • Variable quality and scalabilty settings for cross-platform games:
    • Variable resolution scale, pruning, blur quality and more.
    • Separate 2D and 3D modes.
    • Artifact reduction options.
  • No limitations on count or position, place as many lights as you want.
  • VR support out-of-the-box (Multi Pass + Single Pass Instanced).

Requirements

  • Unity 2021.3 LTS - 2022.3 LTS
    • Full support
  • Unity 6
  • URP 10.0 or above

Limitations

  • Custom 2D shaders must write to depth buffer.*
  • Lights interact only with objects that are visible on the screen.
  • Doesn't support semi-transparent surfaces, it's either pass or block.
  • HDRP and Built-in support may be added in future. Feel free to reach out to us if this is important for you.

*Note on Unity Shader Graph and 2D:

SSGR requieres shaders to render depth information (aka. ZWrite On). Otherwise, objects will be "invisible" to SSGR, so they will not block light, and light will pass through them. Shader Graph doesn't expose ZWrite On, which makes it practically impossible in most cases to make the two work together. Shaders created with Amplify Shader or by code are not affected, as enabling ZWrite is trivial and has been tested and confirmed to work.


We therefore highly recommend using Amplify Shader or comparable solutions, if you are making 2D experiences and plan to use custom shaders (for 3D, this limitiation is not important).


If you purchased the asset, please leave us a rating or review!


Created with AI

Code for shooting objects and taking screenshots in the WebGL demo was done with ChatGPT 3.5. These are the only instances of AI usage.

Screen Space God Rays (URP 2D/3D/VR)

(4)
126 users have favourite this asset
(126)
$30
Taxes/VAT calculated at checkout
56 views in the past week
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR