From a4b2c2a0c569f6732ead116f7cbc3dae0fc999a0 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 19 Oct 2017 07:39:51 +0100 Subject: basically it --- keyshade/bin/data/shader.vert | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'keyshade/bin/data/shader.vert') diff --git a/keyshade/bin/data/shader.vert b/keyshade/bin/data/shader.vert index 0e63995..df91b35 100644 --- a/keyshade/bin/data/shader.vert +++ b/keyshade/bin/data/shader.vert @@ -7,10 +7,13 @@ in vec4 position; in vec2 texcoord; // texture coordinates are sent to fragment shader -out vec2 texCoordVarying; +out vec2 texCoordVarying1; +out vec2 texCoordVarying2; void main() { - texCoordVarying = texcoord; + texCoordVarying1 = texcoord; + //texCoordVarying = (texcoord - 0.5); ///(2.0f+sin(time)); + //texCoords = (texCoords - 0.5) * scale + (0.5 * scale); gl_Position = modelViewProjectionMatrix * position; } \ No newline at end of file -- cgit v1.2.3