Search Unity

Fake Lights/LensFlare

Discussion in 'Scripting' started by shmo, Apr 13, 2011.

  1. shmo

    shmo

    Joined:
    Oct 27, 2010
    Posts:
    21
    I'm trying to create a strip of "fake" lights (a bit like landing lights on an airstrip I guess) where one light at a time is "brighter" than the others.

    I've tried creating a strip of lensflares and then altering the brightness in a script. This works great (except it looks disgusting)! I don't really want the lens/camera effects (I just really want the fake "light").

    I tried creating a strip of billboard planes instead but I could not seem to mimic the "brightness" effect provided by the LensFlare component.

    Does anyone have any advice on how I could achieve this? (Or a better approach?)

    Thanks
     
  2. garyhaus

    garyhaus

    Joined:
    Dec 16, 2006
    Posts:
    601
  3. shmo

    shmo

    Joined:
    Oct 27, 2010
    Posts:
    21
    Great, thanks garyhaus.

    I'll try it out.
     
  4. shmo

    shmo

    Joined:
    Oct 27, 2010
    Posts:
    21
    I've just realised that it's possible to modify the settings used for a LensFlare component. I am thoroughly ashamed of myself.