diff --git a/drivers/gles3/shaders/particles.glsl b/drivers/gles3/shaders/particles.glsl index 570e54e56dc..b09e7faaaeb 100644 --- a/drivers/gles3/shaders/particles.glsl +++ b/drivers/gles3/shaders/particles.glsl @@ -211,7 +211,7 @@ VERTEX_SHADER_CODE xform = transpose(xform); - out_velocity_active.a = mix(0.0, 1.0, shader_active); + out_velocity_active.a = float(shader_active); out_xform_1 = xform[0]; out_xform_2 = xform[1];