Skip to content
New issue

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

It should be possible to color grade the tiles. #84

Open
podusowski opened this issue Nov 30, 2023 · 2 comments
Open

It should be possible to color grade the tiles. #84

podusowski opened this issue Nov 30, 2023 · 2 comments

Comments

@podusowski
Copy link
Owner

Walkers was originally derived/extracted from Widnet - a situation awareness app. As such, it is crucial that the app is operable at night, without emitting too much excessive light. To help with that, it should be possible to apply some postprocessing to the downloaded tiles.

It seems that image crate might already be capable of that.

image

I really love the ICEYE's images look:
image

@woelper
Copy link

woelper commented Dec 13, 2023

Thanks for your great library!
I don't think you need to color the images with image - you should be able to just tint the texture.
I think for example here (https://github.com/podusowski/walkers/blob/3f3ca7aa67ef3f4ebfb63cec8477f35bfd935ccb/walkers/src/tiles.rs#L47C14-L47C30) you could just use any color other than white in add_rect_with_uv to multiply by that color, thus darkening it.

@podusowski
Copy link
Owner Author

I'll give it a shot (once I finally get into it :) ), thanks!

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

No branches or pull requests

2 participants