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

Milkyway saturation effect (Fix #175) #242

Merged
merged 6 commits into from Aug 4, 2018
Merged

Conversation

alex-w
Copy link
Member

@alex-w alex-w commented Aug 4, 2018

Added ability to change saturation of the Milky Way texture

guillaumechereau and others added 6 commits August 4, 2018 18:00
Add a new method of StelPainter: setSaturationEffect(float v), that
allows to adjust the saturation of color textures.

I haven't tested the speed much, I hope this is not too slow.
Add a new config value (milky_way_saturation_effect, default to 0) to
adjust the saturation of the Milkyway texture.
Instead of -1 to 1.  This doesn't allow to oversaturate a texture, but
makes the code easier to understand (0 -> no saturation, 1 -> normal
saturation).
a) Added tooltip for saturation scale
b) Enabled the saving the saturation value into config.ini
c) Enabled formatting for some float values in config.ini
@alex-w alex-w merged commit 2952b1a into master Aug 4, 2018
@alex-w alex-w deleted the milkyway-saturation-effect branch August 4, 2018 12:59
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

Successfully merging this pull request may close these issues.

None yet

2 participants