cesium
cesium copied to clipboard
Strange Transparent Effect
This is the live demo
The question is:
Construct Viewer with orderIndependentTranslucency: true, the glasses look like this color:
with orderIndependentTranslucency:false, they look like another color:
Is this the same problem in 4170 4 ?
Looking forward to your help!
Maybe it's the correct transparent effect when disabling OIT?
@JiaoJianing Are you able to load the original model in BabylonJS or ThreeJS to see which setting is showing the right color?
@sanjeetsuhag sorry I can't find an available 3dtiles loader in BabylonJS or ThreeJS. But I seem to find a bug? When create renderState in Model.js it uses WebGLConstants.ONE as functionSourceRgb(Maybe it's OIT algorithm's requirement). But when construct Viewer using orderIndependentTranslucency:false, should it use WebGLConstants.SRC_ALPHA?
I believe this is an expected result of using https://github.com/CesiumGS/cesium/issues/4170#issuecomment-237333922.