Closed yoyomule closed 7 years ago
The reason is that xeogl and THREE just use different WebGL blend functions. xeogl was using gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
while THREE uses gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA);
.
There are advantages and disadvantages with each, but for now, I have changed xeogl to use the same function as THREE.js, since it seems to be the best for rendering windows like these.
Fix confirmed with this example:
http://xeogl.org/examples/#featured_VianneyHouse2
Going forward, I will see if I can make that configurable.
Description of the problem
I compared the glass and threejs of the xeogl system. The clarity of the xeogl glass is not ideal. Do I need to make some adjustments? ...
vianney_house_2.zip