Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    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:
    9,795
    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:
    9,795
    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.