Does anyone know any method to remove ghosting in volumetric lighting?

When light move it leaves trail behind, i would like to remove it. Volumetrics are Bart Wronski style (in frustum) with exponential temporal accumulation.

I have tried neighborhood clamp, Karis and variance clipping, both remove ghosting but also introduce other artifacts.

Temporal by definition will ghost. I’d limit past frame sampling, apply weight < 0.5, limit movement etc.

  • Yep, and that why there are techniques like neighborhood clamping to eliminate ghosting but it works poorly with volumetrics. So I am looking for something targeted at volumetric, maybe changing weight according to prev frame and current. Changing weight to lower constant value won't help because trails are still noticeable and quality of volumetric is reduced. – Derag Dec 5 at 9:26
  • I’d also try decreasing resolution of volume rendertarget and just work with it and remove temporal altogether. For fast movements it should look ok. – Alexey L Dec 5 at 20:13
  • 1
    Unlike answers, comments don't always stay around forever, so it's worth editing the answer to include this additional useful information. – trichoplax Dec 8 at 23:06

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.