13 lines
No EOL
205 B
GLSL
13 lines
No EOL
205 B
GLSL
#version 150
|
|
|
|
uniform sampler2D materialTex;
|
|
uniform vec4 color;
|
|
|
|
in vec2 fragTexCoord;
|
|
in vec3 fragVert;
|
|
|
|
out vec4 finalColor;
|
|
|
|
void main() {
|
|
finalColor = texture(materialTex, fragTexCoord) * color;
|
|
} |