Search Unity

Unity 4 Surface Shader - Spot Light direction

Discussion in 'Shaders' started by MaT227, Dec 16, 2014.

  1. MaT227

    MaT227

    Joined:
    Jul 3, 2012
    Posts:
    628
    Hey everyone,

    Is there a way to detect spotlight orientation in a surface shader lighting function in Unity 4 ?
    Thanks a lot !
     
  2. MaT227

    MaT227

    Joined:
    Jul 3, 2012
    Posts:
    628
    Any idea ?