Skip to content

fix: Allow MultiCOGLayer sampler to be overridden from default linear - #640

Open
willjnz wants to merge 1 commit into
developmentseed:mainfrom
willjnz:sampler-multicoglayer
Open

fix: Allow MultiCOGLayer sampler to be overridden from default linear#640
willjnz wants to merge 1 commit into
developmentseed:mainfrom
willjnz:sampler-multicoglayer

Conversation

@willjnz

@willjnz willjnz commented Aug 25, 2026

Copy link
Copy Markdown

Related to #215 (comment)

Can be simply used like

new MultiCOGLayer({
  ...
  bandSampler: { minFilter: "nearest", magFilter: "nearest" },
}),
Before (Linear sampler - blurred, with artifacts) After (Nearest sampler - sharp, clean)
Before 1 After 1
Before 2 After 2

@willjnz willjnz changed the title Allow MultiCOGLayer sampler to be overridden from default linear fix: Allow MultiCOGLayer sampler to be overridden from default linear Aug 25, 2026
@github-actions github-actions Bot added the fix label Aug 25, 2026
@willjnz
willjnz force-pushed the sampler-multicoglayer branch from f91b177 to 948dc7b Compare August 25, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant