Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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