aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simplegame/textureshader.frag
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
commitc7090180503f263c60ec34844992e0e8d4bea85a (patch)
tree6ecc5b2e16856db49de056738b36e1ba103d3049 /examples/simplegame/textureshader.frag
parentcf4c73f2a75b470a4d4c4167105f92bc46f1926c (diff)
parent07012cf0982d3f86aebe83b5bdc4a67332c635da (diff)
downloadYAGE-c7090180503f263c60ec34844992e0e8d4bea85a.tar.gz
YAGE-c7090180503f263c60ec34844992e0e8d4bea85a.zip
Merge branch 'develop'
Diffstat (limited to 'examples/simplegame/textureshader.frag')
-rw-r--r--examples/simplegame/textureshader.frag16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/simplegame/textureshader.frag b/examples/simplegame/textureshader.frag
deleted file mode 100644
index ef728b04..00000000
--- a/examples/simplegame/textureshader.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-#version 450
-
-layout(location = 0) in vec2 fragment_position;
-layout(location = 1) in vec4 fragment_colour;
-layout(location = 2) in vec2 fragment_uv;
-
-out vec4 colour;
-
-uniform sampler2D texture_sampler;
-
-void main()
-{
- vec4 texture_color = texture(texture_sampler, fragment_uv);
-
- colour = texture_color * fragment_colour;
-}