Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Light flare flickering problem

Discussion in 'Editor & General Support' started by GizmoBradwell, Sep 3, 2012.

  1. GizmoBradwell

    GizmoBradwell

    Joined:
    Dec 27, 2010
    Posts:
    67
    Hi,

    There's a couple of instances where the light flares on my spotlights are flickering, and it relates to transparent cutouts:

    1. A script fades in/out the main alpha of a material on an object on trigger. while the fade is happening, the flares flicker.
    2. A script orients this object towards the camera, it's a transparent cutout. while the orient script is enabled the flares flicker, not when off.

    Seems to be linked to the update functions and transparency in some way but I cannot think what's causing the flicker anyone have any suggestions? thanks!
     
  2. GizmoBradwell

    GizmoBradwell

    Joined:
    Dec 27, 2010
    Posts:
    67
    Sure i'm not the only one who's had flickering flares, any ideas?
     
  3. Antony-Blackett

    Antony-Blackett

    Joined:
    Feb 15, 2011
    Posts:
    1,772
    Flares can be blocked by collision. are there any hit boxes around at the same time? trigger zones or anything can do it.
     
  4. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Same here:
    Lensflares are flickering from very dark up to very bright.
    No way to find out why.
     
  5. DillonRobinson

    DillonRobinson

    Joined:
    Dec 23, 2013
    Posts:
    4
    Same here! I have a script that animates a material by changing the UV offset (or something) and flipping through frames on a png with a transparent BG.

    I've narrowed this down to being the sole cause. But I can't find any fixes online.Makes my flare flicker at the same rate of animation.