News:

Come Chat with us live! Learn how HERE!

Main Menu

Florescent light shaders

Started by CATAHA, February 07, 2007, 10:37:45 PM

CATAHA

Guys, I need some florescent lights for my map. When i mak'in static lights shaders - all ok. But when i try make pulsating broken florescent light shader I struck. I need change texture lum and self-illumination lum both. But i cant. Texture flashing, but light - no. On this stage i have:

textures/res/light00-S-2000P
{
qer_editorimage textures/res/light00.jpg
surfaceparm nomarks
q3map_surfacelight 2000
{
map textures/res/light00.jpg
rgbGen wave noise 0 .5 0 4
}
{
map $lightmap
blendfunc filter
tcGen lightmap
}
{
map textures/res/light00b.jpg
rgbGen wave noise 0 .5 0 4
blendfunc add
}
}

Any ideas?
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake

OverFlow

Q3 (Trem) doesn't allow for lights that change intensity, color, etc.  It is possible though (see Tremor) because of a 'hack' in q3map2.  Look up "lightstyle".   It should be noted that this technique takes up a fair amount of memory and processing, so the use of it a lot isn't recommended.

CATAHA

I see, thanx... mu mep huge enough, i will leave standart lights in this case (
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake