Question by
alicewithalex · Jul 13, 2020 at 05:46 PM ·
renderingshaders
DepthMask Shader using URP
Hello there!
Currently I Working on some project, where I need to cut some piece of mesh using DepthMask Shader with this lines:
Shader "Custom/DepthMask" {
SubShader {
Tags {"Queue" = "Geometry-10" }
ColorMask 0
ZWrite On
Pass {}
}
}
But... In URP This Shader Some Grey Color like this, instead of transparency like in default Render Pipeline
Can anyone help me? Very Appreciate this!
screenshot-30.png
(160.5 kB)
Comment
Answer by Gaboandres94 · Mar 06, 2021 at 01:28 AM
@alicewithalex Do you found the solution to this? i have the same problem :C
Your answer
Follow this Question
Related Questions
Broken colors when updating from Unity 2017 to 2018 0 Answers
URP Render Feature missing in final output 0 Answers
Modifying shader requires restarting application 0 Answers
Rendering multiple objects above the rest of the scene without rendering above each other in URP 0 Answers
How to change/fix Shader Graph node connection ports 3 Answers