don't use per-pixel lighting for particles/visualthinkers
This commit is contained in:
parent
af7c9db9c5
commit
56e94cc268
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ void HWSprite::DrawSprite(HWDrawInfo *di, FRenderState &state, bool translucent)
|
|||
{
|
||||
int gl_spritelight = get_gl_spritelight();
|
||||
|
||||
if(!actor && gl_spritelight > 1) gl_spritelight = 1;
|
||||
|
||||
state.SetShadeVertex(gl_spritelight == 1);
|
||||
bool additivefog = false;
|
||||
bool foglayer = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue