16 lines
256 B
GLSL
16 lines
256 B
GLSL
|
#version 430 core
|
||
|
|
||
|
uniform sampler2D colorTexture;
|
||
|
|
||
|
in vec3 vecNormal;
|
||
|
in vec3 worldPos;
|
||
|
|
||
|
in vec2 outVertexTexCoord;
|
||
|
|
||
|
out vec4 outColor;
|
||
|
void main()
|
||
|
{
|
||
|
vec4 textureColor = texture2D(colorTexture, outVertexTexCoord);
|
||
|
outColor = vec4(textureColor.rgb,1);
|
||
|
}
|