]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
fixed some dynamic lighting bugs related to glowing self
[xonotic/darkplaces.git] / model_shared.h
index f013bb2813f8d805772284d9fe20ab0fecc84d9f..776b1af54cc0a8a34408aa59995ec1bb84d6d293 100644 (file)
@@ -245,10 +245,8 @@ typedef struct model_s
        void(*DrawFakeShadow)(struct entity_render_s *ent);
 
        // functions used only in shadow volume rendering mode
-       // draw the base lighting for the model (glowing areas, etc)
-       void(*DrawBaseLighting)(struct entity_render_s *ent);
        // draw a shadow volume for the model based on light source
-       void(*DrawShadowVolume)(struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius, int visiblevolume);
+       void(*DrawShadowVolume)(struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius);
        // draw the lighting on a model (through stencil)
        void(*DrawLight)(struct entity_render_s *ent, vec3_t relativelightorigin, vec3_t relativeeyeorigin, float lightradius, float lightdistbias, float lightsubtract, float *lightcolor);