Search Unity

Feedback Lens Flares affect overlay cameras and have no culling layer option

Discussion in 'Universal Render Pipeline' started by Spazius, May 8, 2023.

  1. Spazius

    Spazius

    Joined:
    May 22, 2018
    Posts:
    16
    It doesn't seem that there's any way to exclude lens flares from a camera as long as post processing is enabled which makes them incompatible with most things you'd want an overlay camera for, I suppose.

    A simple culling option could work, but as lens flares seem to be a type of post processing maybe they could benefit from having their own customizable volume override.
     
  2. lgarczyn

    lgarczyn

    Joined:
    Nov 23, 2014
    Posts:
    68
    The only solutions I found was to disable post-processing on the overlay camera, or "hide the sun" with a renderer that doesn't cast shadows but has properly set culling masks.
     
    Spazius likes this.