Notifications
bg
风暴
Programmer
0
Likes
0
Followers
0
Connections
All
Articles0
Games0
Showcases0
Column0
Jobs0
请问在URP中,如何为2D sprite实现景深效果?使用URP自带的后处理中的depth of field效果,不论怎么调节参数,摄像机的距离,sprite的z值,屏幕内显示的画面都是一样程度的模糊,或者当高斯模糊下start值大于相机的far clip plane时,屏幕内显示的画面都没有任何模糊效果,无法实现根据相机距离产生的景深效果,正交相机和透视相机都是如此。查了很多资料也没有解决办法,但是国外论坛上看到有人说和shader中的ZWrite Off有关,我看了URP默认的shader确实有关闭深度缓存,但是具体应该要怎样修改呢

风暴joined anevent
Unity 2019 最新2D功能实例讲解
ONLINE EVENT
1:00 PM - 2:00 PM October 30, 2019 (Local: UTC-5)
13:00 - 14:00 Oct 30, 2019 (Local: UTC-5)
1049 Participants
About Me
No description
See more
Skills
No skills added yet
Certifications (0)
Import
See all
风暴's liked projects (0)
No likes yet
Following (0)
Not following anyone yet
Followers (0)
No followers
Following Companies (0)
Not following anyone yet