Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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,519
    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,519
    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.