Efficient Alpha Mask materials #16
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Z Prepass do: Opaque (no shader discard) -> Alpha Mask (with shader discard)
Then in main pass do: Opaque and Alpha Mask (with depthfunc = EQUAL, no discard) -> Alpha Blend (depthfunc = LEQUAL)