Hello!
I have a problem with Stencil.
I saw this blog and tried to do the same to use it on a 3D card . ![]()
I create “Renderer Feature” that I attribute to layers. One for the items I want hidden and another for my window that will show them.
Renderer Features for Hidden Objects

Renderer Features for windows

Unfortunately, I have a problem because my “windows” to see hidden objetcs do not work on transparent elements. ![]()
All the elements with transparency (particles or assets with transparent material) disappear.

I guess the problem is with my “windows” shader
I
Shader "Custom/StencilMask"
{
Properties{}
SubShader{
Tags {
"RenderType" = "Opaque"
}
Pass{
ZWrite Off
}
}
}
I know that my render type is not transparent but the problem is that I am a beginner to shader and I don’t know what to put ^^ ’
I tried to replace it with
Tags {
“Queue”=“Transparent”
“RenderType” =“Transparent”
}
But that did not work ![]()
If anyone has an idea ^^ ’