Skip to content

Instantly share code, notes, and snippets.

View RedBigz's full-sized avatar
💜
working on TABG VR

red RedBigz

💜
working on TABG VR
View GitHub Profile
@ewandennis
ewandennis / UnityStencilMask.shader
Created January 2, 2018 20:42
A simple stencil buffer masking shader for Unity
Shader "Custom/StencilMask" {
Properties {
_StencilMask("Stencil mask", Int) = 0
}
SubShader {
Tags {
"RenderType" = "Opaque"
"Queue" = "Geometry-100"
}