Move the limit of gamma to not be zero from shader to lower property bound

This commit is contained in:
Ylva Selling
2022-06-22 02:51:37 -04:00
parent d23969b8d3
commit a78c4f7d28
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}