Setting water parameters in the shader
@@ -2,10 +2,16 @@ uniform mat4 modelMatrix;
uniform mat4 viewMatrix;
uniform mat4 projectionMatrix;
uniform float time;
-uniform float median_wavelength;
+/*uniform float median_wavelength;
uniform float speed;
uniform float wind_variation;
-uniform vec2 wind_direction;
+uniform vec2 wind_direction;*/
+
+const float median_wavelength = 1.0;
+const float speed = 0.5;
+const float wind_variation = 0.1;
+const vec2 wind_direction = vec2(1.0, 0.0);
+
const int noWaves = 4;
const float pi = 3.14159;
