diff options
author | talha <talha@talhaamir.xyz> | 2024-04-25 03:19:05 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-04-25 03:19:05 +0500 |
commit | 708b6e523d7f57f4eb4eb8395530be9ddf67986a (patch) | |
tree | 43c3f028683524f3f09f5c166a5508866b772fe9 /source/shaders/textured_quad.fs.glsl | |
parent | ca2835943ca4327ad08b54af480e0c6333df201f (diff) |
Added freetype, started refactoring
Diffstat (limited to 'source/shaders/textured_quad.fs.glsl')
-rw-r--r-- | source/shaders/textured_quad.fs.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/shaders/textured_quad.fs.glsl b/source/shaders/textured_quad.fs.glsl new file mode 100644 index 0000000..e1a6100 --- /dev/null +++ b/source/shaders/textured_quad.fs.glsl @@ -0,0 +1,9 @@ +#version 330 core + +in vec2 TexCoords; +uniform sampler2D Texture; +out vec4 FragColor; + +void main() { + FragColor = texture(Texture, TexCoords); +}; |