Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add simple color-to-alpha for imagery #7727

Merged
merged 1 commit into from
Apr 10, 2019
Merged

Add simple color-to-alpha for imagery #7727

merged 1 commit into from
Apr 10, 2019

Conversation

likangning93
Copy link
Contributor

@likangning93 likangning93 commented Apr 9, 2019

CC #7463.

This PR adds a simple color-to-alpha setting on imagery layers with a threshold.
This is useful for imagery tilesets generated from NPOT textures with a tile format that doesn't support transparency (like jpeg) and may also be useful for analytics on false-color imagery like elevation data.

colorToAlpha

Play with it on Sandcastle here.

@cesium-concierge
Copy link

Thanks for the pull request @likangning93!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants