Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is there any shader for specular shine to move from one side to other side of object?

Discussion in 'Shaders' started by Umresh, Nov 18, 2014.

  1. Umresh

    Umresh

    Joined:
    Oct 14, 2013
    Posts:
    56
    Hi, Is there any shader for dynamic specular shine to move from object's one end to other end without moving the object.
    Reference is the title of angry birds EPIC.
    In this specular moves from left to right.
     

    Attached Files:

  2. aubergine

    aubergine

    Joined:
    Sep 12, 2009
    Posts:
    2,878
    Its not specular but just a shiny (white spherical or eliptic) texture moving from one direction to other with an additive blending on the original mesh. I used to do alot of this kind of effects with Macromedia Flash (Yes it was macromedia once before adobe bought and destroyed the thing)

    Although you could do it with light specular as well or even fancier stuff, my "Aubergines Water Shaders" have an example on how to do specular on both sides of 1 water mesh.