mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-13 06:42:35 +00:00
Added initial gamma correction
This commit is contained in:
@@ -23,4 +23,7 @@ void main() {
|
||||
fragColor = vec4(result, 1.0);
|
||||
fragNormal = outNormal;
|
||||
fragUV = outUV;
|
||||
|
||||
float gamma = 2.2;
|
||||
FragColor.rgb = pow(FragColor.rgb, vec3(1.0 / gamma));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user