We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA) 与Vector仍然有差距, 不过已经有层次感了.
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/11521035/blending-with-html-background-in-webgl
https://www.khronos.org/registry/webgl/specs/latest/1.0/#PREMULTIPLIED_ALPHA
https://limnu.com/webgl-blending-youre-probably-wrong/, Futher Reading
https://www.w3.org/TR/compositing/#whatiscompositing
Sorry, something went wrong.
https://github.com/mapbox/mapbox-gl-js/blob/4c1ce2d2c1a504a1984073672d15288f92302b4d/src/render/painter.js#L132
so,最后到什么程度了。 其实每个vertex 的颜色给个透明度,颜色明快些,最后要素叠加起来视觉上就没这么硬了,会舒适很多。
@alex2wong , 谢谢关注! 最近我们正在开发一个基于矢量瓦片的新轮子, biglayer里的逻辑会合并迁移过去, 所以这里的开发暂时停止了.
No branches or pull requests
Vector渲染结果:
Point渲染结果:
Point渲染结果(改变blendFunc后)
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
与Vector仍然有差距, 不过已经有层次感了.
The text was updated successfully, but these errors were encountered: