Moment-Based Order-Independent Transparency

Cedrick Münstermann, Stefan Krumpen, Reinhard Klein and Christoph Peters

In Proceedings of the ACM on Computer Graphics and Interactive Techniques 1:1 (Issue for the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games 2018)

Multi-layer alpha blending Moment-based OIT Moment-based OIT Ground truth

Multi-layer alpha blending, 4 layers, 16 ms

Moment-based OIT, ours, 6 power moments, 112 bits, 12 ms

Moment-based OIT, ours, 3 trigonometric moments, 224 bits, 16 ms

Ground truth, depth peeling, 123 ms

Our novel techniques for order-independent transparency (OIT) use moment-based reconstructions of the transmittance. They can handle complicated participating media and transparent surfaces such as the ship simultaneously. We use the same approach to render shadows for the transparent shadow casters. The timings are full frame times for a resolution of 1024² on an NVIDIA GeForce GTX 1080 Ti rendering 49 million transparent fragments.

Abstract

Compositing transparent surfaces rendered in an arbitrary order requires techniques for order-independent transparency. Each surface color needs to be multiplied by the appropriate transmittance to the eye to incorporate occlusion. Building upon moment shadow mapping, we present a moment-based method for compact storage and fast reconstruction of this depth-dependent function per pixel. We work with the logarithm of the transmittance such that the function may be accumulated additively rather than multiplicatively. Then an additive rendering pass for all transparent surfaces yields moments. Moment-based reconstruction algorithms provide approximations to the original function, which are used for compositing in a second additive pass. We utilize existing algorithms with four or six power moments and develop new algorithms using eight power moments or up to four trigonometric moments. The resulting techniques are completely order-independent, work well for participating media as well as transparent surfaces and come in many variants providing different tradeoffs. We also utilize the same approach for the closely related problem of computing shadows for transparent surfaces.

Notes

This work has been presented at the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games 2018 on 15th of May 2018. The author's version has been published on 4th of May 2018.

Downloads


Author's version

Video

Supplementary

Shader code