I’m using the following shader for a phong shaded texture which is projected on the x-axis:
textures/aamjs_misc/barseatredlthr
{
q3map_nonplanar
q3map_shadeangle 160
q3map_tcGen ivector ( 0 96 0 ) ( 0 0 24 )
q3map_lightmapaxis x
{
map textures/aamjs_misc/barseatredlthr.tga
rgbGen identity
}
{
map $lightmap
tcGen lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
The size and appearance of the texture is fine, but I want to offset it so that rather than being aligned with the origin of the map, it aligns with a point 606 units along the y-axis and 28 units along the z-axis. Can anyone tell me what I need to add to the shader to achieve this? (I’ve tried trawling through these forums and the manual, but I couldn’t find anything that seemed to fit the bill).
Thanks in advance,
DD