Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Portal? Stencil shader?

A topic by saszer created 17 days ago Views: 15 Replies: 1
Viewing posts 1 to 2

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?

What's the actual error message?