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.37k stars 3.38k forks source link

Objects with translucent classification are rendered above all other translucent objects #9419

Open ebogo1 opened 3 years ago

ebogo1 commented 3 years ago

Sandcastle example: link

Browser: Firefox

Operating System: Linux

@lilleyse found this in #9399 - from a comment in that PR:

The translucent classification framebuffer is always rendered above all translucent objects in the scene. I don't think this is fixable without some major changes to the approach. GlobeTranslucency doesn't have this problem because it renders classification to a framebuffer first and then creates a derived command for each TRANSLUCENT command that applies the classification. I.e. classification is not applied as a screen-wide post process.

f

ggetz commented 10 months ago

This was also reported by a user. They supplied this sandcastle example to illustrate the issue.