Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

port better symbol fading with texture lookups #4579

Merged
merged 1 commit into from
May 20, 2016

Conversation

ansis
Copy link
Contributor

@ansis ansis commented Apr 2, 2016

  • this is simpler than predicting opacity based on current zooming speed
  • this is smoother: symbols don't flicker when changing zoom speed or
    when zooming in and out rapidly.

mapbox/mapbox-gl-js@1df1466

fix #4562


The second commit sets glActiveTexture before binding any texture and makes sure that texture unit is correctly passed to the shader.

👀 @jfirebaugh

@ansis ansis force-pushed the better-symbol-fading branch 2 times, most recently from 3b13b9c to fa8c4e4 Compare April 4, 2016 18:59
@ansis
Copy link
Contributor Author

ansis commented Apr 5, 2016

@kkaefer I think you're more familiar with this part of the code. Can you review this?

@kkaefer
Copy link
Member

kkaefer commented Apr 14, 2016

Getting the activeTexture commit merged separately in #4709

- this is simpler than predicting opacity based on current zooming speed
- this is smoother: symbols don't flicker when changing zoom speed or
  when zooming in and out rapidly.

mapbox/mapbox-gl-js@1df1466

fix #4562
@jfirebaugh jfirebaugh force-pushed the better-symbol-fading branch from fa8c4e4 to 9dff94c Compare May 20, 2016 19:03
@jfirebaugh jfirebaugh merged commit 4c62a55 into master May 20, 2016
@jfirebaugh jfirebaugh deleted the better-symbol-fading branch May 20, 2016 19:19
1ec5 added a commit that referenced this pull request Jun 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

port improved symbol fading
3 participants