Problems with vertex light ...

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
T_Creutzenberg
Posts: 27
Joined: Fri Sep 19, 2008 12:00 pm

Problems with vertex light ...

Post 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!
g0th-
Posts: 262
Joined: Sat May 19, 2007 7:57 pm

Re: Problems with vertex light ...

Post by g0th- »

split the black brushes into 2 different brushes should probably do the trick
[url]http://www.g0th.se[/url]
rgoer
Posts: 798
Joined: Sun Aug 17, 2003 7:00 am

Re: Problems with vertex light ...

Post 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
T_Creutzenberg
Posts: 27
Joined: Fri Sep 19, 2008 12:00 pm

Re: Problems with vertex light ...

Post by T_Creutzenberg »

Ok, thanks. But there isn't a shader trick or something else like a q3map2 switch?
T_Creutzenberg
Posts: 27
Joined: Fri Sep 19, 2008 12:00 pm

Re: Problems with vertex light ...

Post 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 ...
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Re: Problems with vertex light ...

Post 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.
ix-ir
Posts: 192
Joined: Wed May 16, 2007 9:43 pm

Re: Problems with vertex light ...

Post 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!
Post Reply