Do physical dimensions matter?

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,697
2,581
Something I've been wondering lately... does it matter if your map stays within a certain range of physical dimensions or not? Like, say you want to make an urban map where the roads go on for quite a ways past the ends of the playable area, and you can't easily transition to a 3D skybox because of the visible shift in lighting that would occur. Assuming you still kept the level of detail down to a reasonable level, would it do any harm to have a map that's fairly large?
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,776
7,672
Provided you keep visibility in check, the only risk would be running into engine limits reported at the end of compile. Some of those can be skirted by doing things in your scenery area like using less brushes, and shorter skies, etc. You'll also get some filesize bloat, but that can be kept down in similar ways, especially reducing lightmap resolution.

That said, dimensions in and of themselves do matter in that there are limits to the things that take up empty space. You can't make a very large six brush box with a single spawn point in it before the map won't work. ;) (I uhh, tried to make a just-below-max-grid-size hollow cube when HL2 came out, to experience the new map size... nope)
 

UKCS-Alias

Mann vs Machine... or... Mapper vs Meta?
aa
Sep 8, 2008
1,264
816
and you can't easily transition to a 3D skybox because of the visible shift in lighting that would occur.
Most of the time when such things happen its the mapper. The engine has a pretty good transition to the skybox, even with lights. The problem lies in lights that hit that edge as those transfer to the skybox. The map part might have additional light, or a very sharp change of light. These often break.
Reflections also get broken on water, but thats for diffirent reasons.

Normaly when making a transition to the skybox ensure that the connecting brushes have the same lightmap scale (and brush scale). That means at a 16x scale that the road should have 16 on its light setting and the skybox part should have 1. The game can then easily blend it further. If a light touches the skybox edge ensure that the skybox also has the same light setting.
For brushes they just need to be at an exact scale in dimesions to the connecting part. A 256 wide brush would have to be 16 wide in the skybox.

When keeping to those rules the visible edge will be very minimal and in many cases you wont even notice it unless you get told about its existance. Just be carefull though as a lightmap scale of 1 takes alot of MBs if misused. If its a large area the connecting brush inside the map area would be more efficient on a 32 or 64 lightmap scale where in the skybox those respectively would be 2 and 4.