Search Unity

Create Shaders using C#

Discussion in 'Shaders' started by resetme, Dec 2, 2019.

  1. resetme

    resetme

    Joined:
    Jun 27, 2012
    Posts:
    192
    Hi there,

    I saw this technique a while ago (Tech Talk Unite Unty) but I can't find it again.

    The idea is to use own defines and create all shaders variant files before build. Like using a Uber Shaders but getting all shaders file variants.

    I remember some devs went that path to avoid the keyword limitations on shaders.

    Do anybody have any clue about it or saw the same video as me?
     
  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    940
  3. resetme

    resetme

    Joined:
    Jun 27, 2012
    Posts:
    192
    very interesting, but is from unity 2019?
     
  4. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    940
    Yes, are you not able to use the more recent version?
     
  5. resetme

    resetme

    Joined:
    Jun 27, 2012
    Posts:
    192

    not at all.

    Going keep looking for that youtube video.

    Thank you.