Giter VIP home page Giter VIP logo

mapbox-gl-shaders's Introduction

Dear mapbox-gl-shaders contributors,

Thank you all for being such loyal supporters and champions of the mapbox-gl-shaders project. You helped write some amazing cross-platform GLSL. It has been an amazing ride, and we’re humbled by the opportunity to be part of something larger – something monolithic.

However — due to various factorsmapbox-gl-shaders is no longer able to operate as an independent git repository. We have made the tough decision to merge this repository into the mapbox-gl-js repository.

What you need to know:

Yours,

The GL Team

mapbox-gl-shaders's People

Contributors

ansis avatar brunoabinader avatar friedbunny avatar jfirebaugh avatar kapadia avatar kelvinabrokwa avatar kkaefer avatar mollymerp avatar mourner avatar tmcw avatar yhahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapbox-gl-shaders's Issues

fill_pattern shaders do not support data-driven opacity

The fill_pattern and fill_pattern_outline shaders don't use pragmas for the opacity property, so they don't support data-driven opacity. I'm not sure what will happen if you try to use fill-pattern plus a property function for opacity in gl-js.

Differences that need resolution

Eventually there should be no appearances of #if[n]def MAPBOX_GL_JS in the shader sources.

Note that the above links are to commits imported into gl-shaders from gl-js and gl-native: they include the shader changes, but not corresponding .js or .cpp changes. When porting, you'll want to loop up the original commit to see the related changes to .js or .cpp files.

Rationalize names

Each name should start with the layer type the shader is used for. Words should be separated with underscores.

  • iconsymbol_icon
  • sdfsymbol_sdf
  • linepatternline_pattern
  • linesdfpatternline_sdf_pattern
  • outlinefill_outline
  • outlinepatternfill_outline_pattern
  • patternfill_pattern

Document how #pragmas work

We need some documentation about how #pragma mapbox works, so that new developers encountering it can gain an understanding without needing to reverse engineer the gl-js and gl-native source.

@lucaswoj @brunoabinader, can you please coordinate on this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.