summaryrefslogtreecommitdiff
path: root/keyshade/bin/data/shader.vert
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2017-10-19 07:39:51 +0100
committerTim Redfern <tim@getdrop.com>2017-10-19 07:39:51 +0100
commita4b2c2a0c569f6732ead116f7cbc3dae0fc999a0 (patch)
tree5ba644745817528e496f0b161d5f3edd784c08af /keyshade/bin/data/shader.vert
parenta3c99df80c201e56a32eb5fe650d45e9a9ccaee2 (diff)
basically it
Diffstat (limited to 'keyshade/bin/data/shader.vert')
-rw-r--r--keyshade/bin/data/shader.vert7
1 files changed, 5 insertions, 2 deletions
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