Game Development Community

Weird lighting.

by Maddermadcat · in Constructor · 06/18/2007 (3:30 pm) · 8 replies

The lighting on my static shape is really odd. The light is right in front of one of the screens, and yet it remains black. Other parts are also unaffected for (it seems) no good reason... What's going on?

img513.imageshack.us/img513/5743/skinnycompweirdfi1.jpg

#1
06/20/2007 (5:41 pm)
Still need help here, guys...
#2
06/21/2007 (11:55 am)
Are these static meshes or reference shapes? What's the lighting scale? Is smoothing affecting the object (is it set to smooth in max)?

Also can you post a screen shot of the object in light mapped mode.
#3
06/21/2007 (9:04 pm)
If you're using TGEA, I've experienced this. It doesn't seem to happen in TGE though.
#4
06/24/2007 (3:26 pm)
It's in lightmapped mode, static mesh, no smoothing, TGE. Lighting scale? o.O
#5
06/25/2007 (9:59 am)
High lighting scales (which create less detailed lighting) can cause artifacts on objects with smoothing. The lighting scale options are located in the world spawn entity:

light_geometry_scale - the lighting scale for all regular brushes.
light_smoothing_scale - the lighting scale for all smoothed brushes
light_mesh_scale - the lighting scale for all mesh objects

Does the object have smoothing - if it does try lowering the light_smoothing_scale value.

Also does the object look that way in a new empty scene?
#6
06/25/2007 (12:44 pm)
img126.imageshack.us/img126/5531/izworsejakj7.jpg
New, empty scene. As I said early, no smoothing, but... The smoothing scale is set to 2.
#7
06/30/2007 (8:13 pm)
Hmm, try coping your level to a new test file and deleting objects in the scene until the relight works. If you construct a minimal bad lighting scene (fewest number of lights and objects) and send it over with the assets I'll debug it here and see what's happening.
#8
07/02/2007 (12:04 am)
I've had the exact same thing happen, and I was told that the only way around it was to have multiple lights, which in my mind is a big waste of resources. My case was with a ceiling light fixture, in which case putting a light directly under it made it 100% black. Putting 2 lights, to either side, made the sides light up.