Skip to content

fix(extensions): MaskExtension compatilble with TerrainExtension#10187

Open
felixpalmer wants to merge 7 commits intomasterfrom
felix/mask-with-terrain
Open

fix(extensions): MaskExtension compatilble with TerrainExtension#10187
felixpalmer wants to merge 7 commits intomasterfrom
felix/mask-with-terrain

Conversation

@felixpalmer
Copy link
Copy Markdown
Collaborator

@felixpalmer felixpalmer commented Apr 7, 2026

Background

Currently if the MaskExtension is used with TerrainExtension no draped layer is drawn. This PR fixes that:

Screenshot 2026-04-07 at 16 02 11

also works when masking terrain layer now:

Screenshot 2026-04-20 at 17 40 56

Change List

  • Do not hardcode effects: [] in TerrainPass to allow MaskEffect configuration through
  • Prevent TerrainEffect from including itself after effects: [] removal
  • Move dummy texture creation outside of TerrainEffect instead create lazily

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 8, 2026

Coverage Status

coverage: 83.742% (-0.006%) from 83.748% — felix/mask-with-terrain into master

@felixpalmer felixpalmer added this to the v9.3 milestone Apr 8, 2026
Comment thread modules/core/src/shaderlib/misc/dummy-texture.ts Outdated
@felixpalmer felixpalmer force-pushed the felix/mask-with-terrain branch from 41d7dfb to 030be26 Compare April 20, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants