- Feb 13, 2011
- 16
- 0
The maxium number of lights according to Hammer is 8192. Is there any way to increase this limit?
The question is, what kind of monster are you creating. Hitting the limits usually means you're doing something horribly wrong, not that source is restricting you. (although source is a bit old and some of the limits aren't limits anymore)
(pictures are necessary)
These are the little monsters we're talking about:
The small cube adds 48, the medium sized one 98 and the big one 200 lights to the map so a limit of 8192 is pretty low imo ( I'm trying to add quite a lot of them to different rooms).
I'm not experiencing any performance issues so I would like to add lights/cubes until I do but hammer won't stop whining.
The lighting is achieved through neon textures (lights.rad: neon/white 255 255 255 10).
Texlights, as I assumed when I saw the title. They're the only reason anyone ever runs into the limit.
Every luxel creates one light at it's center. Luxel size is determined by the "lightmap" property on the face edit dialog. Raising it will cut your numbers significantly, but also lower the "resolution" and result in spottier lighting when the surface is really close to something. You can already see some of that next to the medium cubes on the surface of the big one and the main wall.
Another suggestion would be to miter the corners, so you only have one face per edge with texlight, instead of two per edge.
These are the little monsters we're talking about:
The small cube adds 48, the medium sized one 98 and the big one 200 lights to the map so a limit of 8192 is pretty low imo ( I'm trying to add quite a lot of them to different rooms).
I'm not experiencing any performance issues so I would like to add lights/cubes until I do but hammer won't stop whining.
The lighting is achieved through neon textures (lights.rad: neon/white 255 255 255 10).
** Executing...
** Command: "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "d:\games\installiert\steam\steamapps\dargoth_nonestil\team fortress 2\tf" "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2"
Valve Software - vbsp.exe (Jul 7 2010)
4 threads
materialPath: d:\games\installiert\steam\steamapps\dargoth_nonestil\team fortress 2\tf\materials
Loading d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
"materials/tools/locked.vtf": cached version doesn't exist
Patching WVT material: maps/unusual_trading_hub_v2/dev/dev_blendmeasure_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.prt...Building visibility clusters...
done (1)
*** Error: Skybox vtf files for skybox/sky_trainnight_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainnight_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_trainnight_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainnight_01 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (7) (559137 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Water found with no water_lod_control entity, creating a default one.
Compacting texture/material tables...
Reduced 1204 texinfos to 481
Reduced 46 texdatas to 39 (1207 bytes to 923)
Writing d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp
27 seconds elapsed
** Executing...
** Command: "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "d:\games\installiert\steam\steamapps\dargoth_nonestil\team fortress 2\tf" "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2"
Valve Software - vvis.exe (Jul 7 2010)
4 threads
reading d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp
reading d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.prt
1328 portalclusters
4643 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (1)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (7560)
Optimized: 2423 visible clusters (0.00%)
Total clusters visible: 813779
Average clusters visible: 612
Building PAS...
Average clusters audible: 825
visdatasize:289670 compressed from 446208
writing d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp
2 hours, 6 minutes, 1 second elapsed
** Executing...
** Command: "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -final -StaticPropPolys -TextureShadows -StaticPropLighting -game "d:\games\installiert\steam\steamapps\dargoth_nonestil\team fortress 2\tf" "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2"
Valve Software - vrad.exe SSE (Jul 7 2010)
Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[1 texlights parsed from 'lights.rad']
Loading d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp
Setting up ray-trace acceleration structure... Done (1.12 seconds)
5677 faces
11 degenerate faces
1256369 square feet [180917216.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
5666 patches before subdivision
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
zero area child patch
69986 patches after subdivision
7554 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (920)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (23)
transfers 19795822, max 1947
transfer lists: 151.0 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #1 added RGB(88867, 86162, 86360)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(12009, 11393, 11459)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #3 added RGB(1814, 1693, 1706)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(311, 289, 291)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(59, 55, 55)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #6 added RGB(12, 12, 12)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(3, 3, 3)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #8 added RGB(1, 1, 1)
Build Patch/Sample Hash Table(s).....Done<0.0317 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (6)
FinalLightFace Done
6547 of 7551 (86% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (658)
Writing leaf ambient...done
Ready to Finish
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 55/1024 2640/49152 ( 5.4%)
brushes 1222/8192 14664/98304 (14.9%)
brushsides 13618/65536 108944/524288 (20.8%)
planes 16922/65536 338440/1310720 (25.8%)
vertexes 9660/65536 115920/786432 (14.7%)
nodes 3947/65536 126304/2097152 ( 6.0%)
texinfos 481/12288 34632/884736 ( 3.9%)
texdata 39/2048 1248/65536 ( 1.9%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 5677/65536 317912/3670016 ( 8.7%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 3772/65536 211232/3670016 ( 5.8%)
leaves 4003/65536 128096/2097152 ( 6.1%)
leaffaces 6332/65536 12664/131072 ( 9.7%)
leafbrushes 2433/65536 4866/131072 ( 3.7%)
areas 6/256 48/2048 ( 2.3%)
surfedges 47266/512000 189064/2048000 ( 9.2%)
edges 26338/256000 105352/1024000 (10.3%)
LDR worldlights 7554/8192 664752/720896 (92.2%) VERY FULL!
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 1/32768 12/393216 ( 0.0%)
waterstrips 400/32768 4000/327680 ( 1.2%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 6255/65536 12510/131072 ( 9.5%)
cubemapsamples 7/1024 112/16384 ( 0.7%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 1255388/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 289670/16777216 ( 1.7%)
entdata [variable] 67006/393216 (17.0%)
LDR ambient table 4003/65536 16012/262144 ( 6.1%)
HDR ambient table 4003/65536 16012/262144 ( 6.1%)
LDR leaf ambient 14713/65536 411964/1835008 (22.5%)
HDR leaf ambient 4003/65536 112084/1835008 ( 6.1%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/12 ( 8.3%)
pakfile [variable] 2368/0 ( 0.0%)
physics [variable] 559137/4194304 (13.3%)
physics terrain [variable] 2/1048576 ( 0.0%)
Level flags = 1
Total triangle count: 18122
Writing d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp
26 minutes, 52 seconds elapsed
** Executing...
** Command: Copy File
** Parameters: "d:\games\installiert\steam\steamapps\dargoth_nonestil\sourcesdk_content\tf\mapsrc\unusual_trading_hub_v2.bsp" "d:\games\installiert\steam\steamapps\dargoth_nonestil\team fortress 2\tf\maps\unusual_trading_hub_v2.bsp"