mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: sprites rendered as 'bright' should not be affected by dynamic lights.
This commit is contained in:
parent
618c23303f
commit
066e53ae4c
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void GLSprite::Draw(int pass)
|
||||||
}
|
}
|
||||||
if (RenderStyle.BlendOp!=STYLEOP_Shadow)
|
if (RenderStyle.BlendOp!=STYLEOP_Shadow)
|
||||||
{
|
{
|
||||||
if (gl_lights && GLRenderer->mLightCount && !gl_fixedcolormap)
|
if (gl_lights && GLRenderer->mLightCount && !gl_fixedcolormap && !fullbright)
|
||||||
{
|
{
|
||||||
gl_SetDynSpriteLight(gl_light_sprites ? actor : NULL, gl_light_particles ? particle : NULL);
|
gl_SetDynSpriteLight(gl_light_sprites ? actor : NULL, gl_light_particles ? particle : NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue