Glowing Windows
Moderator: Moderators
- MPowell1944
- Moderator
- Posts: 287
- Joined: Thu Jan 09, 2003 7:06 am
- Location: Woodstock, GA
- Contact:
Glowing Windows
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.
A light emitting texture has this in the shader
q3map_surfacelight
example:
q3map_surfacelight
example:
light emitting textures will increase the compile time by quite a bit so I would add that to my map last .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
}
}
