mapbox / mapbox/mapbox-gl-js

[Suggestion] having blur dependant on distance from camera (depth of field) with tilted map

Open
#8,594 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple: needs discussion :speech_balloon:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

I love the power of mapboxGL, but miss one feature : in other frameworks I see that WebGL supports depth-of-field (blurring objects further away from the camera) which leads to a more real/natural looking image vs having all evenly sharp regardless of distance. Having that feature would make mapboxGL even more powerful, because the GL part could do such on the fly (but I lack the lowlevel GL skills & core mapboxGL internals insights to do it myself). Would it be feasible to have such setting in a next version of mapboxGL ? For examples see any TiltShift imagery on Google to have an idea of what I am after ... Best regards, Jc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue proposes camera-distance-dependent blur for tilted maps using the mapbox-gl WebGL rendering pipeline, but names no files, tests, or entry points. First establish whether depth-of-field is feasible and define the supported behavior and acceptance criteria before implementation; completion would require the feature to work correctly in tilted views.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.