This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
[core] Update RasterShader to support crossfading - #5372
Merged
Merged
Conversation
brunoabinader
force-pushed
the
brunoabinader-raster-fade
branch
from
June 19, 2016 16:42
21ae382 to
f714152
Compare
Contributor
Author
Solved by adding a new Buffer |
brunoabinader
force-pushed
the
brunoabinader-raster-fade
branch
2 times, most recently
from
June 19, 2016 17:53
c8ff87c to
b7048bc
Compare
Contributor
Author
brunoabinader
force-pushed
the
brunoabinader-raster-fade
branch
2 times, most recently
from
June 20, 2016 11:14
272da62 to
deb96ee
Compare
brunoabinader
force-pushed
the
brunoabinader-raster-fade
branch
2 times, most recently
from
July 1, 2016 17:20
abbacdf to
81f15bf
Compare
brunoabinader
force-pushed
the
brunoabinader-raster-fade
branch
from
July 2, 2016 15:05
81f15bf to
aa1fa49
Compare
| VertexArrayObject backgroundPatternArray; | ||
| VertexArrayObject backgroundArray; | ||
|
|
||
| VertexArrayObject coveringPlaingOverdrawArray; |
Contributor
Author
There was a problem hiding this comment.
We apply the same alias technique for selecting original/overdraw VAOs, as seen in https://github.com/mapbox/mapbox-gl-native/pull/5372/files/f94b354b53ba2fc5d12aade7a82790965784afd9..d8a10ac509d5f56120eb878b5e330dcb4c7abf1b#diff-bf2327a9287221e6bae1de29dc0c3400R16 for example.
Member
There was a problem hiding this comment.
I'm specifically referring to coveringPlaingOverdrawArray`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

So far this has been the trickiest pending task from mapbox/mapbox-gl-shaders#1. I'm afraid this will require help from someone with more GL expertise. I've started updating
RasterShaderaccording to the new shader code and am assuming thattile == parentTilefor testing purposes.Question: If
u_buffer_scaleis always 1 - why do we need to expose this as a uniform? I assume we want to eventually expose this as as data-driven style property?Part of #115.
👀 @kkaefer @lucaswoj @ansis @jfirebaugh