I haven't posted here in a very long time, I made a map way back in 2005 and posted it here with the account name "Kali1900"
Anyway, forgot the email/pw for that account

I have a question about getting a light shader to work on a model, and I've been making my eyes bleed trying to find the answer in the Q3A shader manual or in one of the model lamp shaders. I'm still a noob to mapping


Heres what I have:
Code: Select all
models/mapobjects/lamp745
{
q3map_lightimage models/mapobjects/lamp745/li.tga
// this TGA is the source for the color of the blended light
q3map_surfacelight 10000
//emitted light value of 10,000
{
map $lightmap
//source texture is affected by the lightmap
rgbGen identity
// this command handles the overbright bits created by "sunlight"
// in the game
}
{
map models/mapobjects/lamp745/tex.tga
blendFunc filter
rgbGen identity
}
{
map models/mapobjects/lamp745/li.tga
blendFunc add
}
}