100 lines
1.6 KiB
Plaintext
100 lines
1.6 KiB
Plaintext
|
"Water"
|
||
|
{
|
||
|
"%keywords" "tf"
|
||
|
// $forcecheap 1
|
||
|
|
||
|
"%tooltexture" "dev/tfwater_normal"
|
||
|
"%compilewater" 1
|
||
|
"$abovewater" 0
|
||
|
"$nofresnel" "0"
|
||
|
|
||
|
"$envmap" "env_cubemap"
|
||
|
"$refracttexture" "_rt_WaterRefraction"
|
||
|
"$refractamount" "0.012"
|
||
|
"$refracttint" "{80 179 155}"
|
||
|
"$refractblur" "1"
|
||
|
|
||
|
"$reflecttexture" "_rt_WaterReflection"
|
||
|
"$reflectamount" ".01"
|
||
|
"$reflecttint" "{100 240 255}"
|
||
|
// "$reflectsaturation" "[0 0 1]"
|
||
|
|
||
|
"$scale" "[1 1]"
|
||
|
|
||
|
// "$bumpmap" "dev/water_dudv"
|
||
|
"$normalmap" "water/tfwater001_normal"
|
||
|
|
||
|
"$surfaceprop" "water"
|
||
|
"$bottommaterial" "water/water_2fort_beneath.vmt"
|
||
|
"$bumpframe" "0"
|
||
|
|
||
|
"$fogenable" 1
|
||
|
"$fogcolor" "{16 64 64}"
|
||
|
"$fogstart" "800"
|
||
|
"$fogend" "8000"
|
||
|
|
||
|
"$temp" "[0 0]"
|
||
|
"$curr" 0.0
|
||
|
"$curr2" 0.0
|
||
|
|
||
|
"Water_DX60"
|
||
|
{
|
||
|
"$fallbackmaterial" "nature/water_dx70"
|
||
|
}
|
||
|
|
||
|
"Proxies"
|
||
|
{
|
||
|
"AnimatedTexture"
|
||
|
{
|
||
|
"animatedtexturevar" "$normalmap"
|
||
|
"animatedtextureframenumvar" "$bumpframe"
|
||
|
"animatedtextureframerate" 30.00
|
||
|
}
|
||
|
|
||
|
"Sine"
|
||
|
{
|
||
|
"sineperiod" "24"
|
||
|
"sinemin" -0.5
|
||
|
"sinemax" 0.5
|
||
|
"resultVar" "$curr"
|
||
|
}
|
||
|
"Sine"
|
||
|
{
|
||
|
"sineperiod" "16"
|
||
|
"sinemin" 0.5
|
||
|
"sinemax" -0.5
|
||
|
"resultVar" "$curr2"
|
||
|
}
|
||
|
|
||
|
"Equals"
|
||
|
{
|
||
|
"srcVar1" "$curr2"
|
||
|
"resultVar" "$temp[0]"
|
||
|
}
|
||
|
"Equals"
|
||
|
{
|
||
|
"srcVar1" "$curr"
|
||
|
"resultVar" "$temp[1]"
|
||
|
}
|
||
|
|
||
|
|
||
|
"TextureTransform"
|
||
|
{
|
||
|
"translateVar" "$temp"
|
||
|
"resultVar" "$bumptransform"
|
||
|
}
|
||
|
|
||
|
// "TextureScroll"
|
||
|
// {
|
||
|
// "texturescrollvar" "$bumptransform"
|
||
|
// "texturescrollrate" .1
|
||
|
// "texturescrollangle" 45.00
|
||
|
// }
|
||
|
"WaterLOD"
|
||
|
{
|
||
|
// fixme! This has to be here, or material loading barfs.
|
||
|
"dummy" 0
|
||
|
}
|
||
|
}
|
||
|
}
|