Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Graphics Custom shaders and wireframes

Discussion in '5.4 Beta' started by AcidArrow, Jul 24, 2016.

  1. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,739
    My custom CG shaders no longer show proper wireframes in scene view when selected but instead the wireframes appear as the UVs at origin.

    I'm obviously missing something in my shaders, any pointers what to look for? I can't finding anything too relevant in the docs and it has made using the scene view quite annoying.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,739
    Aaaand I figured it out.

    I had a custom meta pass in my shaders and I had it first in the shader (before the normal pass) and that's what was triggering the above behavior.