Page 1 of 1

Problems with vertex light ...

Posted: Tue Sep 23, 2008 11:20 am
by T_Creutzenberg
Example 1:

The stairs are a little bit inside the wall, which is a curve,
so it won't be possible to perfectly align them ...
Some of them even change color from black to normal when
moving up or down the stairs. Scary!
Anybody got any clue how to get rid of this problem?
Also, please note the strange vertex lit poly at the top left ...

Image
Image

Example 2:

Stairs (top left) totally black ...
Artifacts on the left side of the door...
Artifacts on the floor ...
Image
Image


Artifacts around the water ...
Is it possible to get rid of them without loosing the lightmap
on the water surface?
And for the green lights on the ground around the water,
the water is light emitting ... Is there a way to get rid of these?
Image

I don't really know how to fix these bugs ...
Any help is much appreciated!

Re: Problems with vertex light ...

Posted: Tue Sep 23, 2008 6:05 pm
by g0th-
split the black brushes into 2 different brushes should probably do the trick

Re: Problems with vertex light ...

Posted: Tue Sep 23, 2008 10:48 pm
by rgoer
if all of the verts of a given brush are buried wholly within other (shadow-casting) geometry, then when vertex lit that brush will be black

you gotta have some verts "exposed" to where light is coming from if you want vertex lighting to work properly

Re: Problems with vertex light ...

Posted: Wed Sep 24, 2008 7:37 am
by T_Creutzenberg
Ok, thanks. But there isn't a shader trick or something else like a q3map2 switch?

Re: Problems with vertex light ...

Posted: Wed Sep 24, 2008 9:40 am
by T_Creutzenberg
Oh, I just tried the -cpma switch with q3map2 which says it
simulates old style vertex light, but it q2map2 says it's not working ...

Is there a way to compile the map once with and once without
patchshadows and then merge them into one? When I compile the
map without patchshadows vertex light looks great with nearly no
artifacts but the lightmap version has lots of artifacts ...

Re: Problems with vertex light ...

Posted: Wed Sep 24, 2008 11:17 am
by o'dium
Erm, just do what rgoer said dude, just move the verts slightly on the brushes that mess up in vertex light. Thats all, shouldn't take long really its not like the entire map is broken.

Dont worry.

Re: Problems with vertex light ...

Posted: Wed Sep 24, 2008 6:32 pm
by ix-ir
Could you upload the map file? It would make the whole fixing thing easier. The second shot looks as if there's a crack in the step - fix!