deck.gl: [Bug] Bitmap layer on Maplibre globe is not fully displayed

Description

Screenshot 2025-01-16 at 0 25 37

Usual workarounds parameters: { cull: true, depthTest: false } or getPolygonOffset: () => [0, -1000] don’t seem to help here.

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CartoLayer
  • ArcGIS

Expected Behavior

Maplibre globe is covered by image

Steps to Reproduce

https://codepen.io/zakjan/pen/RNbJpvx

Environment

  • Framework version: 9.1.0-beta.3
  • Browser: Chrome 131.0.6778.86
  • OS: macOS 14.6.1

Logs

none

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (14 by maintainers)

Most upvoted comments

Stencil test is disabled already.

I have found that the visual pattern resides in depth buffer. Confirmed by inverting the depth test with depthCompare: 'greater', this renders an opposite visual pattern.

Image

I’m sorry for misleading, my previous attempt with clearing stencil buffer clears depth buffer implicitly as well.

I’m closing this, disabling depth test by depthCompare: 'always' is a solution for BitmapLayer in the codepen.