mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Move the limit of gamma to not be zero from shader to lower property bound
This commit is contained in:
@@ -45,6 +45,6 @@ Fragment getFragment() {
|
||||
}
|
||||
|
||||
frag.depth = vs_depth;
|
||||
frag.color.rgb = pow(frag.color.rgb, vec3(1.0/(gamma + 0.000001)));
|
||||
frag.color.rgb = pow(frag.color.rgb, vec3(1.0/(gamma)));
|
||||
return frag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user