GraphicsTest/shad/frag.fs
2024-01-20 02:03:14 -06:00

13 lines
248 B
GLSL

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