I'm trying to stencil raymarch such as http://magistudio.net/work/iol-w8-duality-portals
by adding this to template.
>>In Properties:
[Enum(Equal,3,NotEqual,6)] _StencilTest ("StencilTest", int) = 6
>>In Subshader:
Stencil{
Ref 1
Comp [_StencilTest]
}
but it just breaks when i change it to equal ie-3. is it possible to create something alike?