Skip to content

fix(extensions): MaskExtension compatible with TerrainExtension - #10187

Merged
felixpalmer merged 8 commits into
masterfrom
felix/mask-with-terrain
May 13, 2026
Merged

felixpalmer merged 8 commits into
masterfrom
felix/mask-with-terrain

Conversation

@felixpalmer

@felixpalmer felixpalmer commented Apr 7, 2026 •

Copy link
Copy Markdown
Collaborator

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

coveralls commented Apr 8, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 83.791% (-0.005%) from 83.796% — felix/mask-with-terrain into master

@felixpalmer felixpalmer added this to the v9.3 milestone Apr 8, 2026
@felixpalmer
felixpalmer force-pushed the felix/mask-with-terrain branch from 41d7dfb to 030be26 Compare April 20, 2026 15:42
@felixpalmer felixpalmer changed the title fix(extensions): MaskExtension compatilble with TerrainExtension fix(extensions): MaskExtension compatible with TerrainExtension May 13, 2026
@felixpalmer
felixpalmer requested a review from chrisgervang May 13, 2026 07:02

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such a cool effect!

@felixpalmer
felixpalmer merged commit 80272ae into master May 13, 2026
3 checks passed
@felixpalmer
felixpalmer deleted the felix/mask-with-terrain branch May 13, 2026 20:56
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.

4 participants