Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Lava Question

Page: 1 of 1
 R8Sephiroth8P
01-13-2004, 11:42 PM
#1
How do you make lava all disturbed and waving? It's not realistic when its all flat in calm. So I want to know how do you give it a rippled/rough rising and falling effect? (like the ocean) I've seen it done in another map, so could someone tell me how you do this?
 unraveled
01-15-2004, 12:53 PM
#2
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
}
}
 R8Sephiroth8P
01-16-2004, 3:22 AM
#3
Ok, but how do I use what you just gave me to alter/create the shader? Also, i'm using the korriban lava, but I don't know if that makes a difference.
Page: 1 of 1