Search Unity

Question Weird artifacting in volumetric lighting

Discussion in 'High Definition Render Pipeline' started by CrikeyRipper, Nov 26, 2022.

  1. CrikeyRipper

    CrikeyRipper

    Joined:
    Feb 29, 2020
    Posts:
    3
    Weird blocking artifacts in volumetric fog in spotlights.

    Moves when scene camera moves, also present in builds and play mode.
    The blocking overlaps with the rendering debugger's lighting, cluster debug view, but I'm not sure if related.

    I'm using Unity 2022.1.15f1 and HDRP 13.1.8

    How would I rectify?
    Thanks -- images attached. upload_2022-11-26_13-36-31.png upload_2022-11-26_13-36-48.png
    upload_2022-11-26_14-46-2.png
     
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Looks like you have to many lights affecting the clusters where the artifact is, and the spotlight get kicked out of them.
     
  3. CrikeyRipper

    CrikeyRipper

    Joined:
    Feb 29, 2020
    Posts:
    3
    So... How do I fix?
     
  4. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Try to reduce the number of lights that influence these clusters, by disabling lights, or lowering their range.
     
  5. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,073
    How many volumetric lights do you have ?
    Problem with volumetric light is that even when they are not lit-ing any solid surface they still lit the empty space, and add to the light number per cell.
     
  6. CrikeyRipper

    CrikeyRipper

    Joined:
    Feb 29, 2020
    Posts:
    3
    I've tried both suggestions, thanks btw

    Changing the range, fade distance and deactivating unused lights helped negate the problem.
    Changing volumetrics on lights didn't seem to change anything?