Jump to content

Home

Lava Question


R8Sephiroth8P

Recommended Posts

This is the shader i used for my map. the bit that makes it move up and down is deformVertexes wave 200 sin 1 10 1 0.1

that makes the volume of a brush appear to move. you also need tessSize in there. that tells you how much detail the waves have.

 

 

 

textures/bespin_annex/orangelava

{

qer_editorimage textures/bespin_annex/lava2.tga

surfaceparm fog

surfaceparm nolightmap

surfaceparm nonsolid

surfaceparm slime

surfaceparm trans

cull disable

deformVertexes wave 200 sin 1 10 1 0.1

tessSize 128

qer_trans 0.2

q3map_globaltexture

fogparms ( 0.156863 0 0 ) 64

{

map textures/bespin_annex/lava2.tga

blendfunc add

rgbGen const ( 0.219608 0.219608 0.219608 )

tcMod scale 1 1

tcMod turb 0.5 0.08 1 0.1

}

{

map textures/bespin_annex/lava2.tga

blendfunc add

rgbGen const ( 0.219608 0.219608 0.219608 )

tcMod scale 1 1

tcMod turb 0.5 0.08 1 0.1

}

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...