Transparency in 3D Wayfinder

August 22, 2014

Recently we introduced improved transparency in 3D Wayfinder handling to FRAK engine. It can now be configured between three transparency rendering modes: sorted, blended and stochastic.

Wayfinder blended transparency in 3D Wayfinder

The sorted mode is what used to be the default earlier. There is mainly for backwards compatibility and fallback reasons. This can be used for decent transparency. But the geometry has to be modeled while keeping in mind that transparent meshes are compared by their centers.

Failure case for the old algorithm:

old_transparency_in_3D_Wayfinder

The first of the new modes is blended and it uses the weighted blended order-independent transparency algorithm. Also with a few modifications related to handling alpha-mapped surfaces. This mode is the new default for the engine. Since floating point textures seem to be supported by most browsers these days.

Weighted Blended Order-independent Transparency:

weighted_blended_transparency_in_3D_Wayfinder

The second new mode is stochastic. It is still a work in progress. But a viable alternative for certain situations. Stochastic transparency in 3D Wayfinder works by using random noise to give each transparent surface a proportional probability of getting through to the camera. This provides slightly more physically correct results. Currently is a bit too noisy.

Stochastic Transparency:

stochastic_transparency_in_3D_Wayfinder

« »