pulsing brush
Moderator: Moderators
pulsing brush
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.
Diego
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
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:
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
}
}
