17 lines
282 B
GLSL
17 lines
282 B
GLSL
#version 450
|
|
|
|
layout (binding = 1) uniform sampler2D samplerColor;
|
|
|
|
layout (location = 0) in vec2 inUV;
|
|
layout (location = 1) in vec3 inNormal;
|
|
|
|
|
|
layout (location = 0) out vec4 outFragColor;
|
|
|
|
void main()
|
|
{
|
|
vec4 color = texture(samplerColor, inUV);
|
|
|
|
outFragColor = color;
|
|
|
|
} |