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.

  • $\begingroup$ 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. $\endgroup$ – Derag Dec 5 '18 at 9:26
  • $\begingroup$ 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. $\endgroup$ – Alexey L Dec 5 '18 at 20:13
  • 2
    $\begingroup$ Unlike answers, comments don't always stay around forever, so it's worth editing the answer to include this additional useful information. $\endgroup$ – trichoplax Dec 8 '18 at 23:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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