texturing works, next will be images

This commit is contained in:
2019-08-30 00:50:45 -07:00
parent a2de3557f0
commit 3f14555c99
7 changed files with 178 additions and 16 deletions

View File

@@ -15,4 +15,6 @@ void main() {
// f_color.rgb = pow(f_color.rgb, vec3(1.0/gamma));
f_color = texture(tex, tex_coords);
float gamma = 0.5;
f_color.rgb = pow(f_color.rgb, vec3(1.0/gamma));
}