From 169c6da480542dd3871d0a1097758d84a92f876e Mon Sep 17 00:00:00 2001 From: jeunathe Date: Mon, 29 Oct 2012 13:06:50 +0000 Subject: [PATCH] nice holes --- tutorial/04_texture.lolfx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/04_texture.lolfx b/tutorial/04_texture.lolfx index 25930ac5..dfda8d91 100644 --- a/tutorial/04_texture.lolfx +++ b/tutorial/04_texture.lolfx @@ -9,7 +9,7 @@ varying vec4 pass_Position; void main(void) { pass_Position = vec4(0.5 * in_Position + 0.5, 0.0, 1.0); - gl_Position = vec4(in_Position, 0.0, 1.0); + gl_Position = vec4(in_Position, 0.5, 1.0); } [frag.glsl] @@ -40,7 +40,7 @@ void main(void) else gl_FragColor = vec4(0.4, t.y, val, 1.0); } - else if (t.y > c0.x - 0.02) + else if (t.y > c0.x - 0.03) { /* Grass */ if (f > 0.99)