From eb028c960be2eeaee6e5177bc9c83a489e9209f2 Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Sun, 1 Sep 2019 19:02:49 -0400 Subject: THE CAT IS BACK --- Shaders/world.frag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Shaders/world.frag') 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); } -- cgit v1.2.3