Search Unity

Toon Ramp on point lights

Discussion in 'Shaders' started by ffasce, Aug 31, 2015.

  1. ffasce

    ffasce

    Joined:
    Jul 3, 2015
    Posts:
    8
    Hi there,
    I'm trying to achieve a lighting effect similar to the one implemented in Tomb Raider Go.
    It's like this:

    File 31-08-15 07 15 55.png

    Which it does, apparently is to do a ramp on a point light. I guess that's achieved via a shader, but the ones I tried (like the awesome JMO Toon) don't react like that to light.

    Do you have any advice about what I can look into? I'm a newbie with shaders, but I can definitely learn something new here.

    Thanks!
     
  2. jermaineatl

    jermaineatl

    Joined:
    May 4, 2014
    Posts:
    9
    looks like a basic diffuse with light attenuation. for the light banding