Horrid Lighting

I’ve been working on a big project lately and I am starting to become very frustrated with all of the errors in my lighting. I am using light_spot entities and have noticed that my lighting just sucks in a lot of places (mostly corners.)

http://img651.imageshack.us/img651/7020/2011122900006v.jpg

http://img859.imageshack.us/img859/8007/2011122800003j.jpg

Setting for most of my lights

http://img687.imageshack.us/img687/8048/hammerlightsettings.png

What am I doing wrong here?

Have you tried using the smoothing groups?

I’ve been messing with them for the past few days, all of those images even have smoothing groups in them (but they don’t seem to really be doing anything.)

Try turning the brightness down, set the Brightness to


255 248 255 100

That looks a little bit better, still uneven and ugly though :frowning:

Also, the dark spots are of more concern to me than that section.

[editline]28th December 2011[/editline]

Is this not the correct way to use smoothing groups?

http://img38.imageshack.us/img38/3617/hammersmoothing.png

That doesn’t look correct. Smoothing groups should be placed such that a grouped area will smooth together, so generally you don’t want an inside corner to be part of the same smoothing group. In this shot for instance you probably only want the 2 walls and beveled corner where the window is to be part of the same smoothing group.

Is any of that stuff func_detail? models or entities of any sort?

Also if you want better shadowing I’d suggest lowering the lightmap scale on those wall textures.

I was going to suggest that, but I assumed it was done intentionally? The lightmap scale looks significantly larger than standard at any rate. Unless he just read somewhere that making the lightmap scale huge was a good way to reduce file size or something and didn’t realise it would make the lighting look like shite.

The lightmap scale is not huge, it is 8. But I’ll bring it down some more and see how that looks.

http://img651.imageshack.us/img651/7020/2011122900006v.jpg

Ceiling and right wall look better now… but left wall is kind of a mess.

And still haven’t managed to fix this:

http://img859.imageshack.us/img859/8007/2011122800003j.jpg

Windows are func_detail

how strange, are there any errors with the compile?

Also, those look like custom materials, are the vmt’s using lightmappedgeneric?

Have you also tested what it looks like with all smoothing groups removed?

sorry, I am really running out of ideas as you may have guessed :stuck_out_tongue:

No notable errors

Yes, they are using lightmapped generic.

Looks the same without smoothing groups