Bright GL affect change?

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Bright GL affect change?

Post by Major Cooke » Mon Sep 29, 2014 6:43

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

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Bright GL affect change?

Post by Graf Zahl » Mon Sep 29, 2014 7:21

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?

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Bright GL affect change?

Post by Major Cooke » Tue Sep 30, 2014 15:34

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.

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Bright GL affect change?

Post by Graf Zahl » Sun Oct 05, 2014 10:31

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.

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Bright GL affect change?

Post by Major Cooke » Thu Oct 09, 2014 22:25

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.
Attachments
GLLightbug.pk3
(744 Bytes) Downloaded 22 times

Locked

Return to “Closed Bugs”