Custom layer incorrectly renders the alpha color channel if the color has a white tint.
@ansis is already working on this.
Since Oct 17, 2018.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
if the color has a white tint, alpha color channel gets Incorrectly rendered
Lib version is **mapbox-gl-js: 0.50.0**
**Example:**
https://jsfiddle.net/boyur/2f5tmj7x/70/
_For example orange color with white tint gets rendered as:_
`gl_FragColor = vec4(1.0, 0.7, 0.5, 0.1);`

_Red color is rendered correctly:_
`gl_FragColor = vec4(1.0, 0.0, 0.0, 0.1);`

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.