Skip to content
RED SAGSkills
hard20 pts · first answer countsrenderingperformancedepth-buffer

Discard makes opaque slower

Adding `discard` to an opaque shader for a cut-out effect made the whole pass slower, even for pixels that are never discarded. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions