Search Unity

Overlapping transparent planes

Discussion in 'Shaders' started by johnnydj, Jun 3, 2013.

  1. johnnydj

    johnnydj

    Joined:
    Apr 20, 2012
    Posts:
    211
    Hi all, I'm working on a tower defense where all of my enemies are on a simple 4 vertex plane with transparent material.
    I'm using the Mobile/Transparent/VertexLit shader right now, but mostly any transparent shader which Unity has makes
    FPS drop when multiple enemies are on top of each other which I believe makes redrawing?

    Is there any way to force to not render something if it is on top of another object?
    Or is there any way to improve performance for transparent overlapping planes?