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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user