Permalink
Browse files

No commit message

  • Loading branch information...
1 parent d9142bf commit f633b724d242784aa66746cdc85505fdefbf4891 Enigmadt committed Apr 24, 2012
Showing with 1 addition and 13 deletions.
  1. +1 −13 shader.html
View
@@ -53,15 +53,7 @@
const int oktave = 4;
float h = 0.0;
- vec4 gpuGetCell3D(float x, const float y, float z)
- {
- float u = (x + y * 31.0) / 256.0;
- float v = (z - x * 31.0) / 256.0;
- return (texture2D(texture0, vec2(u,v)));
- }
-
-
void main() {
@@ -70,10 +62,9 @@
vPosition = position;
time1 = time;
-
float noise,temp=3000.0;
- noise = -1.0;
+ noise = ^^ 1.0;
vNoise = noise;
@@ -83,8 +74,6 @@
vec3 newPosition = position + normal * noisefaktor;
gl_Position = projectionMatrix * modelViewMatrix * vec4(newPosition,1.0 );
-
-
}
</script>
@@ -100,7 +89,6 @@
uniform sampler2D texture2;
uniform sampler2D texture3;
uniform sampler2D texture4;
- uniform sampler2D grass1;
varying vec3 tsPosition;
varying vec3 tsCameraPosition;

0 comments on commit f633b72

Please sign in to comment.