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