transformation_visualizer/assets/shaders/base.frag
2026-07-21 13:17:10 +02:00

12 lines
220 B
GLSL

#version 120
varying vec2 texcoord;
varying vec4 color;
varying vec2 pixel_position;
uniform sampler2D texture0;
uniform vec4 colDiffuse;
void main() {
gl_FragColor = texture2D(texture0, texcoord) * colDiffuse;
}