Page 1 of 1
Glowing Windows
Posted: Sat Feb 12, 2005 2:05 pm
by MPowell1944
Like in Algiers, how would I make the windows glow, as if a light is on in a house. I added a light, but I want the actual texture to be brighter. I messed with color and intensity flags on the texture, but nothing happened.
Posted: Sat Feb 12, 2005 2:17 pm
by seere
just in radiant go to textures ----> light and that will bring up the light emitting windows.
Seere.
Edit* of course if you know this info already then look up the shaders of the texture (light emitting window) and mess with it.
Posted: Sat Feb 12, 2005 10:52 pm
by bdbodger
A light emitting texture has this in the shader
q3map_surfacelight
example:
textures/central_europe_winter/winterwindow1_lit
{
qer_editorimage textures/central_europe_winter/winterwindow_lit1.tga
qer_keyword m5
qer_keyword special
//surfaceparm nomarks
surfaceparm glass
q3map_surfacelight 2000
{
map $lightmap
rgbGen identity
}
{
map textures/central_europe_winter/winterwindow_lit1.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
{
map textures/central_europe_winter/winterwindow_lit1.blend.tga
blendfunc GL_ONE GL_ONE
}
}
light emitting textures will increase the compile time by quite a bit so I would add that to my map last .