ESRI i3s Scene Layer Transparency Adjustment
davidfungf opened this issue · comments
I want to adjust the display transparency of an ESRI i3s scene layer https://tiles.arcgis.com/tiles/6j1KwZfY2fZrfNMR/arcgis/rest/services/Buildings_L1/SceneServer on deck.gl. Currently, we can only modify the color by _getMeshColor
deck.gl function. May I know any function to adjust the layer transparency?
All deck.gl layers including the Tile3DLayer
support an opacity
property: https://deck.gl/docs/api-reference/core/layer#opacity
While that lets you turn on transparency, you may not get perfect results. Generally, 3D transparency is a hard problem. Generating visually correct results involves techniques like sorting all meshes in depth order every frame before rendering. deck.gl currently does not provide support for this.