[Feat] Regression: cannot disable mipmap generation in 9.1
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Target Use Case
Hi.
First and foremost, thanks for a great library!
We have some custom deck.gl layers using custom shaders, that use uint32 textures which are not renderable. I am trying to upgrade from deck.gl 8.9 to 9.1, but currently there are no way to disable mipmaps for e.g. BitmapLayer, since it is hardcoded to true in utils/texture.ts, causing the layer to not render.
Proposal
Add mipmap to createTexture props.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in utils/texture.ts and trace the createTexture props into BitmapLayer. Confirm how mipmap generation is currently fixed to true, then check the relevant texture and BitmapLayer tests or examples. Done means callers can control mipmap generation and the reported uint32-texture case no longer fails to render.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, data-visualization
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100