Search Unity

Organizing Shaders and Folders

Discussion in 'Shaders' started by monkeyscience, Jun 1, 2013.

  1. monkeyscience

    monkeyscience

    Joined:
    Dec 13, 2011
    Posts:
    705
    I notice Unity's list of shaders and sub-directories are alphabetized but split properly so all the sub-directories appear below all the shaders.



    How can I make my shaders and shader dirs do this? When I add directories in ShaderLab, e.g.:
    Code (csharp):
    1.  
    2. Shader "Marmoset/Transparent/Bumped Diffuse IBL" {
    3. ...
    4. }
    5.  
    They're all jumbled together:
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,409
    Its seems to work fine here..
     

    Attached Files: