Hey guys! You probably already know this, but Ydnar and Q3Map2 absolutely ROCK. Hands down. Period. 
First off, here’s my compiler options (yep, it’s for Elite Force):
MAP: -game ef -meta -patchmeta
VIS: -game ef -vis
LIGHT: -game ef -light -fast -filter -patchshadows -samples 3 -bounce 4
And now for the problems… I’ve been playing around with shading options, and I can’t seem to get phong shading to work right. Here’s a pic of my results…

The left (with the ‘V’) is supposed to be vertex lit. Sometimes you’ll see the seams, but they’re not too evident. How do I eliminate the seams? Here’s the shader I used for that grass:
textures/m_castl01/grass_vertex
{
qer_editorimage textures/m_castl01/c_grass02.tga
q3map_bounce 0.25
surfaceparm pointlight
{
map textures/m_castl01/c_grass02.tga
blendFunc GL_ONE GL_ZERO
rgbGen vertex
}
}
The right (with the ‘P’) is supposed to be phong shaded. The terrain geometry is a duplicate of what you see on the left, and there’s absolutely no seams (unlike the vertex lit shader). But you can immediately see where the triangles are lit incorrectly. That ‘P’ is flat, like the ‘V’, but the lighting makes it look a little funky. Also, you can see the two triangular shadows in the phong-shaded grass to the right of the four colums. How do I get the phong shading to happen where there aren’t any triangular shadows generated? Here’s the phong shader that I used to get this result:
textures/m_castl01/grass_phong
{
qer_editorimage textures/m_castl01/c_grass02.tga
q3map_bounce 0.25
q3map_shadeangle 120
q3map_splotchfix
surfaceparm nolightmap
{
map textures/m_castl01/c_grass02.tga
blendFunc GL_ONE GL_ZERO
rgbGen vertex
}
}
Please note that there’s no terrain meshes used in the above pic. Heck, there aren’t any meshes in this map!
But this is the terrain method that I’m using for a much bigger map I’m working on, so I’d like to get the compiler and shader options figured out before I go gung-ho on lighting the big map. I’m sure the problems are either with my compiler options or my shader files, so if you see any errors can you post corrected examples?
Thanks in advance for the help, I really appreciate it!
