Search Unity

Question Knight rider LED effect

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

  1. Deleted User

    Deleted User

    Guest

    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:
    3,276
    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:
    4,196
    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. Deleted User

    Deleted User

    Guest

    This is supercool, thank you very much. :)

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


    Roger