diff options
Diffstat (limited to 'main.frag')
-rw-r--r-- | main.frag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main.frag b/main.frag new file mode 100644 index 0000000..afb9829 --- /dev/null +++ b/main.frag @@ -0,0 +1,12 @@ +#version 330 core + +in vec2 tex_coords; + +out vec4 color; + +uniform sampler2D ourTexture1; + +void main() +{ + color = texture(ourTexture1, tex_coords); +} |