blob: e2b2c8fe21c5ae25f7f31ae58cdddcc600b0259a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#version 450
layout(location = 0) in vec3 position;
layout(location = 1) in vec2 texCoord;
layout(location = 0) out vec4 fragColor;
layout(binding = 3) uniform sampler2D diffuseTexture;
void main()
{
fragColor = texture( diffuseTexture, texCoord );
}
|