Quantcast
Viewing all articles
Browse latest Browse all 388

Transparency using multiplicative blending

Hi forum,

 

i want to use order independent transparency (OIT)  by using the "multiplicative blending" approach outlined in this article.

http://www.openglsuperbible.com/2013/08/20/is-order-independent-transparency-really-necessary/

 

Out of the box Babylon.js already supports the "sorting approach", by implementing the third rendering step documented here: (http://doc.babylonjs.com/tutorials/Transparency_and_How_Meshes_Are_Rendered).

 

But this will not work for overlapping meshes (which I need). In addition the multiplicative approach does not need the sorting step.

 

I believe, that "injecting" an additional  step after rendering sorted alpha blended meshes and before rendering sprites would be a solution. My question are:

  • Does this approach make sense in the Babylon world?
  • And if so, how could  I implement it without changing Babylon itself

 

 

 


Viewing all articles
Browse latest Browse all 388

Trending Articles