Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Portal? Stencil shader?

A topic by saszer created Sep 05, 2019 Views: 147 Replies: 1
Viewing posts 1 to 2

I'm trying to stencil raymarch such as

by adding this to template. 

>>In Properties:
[Enum(Equal,3,NotEqual,6)] _StencilTest ("StencilTest", int) = 6

>>In Subshader:

            Ref 1
            Comp [_StencilTest]

but it just breaks when i change it to equal ie-3. is it possible to create something alike?

What's the actual error message?