home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 September
/
Gamestar_65_2004-09_dvd.iso
/
Dema
/
balloonrain_trial.exe
/
Data
/
Pak01.pak
/
scripts
/
fx.shader
< prev
next >
Wrap
Text File
|
2004-06-22
|
3KB
|
236 lines
//==========================================================
// Fx
//==========================================================
Meshes/Fx/Sparkle
{
Cull Disable
AutoLighted
//DeformVertexes Scale SawTooth 1.0 5.0 0 2.5
DeformVertexes Scale Triangle 1.0 3.0 0 2.0
{
Map Meshes/Fx/Sparkle
blendFunc Add
RgbGen Wave Sin 0 1 0.5 2.0
}
}
Meshes/Fx/TakeRing
{
//Cull Disable
AutoLighted
DeformVertexes Scale Sin 10.0 40.0 0 1
{
Map Meshes/Fx/TakeRing
blendFunc Add
RgbGen Wave Sin 0 1 0.5 1.0
AddressMode Clamp
}
}
Meshes/Fx/BlockDev
{
AutoLighted
Cull None
{
NoMipMap
map Meshes/Fx/BlockDevice1
BlendFunc Add
AddressMode Clamp
tcMod Scroll 1 1.333
}
{
map Meshes/Fx/BlockDevice2
ColorOp Modulate
tcMod Scroll 1 1.333
}
}
Meshes/Fx/Teleport
{
AutoLighted
Cull None
DeformVertexes Scale Triangle 0 2 0 0.5
{
NoMipMap
map Meshes/Fx/BlockDevice1
BlendFunc Add
//rgbGen Wave Sin 1 -1 0 1
AddressMode Clamp
tcMod Scroll 1 1
}
{
map Meshes/Fx/Teleport2
ColorOp Modulate
tcMod Scroll 1 1
}
}
Meshes/Fx/MoveRing
{
Cull Disable
AutoLighted
PointSprite 60
DeformVertexes Scale Triangle 0.5 1.5 0 1
{
Map Meshes/Fx/MoveRing
blendFunc Add
RgbGen Wave Sin 0 0.5 0.5 1
}
}
Meshes/Fx/MoveFog
{
AutoLighted
PointSprite 400
DeformVertexes Scale Triangle 0.5 1.5 0 1
{
//Map Meshes/Fx/MoveFog
Map Meshes/Fx/MoveRound
blendFunc Add
RgbGen Wave Sin 0 0.5 0.5 1
tcMod Scale 2 4
}
}
Meshes/Fx/Electric
{
AutoLighted
Cull Disable
DeformVertexes Scale Sin 5 -3 0.25 2
{
map Meshes/Fx/Electric
blendFunc Add
rgbGen Wave Triangle 1 -1 0 1
tcMod scroll -15 0
}
{
map Meshes/Fx/Electric
blendFunc Add
rgbGen Wave Triangle 1 -1 0 1
tcMod scale -1 -1
tcMod scroll -7.2 0
}
}
Meshes/Fx/Smoke
{
AutoLighted
Cull Disable
DeformVertexes AutoSprite
DeformVertexes Scale Sin 0 2.5 0.25 0.25
{
Map Meshes/Fx/Smoke.tga
blendFunc Blend
AlphaGen Wave Sin 1 -1 0 0.5
}
}
Meshes/Fx/Appear
{
AutoLighted
DeformVertexes Scale Sin 1.02 0 0 1
{
map Meshes/Fx/Appear1
BlendFunc Add
AddressMode Clamp
tcMod Scroll 0 0.5
}
{
map Meshes/Fx/Appear2
ColorOp Modulate
tcMod Scroll 0 0.5
}
}
Meshes/Fx/PlayerAppear
{
AutoLighted
{
map Meshes/Fx/PlayerAppear
BlendFunc Blend //One InvSrcColor
alphaGen Wave Sin 1 -1 0 0.25
tcMod Scroll 0.25 1
}
}
Meshes/Fx/DropFx
{
AutoLighted
DeformVertexes Rotate 360 0 1 0
{
map Meshes/Fx/DropFx
BlendFunc Blend
AlphaGen Wave Sin 1 -0.5 0 2
}
}
Meshes/Fx/Explode
{
AutoLighted
DeformVertexes Scale Sin 1.0 30.0 0 0.1667
//DeformVertexes Rotate 180 0 1 0
Cull None
{
map Meshes/Fx/ExplodeFire.Tga
BlendFunc Add
tcMod Scale 8 8
tcMod Rotate -90
RgbGen Wave Sin 1 -1 0 0.333
}
{
map Meshes/Fx/ExplodeBolts.Tga
BlendFunc Add
tcMod Scale 2 2
tcMod Rotate 180
RgbGen Prev
}
}
Meshes/Fx/BaseBlow
{
AutoLighted
DeformVertexes Scale Sin 1.0 30.0 0 0.1667
DeformVertexes Rotate 1000 0 1 0
Cull None
{
map Meshes/Fx/BaseBlow
BlendFunc Blend
AlphaGen Wave Sin 1 -1 0 0.3333
}
}