Lighting Problem
Quote from NunamedDragon on August 15, 2011, 4:29 amHi, 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
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


Quote from ChickenMobile on August 15, 2011, 5:04 amIf 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.
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.
Quote from NunamedDragon on August 15, 2011, 6:48 amDid not work but thanks for trying
Did not work but thanks for trying

Quote from KenJeKenny!? on August 15, 2011, 7:02 amAren't these Portal 1 props? maybe that's where the problem lies?
Aren't these Portal 1 props? maybe that's where the problem lies?
Quote from NunamedDragon on August 15, 2011, 7:14 ami took these off one of valve's maps
i took these off one of valve's maps

Quote from Skotty on August 15, 2011, 7:31 amValve 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.
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.
Quote from Vordwann on August 15, 2011, 9:58 amYou can also set which light lights the prop_dynamic in its properties directly.
You can also set which light lights the prop_dynamic in its properties directly.
[spoiler][SP] Alternate[/spoiler]
