diff options
| author | Andrew Guschin <guschin.drew@gmail.com> | 2022-04-02 09:13:33 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin.drew@gmail.com> | 2022-04-02 09:13:33 +0400 |
| commit | 806a1e093eeac8b426b20717c14260c9cb896798 (patch) | |
| tree | 7b6e1a01958269ce78b9716461a9fa4c05d3dc5e /src/4.1.texture.fs | |
| parent | 15ccb946f43283bfc91d80ddf012d9ae2a0333ed (diff) | |
Removed CUDA files and changed build system to premakeremake
Diffstat (limited to 'src/4.1.texture.fs')
| -rw-r--r-- | src/4.1.texture.fs | 14 |
1 files changed, 14 insertions, 0 deletions
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); +} + |