summary refs log tree commit diff stats
path: root/shaders/blit.fragment
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-02-14 12:09:41 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-02-14 12:09:41 -0500
commitde5a458cb037bb8e1e80c849c5e6525f9413b43a (patch)
tree97d7aebcf21e4db3c3e19d4a9c7ec906114e5558 /shaders/blit.fragment
downloadtherapy-de5a458cb037bb8e1e80c849c5e6525f9413b43a.tar.gz
therapy-de5a458cb037bb8e1e80c849c5e6525f9413b43a.tar.bz2
therapy-de5a458cb037bb8e1e80c849c5e6525f9413b43a.zip
Monitor stuff is looking pretty cool!
Diffstat (limited to 'shaders/blit.fragment')
-rw-r--r--shaders/blit.fragment12
1 files changed, 12 insertions, 0 deletions
diff --git a/shaders/blit.fragment b/shaders/blit.fragment new file mode 100644 index 0000000..07a0279 --- /dev/null +++ b/shaders/blit.fragment
@@ -0,0 +1,12 @@
1#version 330 core
2
3in vec2 UV;
4
5out vec3 color;
6
7uniform sampler2D srctex;
8
9void main()
10{
11 color = texture(srctex, UV).xyz;
12}