Quake 3 Explosion Shader is Choppy
Posted: Wed Oct 03, 2012 8:59 pm
Hey, I've been working on a new explosion shader for a new weapon in my mod, but the explosion is choppy, not smooth like the RL and GL explosions. Any ideas?
Your world is waiting...
https://www.quake3world.com/forum/
Code: Select all
stingerExplosion
{
cull disable
{
animmap 5 models/weaphits/stboom/stboom_1.tga models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_4.tga models/weaphits/stboom/stboom_5.tga
rgbGen wave inversesawtooth 0 1 0 5
blendfunc add
}
{
animmap 5 models/weaphits/stboom/stboom_1.tga models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_4.tga models/weaphits/stboom/stboom_5.tga gfx/colors/black.tga
rgbGen wave sawtooth 0 1 0 5
blendfunc add
}
}
Code: Select all
stingerExplosion
{
cull disable
{
animmap 5 models/weaphits/stboom/stboom_1.tga models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_4.tga models/weaphits/stboom/stboom_5.tga
rgbGen wave inversesawtooth 0 1 0 5
blendfunc add
}
{
animmap 5 models/weaphits/stboom/stboom_1.tga models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_4.tga models/weaphits/stboom/stboom_5.tga gfx/colors/black.tga
rgbGen wave sawtooth 0 1 0 5
blendfunc add
}
}
Code: Select all
stingerExplosion
{
cull disable
{
animmap 5 models/weaphits/stboom/stboom_1.tga models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_4.tga models/weaphits/stboom/stboom_5.tga
rgbGen wave inversesawtooth 0 1 0 5
blendfunc add
}
{
animmap 5 models/weaphits/stboom/stboom_2.tga models/weaphits/stboom/stboom_3.tga models/weaphits/stboom/stboom_5.tga models/weaphits/stboom/stboom_5.tga gfx/colors/black.tga
rgbGen wave sawtooth 0 1 0 5
blendfunc add
}
}