slower water

This commit is contained in:
Victor Turgeon
2023-06-11 13:00:56 -04:00
parent e929b2500e
commit 828016be6a
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ uniform sampler2D texture_normal2;
uniform sampler2D texture_image;
uniform vec2 wave_direction = vec2(2.0,0.0);
uniform vec2 wave_direction2 = vec2(0.0,1.0);
uniform float time_scale : hint_range(0.0, 0.2, 0.005) = 0.005;
uniform float time_scale : hint_range(0.0, 0.2, 0.005) = 0.0;
float fresnel(float amount, vec3 normal, vec3 view){
return pow((1.0 - clamp(dot(normalize(normal), normalize(view)),0.0,1.0)),amount);