diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-10-27 01:29:50 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-10-27 01:29:50 -0700 |
commit | 7b604db493ad6663b864a5d1b9f509118f9860b2 (patch) | |
tree | b85570436a940e5dd8ef68e19381b0156bdd3ceb /default.f.glsl | |
parent | 7e61eaa7225bf025af42f88d0598aff8412f4144 (diff) |
Basic OpenGL rendering is working
--HG--
branch : opengl
Diffstat (limited to 'default.f.glsl')
-rw-r--r-- | default.f.glsl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.f.glsl b/default.f.glsl new file mode 100644 index 0000000..55b6c52 --- /dev/null +++ b/default.f.glsl @@ -0,0 +1,10 @@ +#version 110 + +uniform sampler2D textures[2]; + +varying vec2 texcoord; + +void main() +{ + gl_FragColor = texture2D(textures[0], texcoord); +} |