Author Topic: Flag from Dsarena  (Read 2257 times)

nubcake

  • Posts: 529
  • Turrets: +49/-85
Flag from Dsarena
« on: January 11, 2009, 04:11:55 am »
How did they make it? Is it just 2 patch meshes overlapping?

Knowitall66

  • Posts: 492
  • Turrets: +70/-52
Re: Flag from Dsarena
« Reply #1 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.

nubcake

  • Posts: 529
  • Turrets: +49/-85
Re: Flag from Dsarena
« Reply #2 on: January 11, 2009, 08:26:38 am »
Oh right :) thanks