Lighting Problem

Avatar
NunamedDragon
39 Posts
Posted Aug 15, 2011
Hi, i'm having trouble getting light to work properly with this model, I'm using the final conpile with -both -final -textureshadows -StaticPropLighting -StaticPropPolys -game $gamedir $path\$file

img

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Aug 15, 2011
Replied 35 minutes later
If its a dynamic model, try setting the lighting origin to a lighted area. This is done by creating a info_target and setting the appropriate value in the model's properties.
Avatar
NunamedDragon
39 Posts
Posted Aug 15, 2011
Replied 1 hour later
Did not work but thanks for trying
Avatar
KenJeKenny!?
238 Posts
Posted Aug 15, 2011
Replied 14 minutes later
Aren't these Portal 1 props? maybe that's where the problem lies?
Avatar
NunamedDragon
39 Posts
Posted Aug 15, 2011
Replied 11 minutes later
i took these off one of valve's maps
Avatar
Skotty
671 Posts
Posted Aug 15, 2011
Replied 17 minutes later
Valve used path_corners as lighting origins for prop_dynamics in their maps (I don't know why but it seems to work). I used it too and it worked. The result was not the best but the model wasn't black anymore. Try to put the path_corner as lighting origin to some bright place (near a light entity).
It won't override the whole lighting but it gives some minimum light level to the prop.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Vordwann
767 Posts
Posted Aug 15, 2011
Replied 2 hours later
You can also set which light lights the prop_dynamic in its properties directly.