mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
GSLS TextureLayerSettings supports signed data
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
float performLayerSettings(float currentValue, PerLayerSettings settings) {
|
||||
float newValue = currentValue;
|
||||
|
||||
newValue = pow(newValue, settings.gamma);
|
||||
newValue = sign(newValue) * pow(newValue, settings.gamma);
|
||||
newValue = newValue * settings.multiplier;
|
||||
newValue = newValue * settings.opacity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user