15 lines
207 B
GLSL
15 lines
207 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;
|
||
|
}
|