Unusual Dark Splodges In Lighting

#1

In a couple of maps I’ve made I’m noticing these weird areas that are much darker than their surroundings with no clear explanation. Here’s a particularly egregious example from pd_c1a2b:

and here it is with mat_fullbright 2:

Removing and re-doing the brush or texture in question or the surrounding brushes doesn’t do anything to change the phenomenon, and copying the brush or moving it to a new location will cause it to not be affected. Changing the lightmap resolution makes the dark spot blurrier or sharper just like any other lighting effect but doesn’t seem to do anything about the underlying dark area:

It’s possible to brighten these areas with a light_spot pointed directly at them, but obviously that means putting a bunch of pointless lights in the map.

Does anybody know what this might be about?

0 Likes

#2

Just a guess. Have you tried disabling shadows?

0 Likes

#3

Could it be some kind of map limit? Have you tried cropping everything away and bake only that part of map?

0 Likes

#4

I’ve tried using cordons, and the anomalies appear regardless of the cordon configuration; however I do think it would be a good idea to copy some of these maps (it only seems to be pd_c1a2a and pd_c1a2b that have the problem) into a new VMF and start deleting stuff until the problem goes away.

0 Likes

#5

I was able to track the effect down to a single brush in the doorframe. There wasn’t anything obviously wrong with it, but either highlighting all of its vertices in Vertex Mode and snapping them to grid (Ctrl-B), or running it through an empty plane-slice transform, seems to have dealt with this particular issue.

However, performing these same operations on the entire map does not seem to have gotten rid of all of the other dark spots visible.

I’m still not sure what is actually causing this, although I figure it has something to do with the fact that these maps came from older versions of the source bsps run through an older version of the decompiler; no stock maps have this problem that I have seen. Being currently unable to tell which brushes demonstrate the issue and lacking an easy solution to ‘heal’ them, globally or one-at-a-time, I guess my best option would be just to start with a new stock decomp and remake pd_c1a2a/b (not as big a concern since most of what I changed was with point entities and those I can just copy over) from scratch, then begin pulling in my expanded geometry room by room.

0 Likes

#6

Well so much for that; a fresh-out-of-the-box modern decompile still shows this issue:

I wonder if it’s worth rolling back Steam versions to when official source maps were a thing to try those?

0 Likes

BMPD: Pre-Disaster Questionable Ethics
#7

Maybe selecting everything and Ctrl+B’ing in Vertex Mode will work?

0 Likes

#8

Already tried; no result.

0 Likes