diff options
Diffstat (limited to 'resources/shader.frag')
| -rw-r--r-- | resources/shader.frag | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/shader.frag b/resources/shader.frag new file mode 100644 index 0000000..f81277d --- /dev/null +++ b/resources/shader.frag @@ -0,0 +1,11 @@ +#version 330 core + +// Ouput data +in vec2 UV; +out vec3 color; + +uniform sampler2D textureSampler; + +void main() { + color = texture(textureSampler, UV).rgb; +} |
