aboutsummaryrefslogtreecommitdiffstats
path: root/Shaders/world.frag
diff options
context:
space:
mode:
Diffstat (limited to 'Shaders/world.frag')
-rw-r--r--Shaders/world.frag6
1 files changed, 3 insertions, 3 deletions
diff --git a/Shaders/world.frag b/Shaders/world.frag
index c23c923..ded3ec0 100644
--- a/Shaders/world.frag
+++ b/Shaders/world.frag
@@ -6,12 +6,12 @@ precision highp float;
precision mediump float;
#endif
-//uniform sampler2D texture;
+uniform sampler2D textu;
-//in vec3 texCoord;
+in vec2 texCoord;
out vec4 FragColor;
void main()
{
- FragColor = vec4(1.0, 0.0, 0.0, 1.0);
+ FragColor = texture(textu, texCoord);
}