Efficient Alpha Mask materials #16

Open
opened 2024-09-01 08:35:35 +00:00 by sergeypdev · 0 comments
Owner

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)

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)
sergeypdev added this to the TODO project 2024-09-01 08:35:35 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sergeypdev/engine#16
No description provided.