From 806a1e093eeac8b426b20717c14260c9cb896798 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 2 Apr 2022 09:13:33 +0400 Subject: Removed CUDA files and changed build system to premake --- src/4.1.texture.fs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/4.1.texture.fs (limited to 'src/4.1.texture.fs') diff --git a/src/4.1.texture.fs b/src/4.1.texture.fs new file mode 100644 index 0000000..46ac15f --- /dev/null +++ b/src/4.1.texture.fs @@ -0,0 +1,14 @@ +#version 330 core +out vec4 FragColor; + +in vec3 ourColor; +in vec2 TexCoord; + +// texture sampler +uniform sampler2D texture1; + +void main() +{ + FragColor = texture(texture1, TexCoord); +} + -- cgit v1.2.3