Dynamic lights do not light up other sprites

Something not working in GZDoom that's not a bug? Is the display a bit quirky and unexpected? Post here.

Moderator: Graf Zahl

Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Dynamic lights do not light up other sprites

Post by Ichor »

Dynamic lights no longer affect sprites, even though I have that option on (display options->dynamic light options->lights affect sprites). Those barrels should be lit up by this fancy dynamic light based torch here, but they are dark as if I wasn't using a torch.

The version I'm using is 2.5pre-268-gca4888e.

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

Re: Dynamic lights do not light up other sprites

Post by Graf Zahl »

Works for me, what's your graphics hardware and what settings are you using?
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

Funny thing is, it was working just fine before I upgraded (it's been a few months), so my graphics card isn't the problem. I already have the lights on sprites settings on (gl_light_sprites=true), but I don't know what else I need to get it to work. Turning it on and off also doesn't change anything.
Spoiler: ini file
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Dynamic lights do not light up other sprites

Post by Graf Zahl »

Ichor wrote: Tue Apr 11, 2017 0:06 Funny thing is, it was working just fine before I upgraded (it's been a few months), so my graphics card isn't the problem

That may be, but without you telling me what card you have I can't do anything. Depending on its feature set there are different render paths that can be taken.
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

The card is a GeForce GTX 950.

I just downgraded to version g1.9pre-459-g3e318e4, which is from 2014 (it was more recent than that before upgrading to 268, and that one worked like it should.
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: Dynamic lights do not light up other sprites

Post by _mental_ »

What's the map on the screenshot from OP? And what's the mod?
In other words, I would like to reproduce the issue myself.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Dynamic lights do not light up other sprites

Post by Graf Zahl »

Ichor wrote: Tue Apr 11, 2017 0:47 The card is a GeForce GTX 950.

I just downgraded to version g1.9pre-459-g3e318e4, which is from 2014 (it was more recent than that before upgrading to 268, and that one worked like it should.


That one is so old that most of the rendering code is different. Keep in mind that the 1.9 branch had been on pure Legacy support ever since the first 2.x version came out.
So we need some more info:

1. Does this happen with all mods or just with the one in the screenshot?
2. What version did this start with?
3. Does it still happen if you delete your INI and start fresh?
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

1. I tested it in another mod and the same thing happens.
2. I don't know. Is there a place where you can download all of the older versions? Maybe I can narrow down when this first started.
3. I deleted it (well, moved it actually, I didn't want to lose my settings) and started it up again. Same thing happens.
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Dynamic lights do not light up other sprites

Post by Enjay »

There are a bunch of official version here:

https://zdoom.org/files/gzdoom/bin/
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

Ok, that should help. Because before this version I'm using now, I was using something a bit more recent than 1.9. That was just the latest version I had lying around that I could use.
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

Ok, I tried the link, and the first one I downloaded, which was the most recent one I think, ends up working properly. I was going to start with g2.4.0 and work back to a point where it started working, but that version worked just fine. I then changed back to 2.5pre-268 and it didn't work (i.e. the sprites remained dark).

Other issues (though more minor) that I've noticed between the two versions are:

1. The status bar doesn't stretch all the way to the screen edges with 2.5pre-268 like you see in that screenshot, but g2.4.0, it does.
2. The map name is obscured by the status bar in 2.5pre-268, but not g2.4.0.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Dynamic lights do not light up other sprites

Post by Graf Zahl »

The status bar scaling has changed in recent versions, you should go to the menu and set it to your preferences.
Can you make a screenshot of the obscured map name? I thought I has made sure it works in all games.
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

g2.4.0
Image

2.5pre-268
Image

And it gets more obscured as the text scale goes down. Minimum is completely blocked.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Dynamic lights do not light up other sprites

Post by Graf Zahl »

Strange. That was working when I last tested it.
Ichor
Posts: 8
Joined: Mon Apr 10, 2017 20:25

Re: Dynamic lights do not light up other sprites

Post by Ichor »

Also, here's a dynamic light comparison. I didn't even notice how that back wall there was lit up back in g2.4.0 until just now. I thought it was always like that, heh.

g2.4.0
Image

2.5pre-268
Image
Locked

Return to “Technical Support”