57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
"LightmappedGeneric"
|
|
{
|
|
"$basetexture" "dev/water"
|
|
"$color" "{80 64 38}"
|
|
"$scale" "[1 1]"
|
|
// "$translucent" "1"
|
|
"$additive" "1"
|
|
"$fogenable" 1
|
|
"$fogcolor" "{150 200 200}"
|
|
"$fogstart" 64.00
|
|
"$fogend" 512.00
|
|
|
|
"%compilewater" 1
|
|
|
|
// This is needed for physics, etc.
|
|
"$surfaceprop" "water"
|
|
|
|
// You must have this. . this is a material that is practically identical
|
|
// to this one in most cases. It must have $reflecttexture disabled, and
|
|
// you can set for params uniquely for underwater.
|
|
"$bottommaterial" "nature/water_dx70_beneath"
|
|
|
|
// This is needed for the proxy below which animates the normal map, etc.
|
|
"$bumpframe" "0"
|
|
|
|
"$abovewater" 1
|
|
|
|
"$texoffset" "[0 0]"
|
|
|
|
// The water generally looks better if we scale it down a bit
|
|
"$texscale" "0.5"
|
|
|
|
"Proxies"
|
|
{
|
|
"AnimatedTexture"
|
|
{
|
|
"animatedtexturevar" "$basetexture"
|
|
"animatedtextureframenumvar" "$frame"
|
|
"animatedtextureframerate" 20.00
|
|
}
|
|
|
|
"TextureScroll"
|
|
{
|
|
"texturescrollvar" "$texoffset"
|
|
"texturescrollrate" .025
|
|
"texturescrollangle" 45.00
|
|
}
|
|
|
|
"TextureTransform"
|
|
{
|
|
"translateVar" "$texoffset"
|
|
"scaleVar" "$texscale"
|
|
"resultVar" "$basetexturetransform"
|
|
}
|
|
}
|
|
}
|