Search Unity

Multipass surface shaders

Discussion in 'Community Learning & Teaching' started by varfare, Nov 22, 2014.

  1. varfare

    varfare

    Joined:
    Feb 12, 2013
    Posts:
    227
    I was struggling with getting multipass effect inside surface shaders. I know that there is this old topic on the forums but there wasn't clear answer to how do multipass. That's why a wrote this simple tip on writing those. You can check it out on my blog right here:
    http://ethicalmotion.blogspot.com/2014/11/unity3d-quick-tip-multipass-surface.html

    In this tip I am posting a sample code which allows you to create shader with separate qubemap reflection and specular and a multipass structure explanation. If you need more info about this topic just let me know.
     
    Last edited: Feb 6, 2015