]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lightning.c
modified droptofloor to try a downward trace from the bottom center of
[xonotic/darkplaces.git] / r_lightning.c
index 3ab8cb1c271298cef59de7979238d78c43e489d0..91b2ad6b00044ed4ae103a7757f93cf75e494e68 100644 (file)
@@ -248,6 +248,7 @@ void R_DrawLightningBeam_TransparentCallback(const entity_render_t *ent, const r
                r_lightningbeams_setuptexture();
 
        R_Mesh_VertexPointer(vertex3f, 0, 0);
+       R_SetupGenericShader(true);
        // FIXME: fixed function path can't properly handle r_refdef.view.colorscale > 1
        if (r_refdef.fogenabled)
        {