Search Unity

Help Wanted Knight rider LED effect

Discussion in 'Shader Graph' started by taunushelden, Sep 4, 2019.

  1. taunushelden

    taunushelden

    Joined:
    May 3, 2015
    Posts:
    3
    Hello I want to create a knight rider LED Effect like this:


    Is there anyone who already has done something like this or has an idea how to start this effect in shader graph.

    Thank you all

    Roger
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    2,804
    Here is a idea how to get started:

    upload_2019-9-6_19-2-25.png
     

    Attached Files:

  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    1,927
    Not exactly what you're trying to do, but similar. I use this to cause sequential blinking on a light strip:

    LightStrip.gif

    The important part of the shader is the emission, which computes a step function to sequentially turn on/off different parts of the map. The example you're using isn't as on/off as this, but it might give you an idea how to get started.

    upload_2019-9-9_14-51-50.png

    Blinking.gif
     

    Attached Files:

    fffMalzbier likes this.
  4. taunushelden

    taunushelden

    Joined:
    May 3, 2015
    Posts:
    3
    This is supercool, thank you very much. :)

    There should be an extra thread with more of these kind of examples here.


    Roger