Glowing Windows

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Glowing Windows

Post 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.
seere
First Lieutenant
Posts: 181
Joined: Fri Apr 02, 2004 12:51 pm
Location: London

Post 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.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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 .
Image
Post Reply