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. Dismiss Notice

how to start with shader?

Discussion in 'Shaders' started by A_never_kill, Oct 13, 2014.

  1. A_never_kill

    A_never_kill

    Joined:
    Jan 7, 2014
    Posts:
    81
    Hi all,

    As the title say i have to start with unity shaders.So please suggest me from where to start.I have no knowledge of this.So refer me something so that i can do well.

    Thanks
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,935
  3. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
    Firstly check out HLSL, this is the basic syntax used there is also GLSL and Cg you can google these lots of resources. Then there is the Unity documents, start with Surface Shaders, nearly everything you write will likely be Surface Shaders for more complex shaders you use Vert / Frag shaders, but these are a bit more complex and generally for when you want unlit shaders.
     
  4. A_never_kill

    A_never_kill

    Joined:
    Jan 7, 2014
    Posts:
    81
    ok i will.And let you know soon.!!!
     
  5. A_never_kill

    A_never_kill

    Joined:
    Jan 7, 2014
    Posts:
    81
  6. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
    Oh, one thing I forgot, make sure you download the Unity Shader source, a great start to figuring things out!
     
    A_never_kill likes this.
  7. A_never_kill

    A_never_kill

    Joined:
    Jan 7, 2014
    Posts:
    81
    sure man!! i will.but from where i can download the source,So that i can learn better.

    Thanks
     
  8. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
  9. A_never_kill

    A_never_kill

    Joined:
    Jan 7, 2014
    Posts:
    81