cesium icon indicating copy to clipboard operation
cesium copied to clipboard

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

Open happyfeet1996 opened this issue 5 years ago • 3 comments

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

happyfeet1996 avatar Jul 19 '20 09:07 happyfeet1996

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

lilleyse avatar Jul 19 '20 16:07 lilleyse

Regarding this issue, is there any solution? Currently, I have implemented some depth-based functions through post-processing, but these functions do not work with transparent materials.

AllenLmz avatar Oct 16 '24 00:10 AllenLmz

Hi @AllenLmz!

There hasn't been any activity on this item recently.

If you'd like to add more information about your use case, that may help us prioritize. If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR. Thanks!

ggetz avatar Oct 18 '24 13:10 ggetz