Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Enigmadt committed Apr 24, 2012
1 parent d9142bf commit f633b72
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions shader.html
Original file line number Diff line number Diff line change
Expand Up @@ -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() {

Expand All @@ -70,10 +62,9 @@
vPosition = position;
time1 = time;


float noise,temp=3000.0;

noise = -1.0;
noise = ^^ 1.0;


vNoise = noise;
Expand All @@ -83,8 +74,6 @@
vec3 newPosition = position + normal * noisefaktor;
gl_Position = projectionMatrix * modelViewMatrix * vec4(newPosition,1.0 );



}

</script>
Expand All @@ -100,7 +89,6 @@
uniform sampler2D texture2;
uniform sampler2D texture3;
uniform sampler2D texture4;
uniform sampler2D grass1;

varying vec3 tsPosition;
varying vec3 tsCameraPosition;
Expand Down

0 comments on commit f633b72

Please sign in to comment.