The basic problem would be that when I compile a cylinder with a shader on it into an .ASE model, and lightmap it, there is no longer any smoothing.
I've tried using q3map_nonPlanar/q3map_shadeAngle to no avail. Here's the shader:
Code: Select all
textures/kazdm4_lights/tubelight_w
{
qer_editorimage textures/kazdm4_lights/tubelight_w.tga
//q3map_splotchfix
//q3map_nonplanar
//q3map_shadeangle 100
q3map_forcemeta
surfaceparm nomarks
{
map $lightmap
rgbGen identity
}
{
map textures/kazdm4_lights/tubelight_w.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
{
map textures/kazdm4_lights/tubelight_w_add.tga
blendfunc GL_ONE GL_ONE
}
}