CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.65k stars 3.43k forks source link

ambient occlusion can not work when i set 3dtiles model transparent #9036

Open happyfeet1996 opened 4 years ago

happyfeet1996 commented 4 years ago

I used ambient occlusion to render 3dtiles model,by default, my 3dtiles model has transparent style,like this: image but when i used style to set all model transparent ,ambient occlusion can not work,like this: image here is my code to set style: image

lilleyse commented 4 years ago

Thanks for the bug report @happyfeet1996. Ambient occlusion operates on the depth texture and translucent geometry does not currently write depth.