Search Unity

highlight like in games

Discussion in 'Scripting' started by ThierryH, Oct 25, 2014.

  1. ThierryH

    ThierryH

    Joined:
    Jul 1, 2014
    Posts:
    24
    Hello,
    how can I highlight / glowing the object as in games, when the object which you can pickup is highlighting / glowing?
     
  2. Suddoha

    Suddoha

    Joined:
    Nov 9, 2013
    Posts:
    2,824
    You could use a shader for it. You could add an example so we know how exactly you want it to look like.
     
    Magiichan likes this.
  3. ThierryH

    ThierryH

    Joined:
    Jul 1, 2014
    Posts:
    24
    for example this is somewhere about.
    Actually you can see this effect almost in every game, when the objects what you can use are glowing.
    And i`m not good yet in shaders, is there another way or some ready shaders?
     

    Attached Files:

  4. Suddoha

    Suddoha

    Joined:
    Nov 9, 2013
    Posts:
    2,824
    Oh, a bit different than i thought. I've never tried something like that to be honest and I don't have any clue what's the best way to achieve that. Unity Pro offers a glow/bloom postprocessing effect which probably could be used for that, but that's only available in Pro.

    Other people have tried writing shaders (e.g. this one click here), or tried to create fake-glow with the halo component. Latter may cause ugly results though.

    I can't really help you out any further at this point, as i also don't have much time to experiment. :/
    Hopefully someone with better solutions will post here soon.
     
    Magiichan likes this.
  5. ThierryH

    ThierryH

    Joined:
    Jul 1, 2014
    Posts:
    24
    ok, thanks for answer