summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/simple_frag.glsl
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 23:04:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-09 11:42:32 +0300
commit49aba83fa6f3393214919166c42fb55c5a9a7796 (patch)
treecfdb4484e6165e97bafdd44956a8c8bfd08f0650 /data/graphics/shaders/simple_frag.glsl
parent7a0ce777e5d7e3c5ba562ea1c811c0c3cb17a976 (diff)
downloadmanaverse-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.gz
manaverse-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.bz2
manaverse-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.xz
manaverse-49aba83fa6f3393214919166c42fb55c5a9a7796.zip
Add basic shaders in modernopengl.
Add draw/fill rectangle functions.
Diffstat (limited to 'data/graphics/shaders/simple_frag.glsl')
-rw-r--r--data/graphics/shaders/simple_frag.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/shaders/simple_frag.glsl b/data/graphics/shaders/simple_frag.glsl
index 87e90246e..a8687cb68 100644
--- a/data/graphics/shaders/simple_frag.glsl
+++ b/data/graphics/shaders/simple_frag.glsl
@@ -1,7 +1,7 @@
#version 150 core
out vec4 outColor;
-uniform vec4 pixelColor;
+uniform vec4 simpleColor;
void main()
{
- outColor = pixelColor;
+ outColor = simpleColor;
}