Implement female uniform masking.

This commit is contained in:
Pieter-Jan Briers
2020-01-21 18:11:15 +01:00
parent 5481959018
commit 9beb7e48d4
14 changed files with 104 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
void fragment() {
COLOR = vec4(0);
}

View 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);
}