don't self-shadow dynamic entities

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4029 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-12-16 18:12:12 +00:00
parent 287f6ae331
commit d65c8efd8d
4 changed files with 24 additions and 9 deletions
+6 -2
View File
@@ -978,6 +978,12 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
xtraverts = 0;
startmodelbatches();
rendermapmodels();
endmodelbatches();
if(stencilshadow && hasstencil && stencilbits >= 8) drawstencilshadows();
startmodelbatches();
renderentities();
endmodelbatches();
@@ -992,8 +998,6 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
renderbounceents();
endmodelbatches();
if(stencilshadow && hasstencil && stencilbits >= 8) drawstencilshadows();
// Added by Rick: Need todo here because of drawing the waypoints
WaypointClass.Think();
// end add