Search Unity

Shader Global Keyword....?

Discussion in 'Shaders' started by gtpdzbiz, May 22, 2011.

  1. gtpdzbiz

    gtpdzbiz

    Joined:
    Mar 21, 2011
    Posts:
    53
    We know that we can use EnableKeyword/DisableKeyword for multi-complie shader switching...but can we set a Global keyword for all the shades as well?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    like #define to create alias and alike?
     
  3. gtpdzbiz

    gtpdzbiz

    Joined:
    Mar 21, 2011
    Posts:
    53
  4. Mikkel-Gjoel990

    Mikkel-Gjoel990

    Joined:
    Feb 18, 2013
    Posts:
    3