11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
VFX
着色器
全屏与镜头效果
1/9
Efficient and beautiful screen space volumetric lighting for 2D, 3D and VR.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2021.3.45f1
不兼容
兼容
不兼容
描述

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!


使用 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)

(5)
126 users have favourite this asset
(126)
$30
增值税将在结算时计算
许可证类型:Single Entity
一个实体
适用于个人或小型企业。
多个实体
适用于大型企业或多用户。
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
2.2 MB
最新版本
1.1.0
最新发布日期
2024年10月25日
原始 Unity 版本
2021.3.45
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
$30