Open nvkelso opened 5 years ago
@tallytalwar Can you take a look at the shader errors here, please? Looks like it fails completely in Tangram JS v0.18 while partially fails in v0.16, from waves
shader. There's also another one related to a shader color.
Tangram v0.16.1 [error]: Style: error compiling program for style 'dots-rev' (program key 'program')
Tangram v0.16.1 [error]: Style: error compiling program for style 'dots-rev-grid' (program key 'program')
Tangram v0.16.1 [error]: Style: error compiling program for style 'horizontal-bars' (program key 'program')
Tangram v0.16.1 [error]: Style: error compiling program for style 'waves' (program key 'program')
@nvkelso Sure, assigned myself to a few things in the description above.
Savings from lossless compressions.
@nvkelso over to you now.
For the waves shader, I like how the position is constant now, but can we do something similar to the landuse dots in Bubble Wrap dots – where the waves size is more "constant" looking for the 2 major waves, but the new wave that's introduced grows from a pixel to a full line width wave during the zoom?
=====
=====
to
=====
-----
=====
to
=====
=====
=====
From @meetar, about the wave pattern:
My 2¢: I'd suggest eventually switching to a texture, and crossfading between zooms, as in the current map. I have an example using Tangram here: http://tangrams.github.io/texture-demos/?url=scenes/texture-tiles.yaml
Cross fade for texture is good, but I think we can have a pure mathematical implementation for desired wave transitions.