mirror of
https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git
synced 2025-01-22 07:08:51 -05:00
31 lines
463 B
Plaintext
31 lines
463 B
Plaintext
Shader"Stencil/DepthMask"
|
|
{
|
|
Properties
|
|
{
|
|
[IntRange] _StencilID ("Stencil ID", Range(0, 255)) = 0
|
|
}
|
|
|
|
SubShader
|
|
{
|
|
Tags
|
|
{
|
|
"RenderType" = "Opaque"
|
|
"Queue" = "Geometry-1"
|
|
"RenderPipeline" = "UniversalPipeline"
|
|
}
|
|
|
|
Pass
|
|
{
|
|
Blend Zero One
|
|
ZWrite Off
|
|
|
|
Stencil
|
|
{
|
|
Ref [_StencilID]
|
|
Comp Always
|
|
Pass Replace
|
|
}
|
|
}
|
|
}
|
|
}
|