diff --git a/engine/gl/gl_warp.c b/engine/gl/gl_warp.c index 3236eccb9..dfe90c3aa 100644 --- a/engine/gl/gl_warp.c +++ b/engine/gl/gl_warp.c @@ -114,6 +114,9 @@ void EmitWaterPolys (msurface_t *fa, float basealpha) mb.shader = fa->texinfo->texture->shader; mb.fog = NULL; mb.mesh = fa->mesh; + r_worldentity.shaderRGBAf[3] = basealpha; + R_PushMesh(mb.mesh, mb.shader->features); + r_worldentity.shaderRGBAf[3] = 1; R_RenderMeshBuffer(&mb, false); return; }