You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ansis and I have discussed the possibility of allowing people to write custom glsl shaders. While the learning curve is fairly steep, the possibilities are pretty mindblowing when considering integrated data vis and animated, interactive basemaps.
I know this is closed but I'd love to see it for things like controlling saturation or other levels on a raster layer.
custom shaders on a layer could potentially enable arbitrary clipping via mask images which would be fun too.
@mourner oops I didn't see the other levels besides opacity before. I still believe that this could lead to very interesting customizations! depth of field, blurs, animations and a lot of other shiny stuff 💯
This was inadvertently closed due to some 🌳 history magic (the commit message that closed this intended to close style-spec's issue of the same number) — reopening.
Reacted by Lucas Wojciechowski and Konstantin Käfer
@mourner applying shaders to map layers (as in your demo) — is very, very powerful and awesome thing and very expected from a webgl-map. Did something move in this direction?
The hack proposed by @mourner no longer work since 0.39
I used that a lot. If someone can fix the hack, it would be very appreciated, since it worked very well and was easy to implement! Until we get an official way to do this.
Activity
jfirebaugh commentedon Jun 11, 2015
No current plans to do this.
enjalot commentedon Jan 20, 2016
I know this is closed but I'd love to see it for things like controlling saturation or other levels on a raster layer.
custom shaders on a layer could potentially enable arbitrary clipping via mask images which would be fun too.
[-]Custom shaders[/-][+]Support custom layer types[/+]lucaswoj commentedon Jan 21, 2016
This is worth leaving open, now that we "support" this in gl-native
mourner commentedon Jan 21, 2016
@enjalot can't you control saturation and other stuff with raster paint properties?
lucaswoj commentedon Jan 21, 2016
As I said in #1742, this would be less scary if we had a GL state tracking abstraction #145
enjalot commentedon Jan 21, 2016
@mourner oops I didn't see the other levels besides opacity before. I still believe that this could lead to very interesting customizations! depth of field, blurs, animations and a lot of other shiny stuff 💯
17 remaining items
Remove gl-style-spritify, document sprites
lbud commentedon Feb 1, 2017
This was inadvertently closed due to some 🌳 history magic (the commit message that closed this intended to close style-spec's issue of the same number) — reopening.
[-]Support custom WebGL-powered layer types[/-][+]Support custom-shader-powered layer types[/+][-]Support custom-shader-powered layer types[/-][+]Support custom layer types powered by WebGL [/+]gerbsen commentedon Jul 18, 2017
Hey there, are there any new plans/timelines for this feature?
terion-labs commentedon Aug 25, 2017
@mourner applying shaders to map layers (as in your demo) — is very, very powerful and awesome thing and very expected from a webgl-map. Did something move in this direction?
kaligrafy commentedon Dec 7, 2017
The hack proposed by @mourner no longer work since 0.39
I used that a lot. If someone can fix the hack, it would be very appreciated, since it worked very well and was easy to implement! Until we get an official way to do this.
mourner commentedon Dec 7, 2017
Hey, I'll try to update the hack to work with recent releases. However should really look into exposing a proper API for this.
kaligrafy commentedon Dec 7, 2017
Thanks a lot! I hope there will be an API for that too!
mourner commentedon Apr 5, 2018
Opened a new issue with a summary of our current thinking about this API: #6456 — closing this issue in favor of the new one. Let's discuss there.