Add water wave strength setting.

This commit is contained in:
Xonk
2023-10-20 20:34:59 -04:00
parent fd0e4c45be
commit 410bf1cfbd
4 changed files with 7 additions and 5 deletions

View File

@ -344,7 +344,7 @@ if (gl_FragCoord.x * texelSize.x < 1.0 && gl_FragCoord.y * texelSize.y < 1.0 )
#ifndef HAND
if (iswater > 0.95){
float bumpmult = 1.0;
float bumpmult = WATER_WAVE_STRENGTH;
vec3 bump = vec3(0);
vec3 posxz = feetPlayerPos+cameraPosition;