9 lines
168 B
GLSL
9 lines
168 B
GLSL
#version 450
|
|
in vec3 vcolor;
|
|
in vec3 wnormal;
|
|
out vec4 fragColor;
|
|
void main() {
|
|
fragColor = vec4(vcolor, 1.0);
|
|
fragColor.rgb = pow(fragColor.rgb, vec3(1.0 / 2.2));
|
|
}
|