mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 10:42:22 +00:00
docs(render): translucent icon sets blend as Cesium's translucent billboards, order-independently where the scene is; a test for a host that draws its blend itself
This commit is contained in:
1 parent
06516819da
commit
01788c1b10
5 files changed
+38
-11
No files matched your search
@@ -327,9 +327,10 @@ const EARTH_BOUNDS = new Cesium.BoundingSphere(
|
||||
* a newly loaded image, for a layer that does not render continuously.
|
||||
* `cull` says whether rows past the ellipsoid's horizon are hidden (by
|
||||
* default always). `translucent` says whether every row is drawn in one
|
||||
* alpha-blended pass, in row order, the last on top (Cesium's
|
||||
* `BlendOption.TRANSLUCENT`), in place of an opaque pass and a translucent
|
||||
* one (by default never). `pickObject` builds a row's pick object around the
|
||||
* alpha-blended pass, as Cesium's `BlendOption.TRANSLUCENT` billboards
|
||||
* are, in place of an opaque pass and a translucent one (by default
|
||||
* never); under order-independent translucency, overlapping rows blend
|
||||
* together, as those billboards do. `pickObject` builds a row's pick object around the
|
||||
* `primitive` drill picks hide it by (by default `{ id, iconSet, meta,
|
||||
* primitive }`).
|
||||
*/
|
||||
@@ -795,9 +796,8 @@ export class IconSetPrimitive {
|
||||
}),
|
||||
),
|
||||
];
|
||||
// Every row in one pass, blended in row order: equal depths pass, and
|
||||
// depth is written in place of sorting, as Cesium's translucent
|
||||
// billboards do.
|
||||
// Every row in one blended pass, equal depths passing and depth written
|
||||
// in place of sorting, as Cesium's translucent billboards are drawn.
|
||||
this._singleCommand = command(
|
||||
Cesium.Pass.TRANSLUCENT,
|
||||
this._programs.single,
|
||||
|
||||
Reference in new issue
Block a user