From 0e66f02b25aaddaa2dfddbbc89cd67de54a9a7b4 Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Tue, 7 Jul 2020 20:09:01 +0200 Subject: [PATCH] All sprites sway in the wind now. --- assets/voxygen/shaders/sprite-vert.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/voxygen/shaders/sprite-vert.glsl b/assets/voxygen/shaders/sprite-vert.glsl index 2d9cc75b84..e8c4c33270 100644 --- a/assets/voxygen/shaders/sprite-vert.glsl +++ b/assets/voxygen/shaders/sprite-vert.glsl @@ -174,7 +174,7 @@ void main() { // vec3(0.0, 0.0, z_bias, 0.0), // vec3(0.0, 0.0, (1.0 / z_bias), 0.0) // ); - if (wind_sway.w >= 0.4) { + /*if (wind_sway.w >= 0.4) */{ f_pos += /*inst_wind_sway*/wind_sway.w * vec3( sin(tick.x * 1.5 + f_pos.y * 0.1) * sin(tick.x * 0.35), sin(tick.x * 1.5 + f_pos.x * 0.1) * sin(tick.x * 0.25),