water wip

This commit is contained in:
Robin Appelman 2023-12-18 20:10:21 +01:00
commit aac06e896b
5 changed files with 143 additions and 0 deletions

View file

@ -0,0 +1,65 @@
"Water"
{
"%keywords" "tf"
// $forcecheap 1
"%tooltexture" "dev/tfwater_normal"
"%compilewater" 1
"$abovewater" 1
// "$nofresnel" "1"
$underwateroverlay "effects/water_warp"
"$envmap" "env_cubemap"
"$refracttexture" "_rt_WaterRefraction"
"$refractamount" ".12"
// "$refracttint" "{88 192 44}"
"$refractblur" "1"
"$scale" "[1 1]"
"$basetexture" "swamp/water/water_murky"
// "$bumpmap" "water/water_dudv"
"$normalmap" "water/tfwater001_normal"
"$surfaceprop" "water"
"$bottommaterial" "swamp/water/water_murky_beneath.vmt"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{35 32 20}"
"$fogstart" "0"
"$fogend" "170"
"$temp" "[0 0]"
"$curr" 0.0
"$curr2" 0.0
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .01
"texturescrollangle" 10.00
}
"WaterLOD"
{
// fixme! This has to be here, or material loading barfs.
"dummy" 0
}
}
}