Source SDK

Source SDK

yez May 29, 2021 @ 3:25pm
light entities dont work and no leaks
no matter what i do, light entities just dont work, i tried everythign and they still dont work. its been doing this a while even on a different pc, and theres no problems (no leaks), Help?
< >
Showing 1-8 of 8 comments
Sorry, mate, can you let us know some more info?

Examples:

Which game are you mapping for?
What kind of light are you trying to add?
Lights? Spot lights? Light_environment? Lights by textures?
What does it mean light don't work? Map is fullbright? Is it dark?
What does the vrad log says?
Can you paste here your compile log, please?
Thank you.
Last edited by [B.n.B] AlcyToronto; May 29, 2021 @ 3:52pm
joe May 29, 2021 @ 8:06pm 
do you do this for a living you have been doing this for at least 2 years or something man, do you work for valve or somethin like ♥♥♥♥♥♥♥♥♥
yez May 29, 2021 @ 9:31pm 
Originally posted by joe:
do you do this for a living you have been doing this for at least 2 years or something man, do you work for valve or somethin like ♥♥♥♥♥♥♥♥♥
bruh
yez May 29, 2021 @ 9:32pm 
Originally posted by B.n.B AlcyToronto:
Sorry, mate, can you let us know some more info?

Examples:

Which game are you mapping for?
What kind of light are you trying to add?
Lights? Spot lights? Light_environment? Lights by textures?
What does it mean light don't work? Map is fullbright? Is it dark?
What does the vrad log says?
Can you paste here your compile log, please?
Thank you.

GMod (i also get this in tf2 so its in all/most source)
Light, Light Spots, and Light_Env
the lights just dont work in general, theyre dark no matter what, and the light env works
idk

Originally posted by Compile Log:
** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.vmf"

Valve Software - vbsp.exe (Jun 15 2020)
8 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\materials
Loading C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.prt...Building visibility clusters...
done (0)
No such variable "$basetexture" for material "skybox/paintedrt"
Can't load skybox file skybox/painted to build the default cubemap!
No such variable "$basetexture" for material "skybox/paintedrt"
Can't load skybox file skybox/painted 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 (0) (53298 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 77 texinfos to 48
Reduced 25 texdatas to 19 (694 bytes to 431)
Writing C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit"

Valve Software - vvis.exe (Jun 15 2020)
8 threads
reading c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\gm_30kpit.bsp
reading c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\gm_30kpit.prt
859 portalclusters
2095 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (12)
Optimized: 112 visible clusters (0.06%)
Total clusters visible: 190976
Average clusters visible: 222
Building PAS...
Average clusters audible: 340
visdatasize:172165 compressed from 192416
writing c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\gm_30kpit.bsp
12 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vrad.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit"

Valve Software - vrad.exe SSE (Jun 15 2020)

Valve Radiosity Simulator
8 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\gm_30kpit.bsp
PREP OK
Setting up ray-trace acceleration structure... Done (0.15 seconds)
9797 faces
3 degenerate faces
19703794 square feet [2837346304.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
9794 patches before subdivision
Zero area child patch at around 999.419373 1237.701538 -15872.000000
Zero area child patch at around -999.330017 1237.911987 -15872.000000
547840 patches after subdivision
2 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (9)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (13)
transfers 185255263, max 2589
transfer lists: 1413.4 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #1 added RGB(228085, 241437, 181869)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(20673, 22169, 15154)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #3 added RGB(1764, 1854, 1328)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(321, 335, 237)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(68, 70, 49)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #6 added RGB(21, 22, 15)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(7, 7, 5)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #8 added RGB(3, 3, 2)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #9 added RGB(1, 1, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #10 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.3964 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (4)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (3)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 5/4096 240/196608 ( 0.1%)
brushes 135/16384 1620/196608 ( 0.8%)
brushsides 1347/65536 10776/524288 ( 2.1%)
planes 1150/65536 23000/1310720 ( 1.8%)
vertexes 10970/65536 131640/786432 (16.7%)
nodes 1780/65536 56960/2097152 ( 2.7%)
texinfos 48/12288 3456/884736 ( 0.4%)
texdata 19/2048 608/65536 ( 0.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 9797/65536 548632/3670016 (14.9%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 495/65536 27720/3670016 ( 0.8%)
leaves 1786/65536 57152/2097152 ( 2.7%)
leaffaces 11681/65536 23362/131072 (17.8%)
leafbrushes 1038/65536 2076/131072 ( 1.6%)
areas 3/1024 24/8192 ( 0.3%)
surfedges 43904/512000 175616/2048000 ( 8.6%)
edges 22488/256000 89952/1024000 ( 8.8%)
LDR worldlights 2/8192 176/720896 ( 0.0%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 2/32768 24/393216 ( 0.0%)
waterstrips 305/32768 3050/327680 ( 0.9%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 4581/65536 9162/131072 ( 7.0%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 1/512 352/180224 ( 0.2%)
LDR lightdata [variable] 19117556/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 172165/16777216 ( 1.0%)
entdata [variable] 3222/393216 ( 0.8%)
LDR ambient table 1786/65536 7144/262144 ( 2.7%)
HDR ambient table 1786/65536 7144/262144 ( 2.7%)
LDR leaf ambient 7310/65536 204680/1835008 (11.2%)
HDR leaf ambient 1786/65536 50008/1835008 ( 2.7%)
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/10734 ( 0.0%)
pakfile [variable] 1903/0 ( 0.0%)
physics [variable] 53298/4194304 ( 1.3%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 22309
Writing c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\gm_30kpit.bsp
35 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.bsp" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\gm_30kpit.bsp"
Last edited by yez; May 29, 2021 @ 9:33pm
spaget May 30, 2021 @ 11:30am 
No such variable "$basetexture" for material "skybox/paintedrt"
Can't load skybox file skybox/painted to build the default cubemap!
No such variable "$basetexture" for material "skybox/paintedrt"
Can't load skybox file skybox/painted to build the default cubemap!
yez May 30, 2021 @ 12:41pm 
nvm i fixed it, idk what happened but lights started working again, i think it has to do with prop_statics but idk
joe Jun 2, 2021 @ 11:59am 
oh btw sorry i meant the alcy toronto guy
yez Jun 2, 2021 @ 12:37pm 
wait i think i know, i think you cant place lights in props or brushes
Last edited by yez; Jun 2, 2021 @ 12:37pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: May 29, 2021 @ 3:25pm
Posts: 8