mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Every set blends as its blend says on the Cesium renderer
Each frame drawn, a set's host turns the draw commands it gave to the set's blend before the scene sorts them: opaque draws every command in the opaque pass unblended with depth writes; translucent alpha-blends every command without depth writes; additive adds colour times alpha without depth writes, still depth-tested, after the opaque commands and before the order-independent translucent pass. Ground commands only blend differently. Lines, shapes, models, quads, meshes and GPU icons take every blend, live through setOptions (models do not load again); GPU icons no longer refuse opaque or additive. The contract documents the semantics and the checks draw.sets.blend and draw.models.blend read the pixels. The package boundaries own setBlend.js and screenCluster.js.
This commit is contained in:
1 parent
a4a4366b13
commit
b741b0d5f5
11 files changed
+674
-15
No files matched your search
@@ -55,10 +55,12 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.lines.drape',
|
||||
'draw.lines.segments',
|
||||
'draw.lines.segmentStyles',
|
||||
'draw.sets.blend',
|
||||
'draw.ids',
|
||||
'draw.models',
|
||||
'draw.models.loadFailed',
|
||||
'draw.models.tint',
|
||||
'draw.models.blend',
|
||||
'draw.models.update',
|
||||
'draw.motion',
|
||||
'draw.motion.arc',
|
||||
|
||||
Reference in new issue
Block a user