Page 1 of 2

Dynamic lights do not light up other sprites

Posted: Mon Apr 10, 2017 20:35
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

Re: Dynamic lights do not light up other sprites

Posted: Mon Apr 10, 2017 21:38
by Graf Zahl
Works for me, what's your graphics hardware and what settings are you using?

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 0:06
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

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 0:39
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.

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 0:47
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.

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 6:03
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.

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 8:04
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?

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 12:45
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.

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 13:15
by Enjay
There are a bunch of official version here:

https://zdoom.org/files/gzdoom/bin/

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 13:24
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.

Re: Dynamic lights do not light up other sprites

Posted: Tue Apr 11, 2017 20:50
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.

Re: Dynamic lights do not light up other sprites

Posted: Wed Apr 12, 2017 0:26
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.

Re: Dynamic lights do not light up other sprites

Posted: Wed Apr 12, 2017 1:11
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.

Re: Dynamic lights do not light up other sprites

Posted: Wed Apr 12, 2017 8:17
by Graf Zahl
Strange. That was working when I last tested it.

Re: Dynamic lights do not light up other sprites

Posted: Wed Apr 12, 2017 8:40
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