Page 1 of 1

PointLight Causing Sector Textures to Turn Black; Slows Game

Posted: Wed Sep 05, 2012 21:43
by ReedtheStrange
What happens is whenever I place a glowing object in a room, the floor texture goes completely black and the game moves much slower. If I back up and there is only one in the room, it appear normal; however, the game will still be moving sluggishly. I Googled the issue, but it appears to be unusual. Although I prefer not to, I will provide the WAD if needed.

When I exported just the light to Doom 2, it worked fine, but still continued to have problems in my WAD. I added my entire DECORATE file to Doom 2, which caused it to crash, but when I removed everything in my DECORATE file besides the thing, the problem still persisted.



This is the light.

Code: Select all

pointlight BLUEGLOW
{
    color 0.0 0.0 1.0
    size 36
    offset 0 16 0
}
This is the thing.

Code: Select all

ACTOR Crystal2 30206
{
  Radius 18
  Height 30
  +SOLID
  States
  {
  Spawn:
    CRST A 12 bright Light("BlueGlow")
    Loop
  }
}

Specs:

Image

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Wed Sep 05, 2012 22:24
by Enjay
Over at the Zdoom forum Blue Shadow wrote:And when you do, don't forget to mention your system specs, as well.
So... system specs? (Make sure you include which graphics card you are using.)

Also, as a general point, why are people so commonly reluctant to provide their WAD when it is often the single most important piece of the puzzle? The more help you give, the more likely you are to get your problem fixed.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 7:13
by Graf Zahl
No chance this will be investigated without the WAD causing the problem.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 20:12
by ReedtheStrange

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 20:18
by Enjay
That machine has a ATI Mobility Radeon HD 4650 with 1GB, right?

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 20:33
by Graf Zahl
What do I have to do to reproduce the bug? I tried to summon some crystals and all looked fine.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 21:02
by ReedtheStrange
Did you do it within the WAD or did you transfer the crystals? It doesn't work within my WAD, but it works with other WADs for me.


Also, I worry that map28 may be too much glowing for most people even if there is/was no problem.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 21:05
by ReedtheStrange
Enjay wrote:That machine has a ATI Mobility Radeon HD 4650 with 1GB, right?
I'm not sure, but I am able to run TF2, Amnesia and other modern games with it.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 21:25
by Enjay
It works for me in your maps and other maps.

Image
Image

No black floor, no slow down. :?

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 22:29
by ReedtheStrange
Enjay wrote:It works for me in your maps and other maps.

Image

No black floor, no slow down. :?
WHen I place the cryatls in other WADs, they work fine. But if I change the name to "TNT" or "DOOM2" or something that the zdoom/gzdoom launcher will recognize, then run it, having the Beyond the Portal HUD with some replaced textures, glowing things will have this problem again. I know some people will run it through Doom Builder, but the WAD has issues with Doom Builder where if it's ran through Doom Builder, certain ammo types don't work as pickups, despite working through a normal launcher when I change the name to "TNT" or something recognizable to the launcher.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 23:02
by Enjay
Changing the name to doom2.wad and running it as the IWAD with nothing else loaded and with your status bar (or your full screen HUD) still works fine for me.

Image

Is there anywhere specific in the mod that causes the problem. eg if you could say which map you get the error on and say which coordinates then I could go there and see what happens. (You can get your coordinates by typing IDMYPOS at the game screen or idmypos 1 at the console.)

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 23:10
by Graf Zahl
Are you using shader lights?

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Thu Sep 06, 2012 23:55
by ReedtheStrange
Enjay wrote:Changing the name to doom2.wad and running it as the IWAD with nothing else loaded and with your status bar (or your full screen HUD) still works fine for me.

Image

Is there anywhere specific in the mod that causes the problem. eg if you could say which map you get the error on and say which coordinates then I could go there and see what happens. (You can get your coordinates by typing IDMYPOS at the game screen or idmypos 1 at the console.)
Strange. Maybe there is something wrong that isn't related to the WAD. It doesn't matter where the crystal is; even if I spawn it in empty room, it has the same problem. The map that the crystals are located in (which still needs some work) is map28. Although, I will warn you that there are quite a lot of them on that map.

Any map that I spawn any Point Light object in has the same problem, so the map that they are located in itself shouldn't matter.

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Fri Sep 07, 2012 0:02
by ReedtheStrange
Graf Zahl wrote:Are you using shader lights?
Switched it off; it's not a problem anymore. Thank you!

Do people usually have that setting on?

Re: PointLight Causing Sector Textures to Turn Black; Slows

Posted: Fri Sep 07, 2012 10:03
by Graf Zahl
No, it's off by default. It is a known issue with ATI/AMD that this doesn't work. It looks like their driver is reporting capabilities that it doesn't have.