PDA

View Full Version : Dynamic light problems



Inferno
March 17th, 2009, 06:04 PM
Yes I know it's a png. But I hate shit quality jpegs.

http://www.freewebs.com/infernosk8terstuff/da%20wtfz.PNG

Con
March 17th, 2009, 06:12 PM
haha, oh wow, no idea. as for the grenade, could it be that the light source is outside the level and cant illuminate the backface?

Inferno
March 17th, 2009, 06:14 PM
I think that may be the cause of it but I have no idea how to fix it because there is no way to raise the point at which the light is created.

Con
March 17th, 2009, 06:27 PM
You would have to have two dynamic light sources on the grenade, so one is always above ground when it lands.

Inferno
March 17th, 2009, 06:30 PM
The grenade spins when it is thrown though so if I put a marker 1 world unit above the grenade it would probably end up underneath or on the side most of the time.

UnevenElefant5
March 17th, 2009, 08:49 PM
Maybe the bottom face in the second pic has an error. Like, maybe it's a degenerate triangle or something. Or it got flipped and that's the backface.

Inferno
March 17th, 2009, 08:51 PM
No errors in the map.
That happens every where.

Heathen
March 17th, 2009, 09:10 PM
Dude, the 1st one is pretty badass...

UnevenElefant5
March 17th, 2009, 09:13 PM
Well, I don't know much about lightmaps, but how low is the threshold you are running them in tool? Maybe it's such a quick lightmapping job that you get errors like that.

Inferno
March 17th, 2009, 09:21 PM
Read the thread title. Its DYNAMIC light that's causing these problems. The light maps should have nothing to do with dynamic lighting.

UnevenElefant5
March 17th, 2009, 09:23 PM
Like I said, I don't know much about lighting. I can't help you here. Sorry :\

itszutak
March 17th, 2009, 11:12 PM
The light bar thing in the first picture is a problem that's existed since release-- Look at the corridors near the end of The Maw and you'll find a similar problem.

You might try moving the verts around- that seems to fix a few other weird problems with maps. I'm not sure what else would work.

SuperSunny
March 17th, 2009, 11:28 PM
I believe it's still smoothening. Generally, a smoothening error would correlate with a lightmap problem, but, dynamic lights hit surfaces, and when the surface has screwed up smoothening, an effect like that twist in the first image you posted can be formed.

Try and attempt a change of surface smoothening. Apply an alternative number, or get rid of it at that specific spot. See what you can come up with.

p0lar_bear
March 18th, 2009, 01:02 PM
For the grenade, is your bumpmap in the floor's shader compiled as a height map (when you view the bump in guerilla, is it blue and red and green and shit and not grayscale)? If not, change its usage to "height map" and recompile the bitmap.

As for the streaks, try checking the "simple parameterization" flag in the wall shader.

Limited
March 18th, 2009, 03:58 PM
Shader issues.

Also is the 1st picture wall planar? It also looks like it just runs off the top (like geometry error).