Tremulous Forum

Media => Mapping Center => Topic started by: nubcake on January 11, 2009, 04:11:55 am

Title: Flag from Dsarena
Post by: nubcake on January 11, 2009, 04:11:55 am
How did they make it? Is it just 2 patch meshes overlapping?
Title: Re: Flag from Dsarena
Post by: Knowitall66 on January 11, 2009, 04:34:43 am
No it's not patch meshes. It's a shader.
Code: [Select]
//Extract from 'DSarena.shader' BY TRaK

textures/DSArena/banner_red
{
qer_editorimage textures/DSArena/banner_red.tga
qer_alphaFunc GE128 0.5
cull none
q3map_tessSize 32
deformVertexes bulge 2 2 1
surfaceparm alphashadow
surfaceparm trans
surfaceparm nomarks
{
depthWrite
alphaFunc GE128
map textures/DSArena/banner_red.tga
blendfunc GL_ONE GL_ZERO
}
{
depthFunc equal
map $lightmap
blendfunc filter
}
}
This line;
deformVertexes bulge 2 2 1
Makes it appear wave/flap with the wind.
Title: Re: Flag from Dsarena
Post by: nubcake on January 11, 2009, 08:26:38 am
Oh right :) thanks