• Static_Prop Not Casting Shadows
    13 replies, posted
Hey everyone it's been awhile, but I'm trying to get these train posts to cast shadows onto the floor, just to add some nice detail. In the settings, they shouuuuld be working- but they're not. The lightmap of the floor is at 12. Any ideas? Thanks [url]http://img155.imageshack.us/f/subway0005.jpg/[/url] [IMG]http://img155.imageshack.us/f/subway0005.jpg[/IMG]
Try compiling with -StaticPropPolys If that doesn't work then set the lightmap scale on the floor to 4 or something.
Just tried both of those with no luck.. Come to think of it, it looks like none of my props are casting shadows..
The lightmap is too low - but shadows are being casted. You can just barely see them. As suggested above, lower the lightmap to 4. Edit: If all else fails, just do a block the size of the prop with the "BLOCK LIGHT" texture.
I've tried both of what you suggested above ConTron, but still to no avail. Could it be perhaps that I am using the wrong light entity? I'm using Light_spot currently.
Light_spot should work. Try lowering it to 2. Though It shouldn't need that.
Well I think part of why this might not be working is that my map won't update when I compile it, I got an error with one of my decals so I removed it, then i recompiled and the decal was still in the map! [code] ** Executing... ** Command: "c:\program files (x86)\steam\steamapps\sassin\sourcesdk\bin\orangebox\bin\vbsp.exe" ** Parameters: -game "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2" "c:\users\nathan\desktop\current map projects\city17\subway" Valve Software - vbsp.exe (Jun 8 2010) 4 threads materialPath: c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2\materials Loading c:\users\nathan\desktop\current map projects\city17\subway.vmf Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2\gameinfo.txt 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) Chop Details...done (0) Find Visible Detail Sides...done (0) Merging details...done (0) FixTjuncs... PruneNodes... WriteBSP... done (0) writing c:\users\nathan\desktop\current map projects\city17\subway.prt...Building visibility clusters... done (0) Creating default LDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Creating default HDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Finding displacement neighbors... Finding lightmap sample positions... Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10 Overlay touching too many faces (touching 92, max 64) Overlay decals/trashdecal01b at -182.5 -188.8 -128.0 ** Executing... ** Command: "c:\program files (x86)\steam\steamapps\sassin\sourcesdk\bin\orangebox\bin\vvis.exe" ** Parameters: -game "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2" "c:\users\nathan\desktop\current map projects\city17\subway" Valve Software - vvis.exe (Jun 8 2010) 4 threads reading c:\users\nathan\desktop\current map projects\city17\subway.bsp reading c:\users\nathan\desktop\current map projects\city17\subway.prt 533 portalclusters 1643 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 (7) Optimized: 1121 visible clusters (0.00%) Total clusters visible: 92394 Average clusters visible: 173 Building PAS... Average clusters audible: 518 visdatasize:70086 compressed from 76752 writing c:\users\nathan\desktop\current map projects\city17\subway.bsp 7 seconds elapsed ** Executing... ** Command: "c:\program files (x86)\steam\steamapps\sassin\sourcesdk\bin\orangebox\bin\vrad.exe" ** Parameters: -StaticPropPolys -TextureShadows -game "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2" "c:\users\nathan\desktop\current map projects\city17\subway" Valve Software - vrad.exe SSE (Jun 8 2010) Valve Radiosity Simulator 4 threads [Reading texlights from 'lights.rad'] [48 texlights parsed from 'lights.rad'] Loading c:\users\nathan\desktop\current map projects\city17\subway.bsp Setting up ray-trace acceleration structure... Done (5.47 seconds) 1569 faces 3 degenerate faces 455758 square feet [65629164.00 square inches] 0 Displacements 0 Square Feet [0.00 Square Inches] 1566 patches before subdivision 22588 patches after subdivision 11 direct lights BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (1) BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (7) transfers 1260743, max 712 transfer lists: 9.6 megs GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #1 added RGB(2511, 2354, 1303) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #2 added RGB(344, 304, 134) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1) Bounce #3 added RGB(50, 42, 15) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #4 added RGB(8, 6, 2) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1) Bounce #5 added RGB(1, 1, 0) GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0) Bounce #6 added RGB(0, 0, 0) Build Patch/Sample Hash Table(s).....Done<0.0110 sec> FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (3) 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 (2) Writing leaf ambient...done Ready to Finish Object names Objects/Maxobjs Memory / Maxmem Fullness ------------ --------------- --------------- -------- models 1/1024 48/49152 ( 0.1%) brushes 307/8192 3684/98304 ( 3.7%) brushsides 2528/65536 20224/524288 ( 3.9%) planes 1792/65536 35840/1310720 ( 2.7%) vertexes 2783/65536 33396/786432 ( 4.2%) nodes 1130/65536 36160/2097152 ( 1.7%) texinfos 340/12288 24480/884736 ( 2.8%) texdata 75/2048 2400/65536 ( 3.7%) 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 1569/65536 87864/3670016 ( 2.4%) hdr faces 0/65536 0/3670016 ( 0.0%) origfaces 615/65536 34440/3670016 ( 0.9%) leaves 1132/65536 36224/2097152 ( 1.7%) leaffaces 1866/65536 3732/131072 ( 2.8%) leafbrushes 1267/65536 2534/131072 ( 1.9%) areas 2/256 16/2048 ( 0.8%) surfedges 10417/512000 41668/2048000 ( 2.0%) edges 5904/256000 23616/1024000 ( 2.3%) LDR worldlights 11/8192 968/720896 ( 0.1%) HDR worldlights 0/8192 0/720896 ( 0.0%) leafwaterdata 0/32768 0/393216 ( 0.0%) waterstrips 192/32768 1920/327680 ( 0.6%) waterverts 0/65536 0/786432 ( 0.0%) waterindices 3279/65536 6558/131072 ( 5.0%) cubemapsamples 2/1024 32/16384 ( 0.2%) overlays 65/512 22880/180224 (12.7%) LDR lightdata [variable] 1351548/0 ( 0.0%) HDR lightdata [variable] 0/0 ( 0.0%) visdata [variable] 70086/16777216 ( 0.4%) entdata [variable] 5959/393216 ( 1.5%) LDR ambient table 1132/65536 4528/262144 ( 1.7%) HDR ambient table 1132/65536 4528/262144 ( 1.7%) LDR leaf ambient 1575/65536 44100/1835008 ( 2.4%) HDR leaf ambient 1132/65536 31696/1835008 ( 1.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/7596 ( 0.0%) pakfile [variable] 260760/0 ( 0.0%) physics [variable] 112499/4194304 ( 2.7%) physics terrain [variable] 2/1048576 ( 0.0%) Level flags = 0 Total triangle count: 4808 Writing c:\users\nathan\desktop\current map projects\city17\subway.bsp 20 seconds elapsed ** Executing... ** Command: Copy File ** Parameters: "c:\users\nathan\desktop\current map projects\city17\subway.bsp" "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2\maps\subway.bsp" ** Executing... ** Command: "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\hl2.exe" ** Parameters: -dev -console -allowdebug -game "c:\program files (x86)\steam\steamapps\sassin\half-life 2 episode two\ep2" +map "subway" [/code]
Your map isn't updating thats why. overlay touching too many faces (touching 92, max 64) overlay decals/trashdecal01b at -182.5 -188.8 -128.0 You have overlays touching too many faces.
Yeah, thats the one i deleted- yet i still get that error when I compile the map, It's like I never deleted it.
I solved that problem by removing the previously compiled files... Seems strange I know, but it was perhaps a fluke error or inconsistency.
I deleted the .txt and the .prt frome the file directory to no avail. Any other ideas?
The thing is, you have overylays touching too many faces. Either use decals, or lower the ammount of faces overlays are using. Overlays are decals which can be rescaled.
There must be another one you haven't deleted, look around.
I fixed everything, thank you guys for the help.
Sorry, you need to Log In to post a reply to this thread.