12 lines
No EOL
196 B
GLSL
12 lines
No EOL
196 B
GLSL
#version 330
|
|
|
|
in vec4 color;
|
|
in vec2 out_coord_texture;
|
|
uniform sampler2D myTexture;
|
|
|
|
|
|
out vec4 frag_color;
|
|
|
|
void main(){
|
|
frag_color = color * texture2D(myTexture,out_coord_texture);
|
|
} |