No lightgrid on portion of the map


(hummer) #1

Basically, in a small section of my map, all of the misc_gamemodels, player models, and props are showing up as black… so I’m pretty sure it’s a lightgrid problem.

Anyway, I’m not using a lightgrid brush. I was, but I took it out and it had no effect on the problem. Also, I wasn’t using any lightjuniors, but putting them in affected areas had no effect either, which also bothers me a bit.

Here’s some pics of what’s going on:

Basically, once the player crosses that red line, the model turns black. On the other side, it’s lit properly. That line seems to travel all the way down a long hallway.


Here you can see a continuation of the problem:


Finally, a room with props (chairs), misc_gamemodels (the command post) and a player model. All of which are black… however you can see the lightmaps are being rendered…

The map is compiling properly, no leaks and such… any ideas what could be the cause of this?


(sock) #2

Add the following key to your worldspawn:

“gridsize” “128 128 64”

You probably got a very large map which needs a high definition lightgrid. The above key is X,Y,Z and the values are how close the light grid points should be. Player model/misc_gamemodels gain light from this points on the map. I’m sure ydnar can give u a more technical answer in the q3map2 forum.

The lightgrid brush is something different. The brush is used to say where to have light in the map so it does not light pointless section of the map. (The top of the skybox for example) By changing where the lightgrid is, you can change the default density of the lightgrid.

Sock
:moo:


(hummer) #3

You’re the man now, dog!

Forgot I had jacked up the lightgrid size to save space. Thanks for that, it works now :slight_smile:

:drink:


(redfella) #4

Nice shots btw. :drink: