home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 September
/
Gamestar_65_2004-09_dvd.iso
/
Dema
/
balloonrain_trial.exe
/
Data
/
Pak01.pak
/
scripts
/
global.shader
< prev
next >
Wrap
Text File
|
2004-06-22
|
4KB
|
244 lines
//==========================================================
// Wall
//==========================================================
Meshes/Textures/BUNKER_A
{
LimitedMipMap
//Diffuse 2 0 0
{
map Meshes/Textures/BUNKER_A
//tcGen ObjectSpacePosition 0.004 0 0 0 0 0.004 0 0
}
{
map Meshes/Textures/Grille02
rgbGen Wave Sin 0.25 0.25 0 2
tcGen ObjectSpaceNormal 0.5 0 0 0.5 0 0 0.5 0.5
tcMod Rotate 15
BlendFunc Add
}
}
_Meshes/Textures/BUNKER_A
{
{
AnimMap 1 Meshes/Textures/BUNKER_A Meshes/Textures/Grille Meshes/Textures/Grille02 Meshes/Textures/chrome_env
}
}
//==========================================================
// Generator
//==========================================================
Meshes/Generator/Base
{
Specular 0.7
{
map Meshes/Generator/Base
}
{
map Meshes/Textures/Grille04
rgbGen Wave Sin 0.25 0.25 0 2
tcGen Environment
tcMod Rotate 15
tcMod Scroll 0.2 0.4
//tcMod Scale 1 0.5
BlendFunc Add
}
}
Meshes/Generator/Head
{
Specular 0.7
DeformVertexes Rotate 90 0 1 0
{
map Meshes/Generator/Head
}
{
map Meshes/Generator/Snake
tcMod Scale 2 1
tcMod Scroll 0.4 -1.0
blendFunc Blend
}
}
//==========================================================
// Player
//==========================================================
Meshes/GrabSkin01/GrabA
{
NoDynamicLight
{
Map Meshes/GrabSkin01/GrabA
}
{
map Meshes/GrabSkin01/Reflect
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
blendFunc InvDestAlpha DestAlpha
}
}
Meshes/GrabSkin01/GrabB
{
NoDynamicLight
{
Map Meshes/GrabSkin01/GrabB
}
{
map Meshes/GrabSkin01/Reflect
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
blendFunc InvDestAlpha DestAlpha
}
}
Meshes/GrabSkin02/GrabA
{
NoDynamicLight
{
Map Meshes/GrabSkin02/GrabA
}
{
map Meshes/GrabSkin01/Reflect
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
blendFunc InvDestAlpha DestAlpha
}
}
Meshes/GrabSkin02/GrabB
{
NoDynamicLight
{
Map Meshes/GrabSkin02/GrabB
}
{
map Meshes/GrabSkin01/Reflect
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
blendFunc InvDestAlpha DestAlpha
}
}
Meshes/GrabSkin02/GrabC
{
NoDynamicLight
{
Map Meshes/GrabSkin02/GrabA
}
{
map Meshes/GrabSkin01/Reflect
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
blendFunc InvDestAlpha DestAlpha
}
}
Meshes/GrabSkin02/GrabD
{
Shader Meshes/GrabSkin02/GrabB
}
Meshes/GrabSkin01/GrabC
{
Shader Meshes/GrabSkin01/GrabA
}
Meshes/GrabA/Body
{
NoDynamicLight
{
tcGen Environment 0.5 0 0 0.5 0 0.5 0 0.5
//tcGen CamSpaceNormal 0.5 0 0 0.5 0 0.5 0 0.5
Map Meshes/GrabA/Body
}
}
//==========================================================
// Ghost
//==========================================================
Meshes/Textures/Ghost
{
AutoLighted
DeformVertexes Scale Sin 0.9 0.2 0 1
DeformVertexes Move Sin -1 2 0 3 10 0 0
{
Map Meshes/Textures/Ghost
blendFunc Blend
}
{
Map Meshes/Textures/GhostFx
blendFunc Add
tcGen ObjectSpacePosition 0.01 0 0 0.5 0 -0.005 0 0.0
tcMod Scroll 0.5 1.0
}
}
Meshes/Textures/GhostWhite
{
AutoLighted
DeformVertexes Scale Sin 0.9 0.2 0 1
DeformVertexes Move Sin -1 2 0 3 10 0 0
{
Map Meshes/Textures/GhostWhite
blendFunc Add
}
{
Map Meshes/Textures/GhostWhiteFx
blendFunc Filter
tcGen ObjectSpacePosition 0.01 0 0 0.5 0 -0.005 0 0.0
tcMod Scroll 0 1.0
}
}
//==========================================================
// Moving
//==========================================================
Meshes/Textures/Moving
{
AutoLighted
{
Map Meshes/Textures/MovingBase
AddressMode Border 0
blendFunc Blend
}
{
Map Meshes/Textures/MovingAdd
blendFunc Add
AddressMode Border Wrap 0
tcMod Scroll 0 1
tcMod Transform 1.5 0 0 1.5 -0.25 -0.25 // scale + recenter
rgbGen Wave Sin 0.5 0.75 0 2
}
}