URP 的depth mask 效果怎么弄?
unity3d吧
全部回复
仅看楼主
level 1
unity 的URP 的 depth mask效果该怎么实现,内置渲染管线的depth mask 不支持了,好像需要用 renderer feature实现,找了一篇帖子,实现了部分效果,但是mask 前后的物体都被遮挡了,想实现mask只遮挡后面的物体,求指教
https://theslidefactory.com/see-through-objects-with-stencil-buffers-using-unity-urp/
2021年01月29日 06点01分 1
level 13
一样的呀 写入ztest不写入color,然后改渲染队列,保证mask先渲染
2021年01月29日 09点01分 2
您好,您方便说的再详细点吗?我是要修改shader还是 render feature的参数?
2021年02月01日 03点02分
level 1
B.R
大佬你好,我遇到了一样的问题。请问你结局了吗[泪]
2023年05月31日 08点05分 3
1