aboutsummaryrefslogtreecommitdiff
path: root/src/simple150.frag
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-03-02 16:06:01 +0100
committerraysan5 <raysan5@gmail.com>2014-03-02 16:06:01 +0100
commit451568e5a9fd93bb594d055ae1e672ea0951fff7 (patch)
treeb08e4a073507fed2b7764035d35ab3ec5f04f016 /src/simple150.frag
parent174cd86d086f3d57d629c4750d2b87a656ada9b2 (diff)
downloadraylib-451568e5a9fd93bb594d055ae1e672ea0951fff7.tar.gz
raylib-451568e5a9fd93bb594d055ae1e672ea0951fff7.zip
The future of raylib!
Mapping of OpenGL 1.1 immediate mode functions to OpenGL 3.2+ (and OpenGL ES 2.0) programmable pipeline
Diffstat (limited to 'src/simple150.frag')
-rw-r--r--src/simple150.frag15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/simple150.frag b/src/simple150.frag
new file mode 100644
index 00000000..61b337ed
--- /dev/null
+++ b/src/simple150.frag
@@ -0,0 +1,15 @@
+#version 150
+
+uniform sampler2D texture0;
+
+in vec2 fragTexCoord;
+in vec4 fragColor;
+
+out vec4 pixelColor;
+
+void main()
+{
+ // Output pixel color
+ pixelColor = texture(texture0, fragTexCoord) * fragColor;
+ //pixelColor = fragColor;
+} \ No newline at end of file