Page 1 of 1

pulsing brush

Posted: Mon Jan 12, 2004 11:44 pm
by diego
I have a ceiling in one of my rooms that pulses red just like that animated pulsing elevator switch. I don't mind it. It kind of fits with the wierd lighting I put in this room. Just wondering if anyone has an idea what I may have done to make it do that.

Posted: Tue Jan 13, 2004 12:11 am
by Bjarne BZR
It may be one of the textures named "something something panel"? It has 2 different version, one normal, and one flashing red...

Example shader of custom pulsating texture:

Code: Select all

textures/vemork/pulsating
{
	qer_editorimage textures/vemork/editor_pulsating.tga
	{ // pulsating layer
		map textures/vemork/pulsating.tga
		blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
		rgbGen wave sin 0.25 0.25 0 0.75
		alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
	}
}

Yep

Posted: Tue Jan 13, 2004 12:34 am
by tltrude
Just pick a different texture.

Posted: Tue Jan 13, 2004 4:57 am
by diego
Ah, it IS called altertop_pulse.

But I'm using the same texture on another part of the map and it isn't pulsing in that location. Maybe becaue the other one is outside?