#version 430 core uniform sampler2D colorTexture; in vec3 worldPos; in vec2 texCoord; in vec3 color; out vec4 outColor; void main() { outColor = texture(colorTexture, texCoord); outColor *= vec4(color, 1.0); }