Assets pt 2 electric boogaloo
This commit is contained in:
25
custom/chillskies/materials/water/nuclearwaste001.vmt
Normal file
25
custom/chillskies/materials/water/nuclearwaste001.vmt
Normal file
@@ -0,0 +1,25 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"%compilewater" 1
|
||||
$basetexture "water/nuclearwaste001"
|
||||
$bumpmap "water/nuclearwaste001_n"
|
||||
$surfaceprop "water"
|
||||
"$bottommaterial" "water/nuclearwaste001_beneath.vmt"
|
||||
$selfillum 1
|
||||
"%keywords" "tf"
|
||||
"$nocull" "1"
|
||||
"$envmap" "env_cubemap"
|
||||
$envmaptint "[.7 .7 .7]"
|
||||
$envmapcontrast "1"
|
||||
|
||||
"Proxies"
|
||||
{
|
||||
"TextureScroll"
|
||||
{
|
||||
"texturescrollvar" "$baseTextureTransform"
|
||||
"texturescrollrate" .02
|
||||
"texturescrollangle" 45.00
|
||||
}
|
||||
}
|
||||
|
||||
}
|
BIN
custom/chillskies/materials/water/nuclearwaste001.vtf
Normal file
BIN
custom/chillskies/materials/water/nuclearwaste001.vtf
Normal file
Binary file not shown.
@@ -0,0 +1,69 @@
|
||||
"Water"
|
||||
{
|
||||
"%keywords" "tf"
|
||||
"$forceexpensive" 1
|
||||
|
||||
"$abovewater" 0
|
||||
"%compilewater" 1
|
||||
"$CHEAPWATERSTARTDISTANCE" 500.0
|
||||
"$CHEAPWATERENDDISTANCE" 1000.0
|
||||
// bottom materials shouldn't use $envmap!!! They won't work if they do.
|
||||
// "$envmap" "env_cubemap"
|
||||
"%tooltexture" "dev/water_normal"
|
||||
"$refractamount" ".2"
|
||||
"$refracttint" "[0.95 1.0 0.97]"
|
||||
|
||||
"$reflectamount" "1.0"
|
||||
"$reflecttint" "[1 1 1]"
|
||||
|
||||
// "$reflecttexture" "_rt_WaterReflection"
|
||||
"$refracttexture" "_rt_WaterRefraction"
|
||||
|
||||
|
||||
<dx90
|
||||
{
|
||||
"$fallbackmaterial" "water/water_well_beneath_dx80"
|
||||
}
|
||||
|
||||
"$scale" "[1 1]"
|
||||
|
||||
"$blurrefract" "1"
|
||||
// "$bumpmap" "water/tfwater001_dudv"
|
||||
"$normalmap" "water/tfwater001_normal"
|
||||
|
||||
$underwateroverlay "effects/water_warp_well"
|
||||
"$surfaceprop" "water"
|
||||
"$bumpframe" "0"
|
||||
|
||||
"$fogenable" 1
|
||||
// "$fogcolor" "{0 0 0}"
|
||||
"$fogcolor" "{32 67 30}"
|
||||
"$fogstart" 1
|
||||
"$fogend" 512
|
||||
|
||||
"Water_DX60"
|
||||
{
|
||||
"$fallbackmaterial" "nature/water_dx70_beneath"
|
||||
}
|
||||
|
||||
"Proxies"
|
||||
{
|
||||
"AnimatedTexture"
|
||||
{
|
||||
"animatedtexturevar" "$normalmap"
|
||||
"animatedtextureframenumvar" "$bumpframe"
|
||||
"animatedtextureframerate" 30.00
|
||||
}
|
||||
|
||||
"TextureScroll"
|
||||
{
|
||||
"texturescrollvar" "$bumptransform"
|
||||
"texturescrollrate" .05
|
||||
"texturescrollangle" 45.00
|
||||
}
|
||||
|
||||
"WaterLOD"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
BIN
custom/chillskies/materials/water/nuclearwaste001_n.vtf
Normal file
BIN
custom/chillskies/materials/water/nuclearwaste001_n.vtf
Normal file
Binary file not shown.
@@ -0,0 +1,99 @@
|
||||
"Water"
|
||||
{
|
||||
"%keywords" "tf"
|
||||
// $forcecheap 1
|
||||
|
||||
"%tooltexture" "dev/tfwater_normal"
|
||||
"%compilewater" 1
|
||||
"$abovewater" 1
|
||||
//"$nofresnel" "1"
|
||||
|
||||
"$envmap" "env_cubemap"
|
||||
"$refracttexture" "_rt_WaterRefraction"
|
||||
"$refractamount" ".32"
|
||||
//"$refracttint" "{191 179 155}"
|
||||
"$refractblur" "1"
|
||||
|
||||
"$reflecttexture" "_rt_WaterReflection"
|
||||
"$reflectamount" ".25"
|
||||
//"$reflecttint" "{230 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" "1000"
|
||||
"$fogend" "4000"
|
||||
|
||||
"$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
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user