Page 1 of 1

Bright GL affect change?

Posted: Mon Sep 29, 2014 6:43
by Major Cooke
I dont know what update caused it, or if it was intentional but the bright word no longer overrides GL lights

This is an example before the change occurred, where it wouldn't affect sprites with the Bright keyword.

Image

This is what it resembles now, and sometimes it would even be pitch black enough to completely obscure it.
Image

Re: Bright GL affect change?

Posted: Mon Sep 29, 2014 7:21
by Graf Zahl
Sorry, I have no idea what the problem is, from a screenshot I cannot tell. Can you either make a demo or point me to a place in an existing map where I can see it?

Re: Bright GL affect change?

Posted: Tue Sep 30, 2014 15:34
by Major Cooke
Before one of the changes to GZdoom recently, I dont know when... within a week or two from before? It wouldnt matter if "Light Affects Sprites" was on or not. GL lights did not affect the sprites when they had the BRIGHT keyword on them.

Now they are affected, and it kinda makes it look ugly. This actor has the BRIGHT keyword on all frames.

Re: Bright GL affect change?

Posted: Sun Oct 05, 2014 10:31
by Graf Zahl
I said 'demo'. I cannot debug a youtube video and I still have no idea what precisely needs to be done for this to show up.

Re: Bright GL affect change?

Posted: Thu Oct 09, 2014 22:25
by Major Cooke
Okay. Load this up, start a new game.

Summon FlashZombieSpawner and watch how the two light each other up and turn on bright lights.

The zombieman (FlashZombie1) has DontLightSelf on.

The shotgunguy (FlashZombie2) however, doesn't have DontLightSelf with his light.


Every 8 seconds it will restart.

The point is, the BRIGHT keyword originally had GL lights be ignored, regardless of this setting. So whenever the shotgunguy's BRIGHT keyword kicked in, it would light him up just as the zombieman should behind the duo in the pic below. To see an easier example, you could summon FlashZombie1 behind the group like here (make sure to freeze cheat):

http://puu.sh/c61h3/140807d48f.jpg

Long story short, outsider GL lights are ignoring the BRIGHT keyword.