#Prop_physics become dark and lights are compiled twice.

4 messages · Page 1 of 1 (latest)

dense osprey
#

Hello
I'm preparing a few of our old LAN party maps for the workshop as few has shown interest. But have had this lightning problem for a long time where prop_physics slowely turns dark, it gets fixed temporarily when moved away from their spot or if the lights are turned on/off.
So had simply set a timer to switch the lights off/on for a cuple miliseconds every 10 min.
Also disabled "shadows" and "receiving shadows" on all prop_physics - didn't help.
But wanna get rind of these old workarounds if our maps have to be made public.

Have noticed Facelights and VisLeafs is build twice?
The map have a LOT of named lights, but all share same name.
Some threads on the internet hint to its a cubemap problem but have done a lot of testing/changes with the cubemaps and seems to make no difference.
Some on the internet had similar issues related to compiler settings, but have tried both "Normal" and "LDR + HDR Full compile" and no difference.
Also completely uninstalled and reinstalled GarrysMod, Source SDK Base 2013 Multiplayer and Hammer++ to no avail, and fixed a lot of compile errors, those that are left are some i can't seem to fix.
Ignore the "Command failed with return code 0x1!" this error have come since i reinstalled Hammer++ and is related to mapfile/game location not updated.
Also there's no errors on the map when doing a "ALT + P".

Internet says light styles can create issues. But i don't know what identify as "light styles".
A lot of my class "Light" have different values in the "Brightness" field but not sure if that count as a "light style" and will increase the lightmap size?
I have optimized a lot of faces to luxel scale of either 32 or 64 and gone crazy with propper ("planes" count reached 100% multiple times) Once got the "no texture" related to compile light error and fixed by reducing luxel scale from 16 to 64 on lots of faces.

Have any of you got the issue with black prop_physics and found a fix for it?

https://www.youtube.com/watch?v=ZwYMyP8s2Fs

sly sandal
#

find this brush and fix it, make sure you made it correctly nodraw on every face except for the top one and make you you sealed the map if it pass thru any displacements

dense osprey
#

Thanks, brush is fixed, but still same lightning issues, would be nice to know if different brightness settings (including color) increase lightmap size.
It can't be normal lights are rendered twice, and i guess must have something to do with the dark prop_physics issues. 🤔