learn-opengl/06-camera/shaders/4.2.texture.fs
2026-08-21 13:15:55 -04:00

12 lines
213 B
GLSL

#version 330 core
out vec4 FragColor;
in vec2 TexCoord;
uniform sampler2D texture1;
uniform sampler2D texture2;
void main()
{
FragColor = mix(texture(texture1, TexCoord), texture(texture2, TexCoord), 0.2);
}