Search Unity

Rimlight lightmapped shader

Discussion in 'Shaders' started by kondrup, Mar 15, 2012.

  1. kondrup

    kondrup

    Joined:
    Apr 23, 2009
    Posts:
    205
  2. kondrup

    kondrup

    Joined:
    Apr 23, 2009
    Posts:
    205
    I found a solution - not 100% optimal but it will do.

    Simply bake the lightmap into channel 1 in the diffuse slot - gives correct result.
    It gives some limitations though :/