Search Unity

Combine backface and frontface normals from two passes?

Discussion in 'Shaders' started by Patan77, Apr 30, 2016.

  1. Patan77

    Patan77

    Joined:
    Mar 23, 2016
    Posts:
    8
    Hi, I'm trying to first get the backface normals in one Pass (Cull back) then output that into another pass and combine it with a frontface normals and then use that combined normals result for calculations in the second pass.

    I have looked at GrabPass but not sure if that's really what I'm looking for, to transfer data between passes.

    Thanks in advance.