Trouble with Lighting Static Props

Avatar
BEARD!
169 Posts
Posted Feb 15, 2012
I'm struggling to get consistent lighting for certain props, and would appreciate some help or advice! I think the easiest way to describe what's going on is with some pictures:

EDIT: The solution was to use -staticproplighting when compiling the map. This can be achieved by doing a 'full' compile via Hammer's Expert Run Map dialog. Thanks to Another Bad Pun for the information.

img
Geodome props with different lightingt

img
Same story, but for the paint tubes

img
The same for walkway props. They also seem to be casting excessive shadows. You can also see the disproportionately bright geodome prop!

What's going on here? Am I lighting things incorrectly?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Another Bad Pun
516 Posts
Posted Feb 15, 2012
Replied 19 minutes later
Compiling with -staticproplighting should fix your problem.

-Staticproplighting is enabled automatically on full compile. (Remember to choose the option with both LDR and HDR.) You can compile with full compile by clicking the "expert" option in the normal compile window, and then selecting the option you want.

If you are not sure which options have -staticproplighting fully enabled, look at their parameters. :thumbup:

Avatar
BEARD!
169 Posts
Posted Feb 15, 2012
Replied 1 hour later
That did the trick! It took ages to compile but things are looking fantastic now. Thanks very much!