Search Unity

Does an opaque shader with alpha clipping cause overdraw on opaque regions

Discussion in 'General Graphics' started by zacharyhunterlund, Jul 6, 2022.

  1. zacharyhunterlund

    zacharyhunterlund

    Joined:
    Mar 7, 2021
    Posts:
    54
    Hello,

    I am making a mobile platformer with sort of a Paper Mario/Diorama style. Here is what it looks like so far:



    If you look at the bottom right, the tree (which was made using Blender) has two materials. Both are opaque materials. One material is used around the edges of the mesh, and has alpha clipping enabled. The other material is on the majority of the mesh and does not have alpha clipping enabled.



    The reason I am trying this is in order to minimize overdraw. However, I don't know if I actually need two separate materials to achieve this. Will an opaque material with Alpha Clipping still cause overdraw when rendering opaque pixels?