Some YAML cleanup (#840)
This commit is contained in:
committed by
GitHub
parent
b343f61268
commit
69ca8c2153
7
Resources/Shaders/stencil_mask.swsl
Normal file
7
Resources/Shaders/stencil_mask.swsl
Normal file
@@ -0,0 +1,7 @@
|
||||
void fragment() {
|
||||
if (texture(TEXTURE, UV).a == 0) {
|
||||
discard; // Discard if no alpha so that there's a hole in the stencil buffer.
|
||||
}
|
||||
|
||||
COLOR = vec4(0);
|
||||
}
|
||||
Reference in New Issue
Block a user