- Aug 31, 2016
- 72
- 15
sometimes in the map when i go under this custom water , this happen
anyone know why this happen? and why it is only SOMETIMES?
water codes
water_cyan01_scrolling.vmt
"Water"
{
"%compilewater" 1
"$forceexpensive" 1
"$reflectentities" 1
"$envmap" "env_cubemap"
"%tooltexture" "dev/water_normal"
"$refracttexture" "_rt_WaterRefraction"
"$refractamount" "1"
"$refracttint" "[.68 .76 .76]"
"Water_DX60"
{
"$fallbackmaterial" "nature/water_dx70_beneath"
}
"Water_DX80"
{
"$refractamount" ".13"
"$reflectamount" "2.5"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
}
}
"Water_DX81"
{
"$refractamount" ".13"
"$reflectamount" "2.5"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
}
}
"$reflecttexture" "_rt_WaterReflection"
"$reflectamount" ".75"
"$reflecttint" "[1 .95 .85]"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv"
"$normalmap" "dev/water_normal"
"$surfaceprop" "water"
"$bottommaterial" "water/water_cyan01_beneath"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{20 255 255 200}"
"$fogstart" "0"
"$fogend" "300"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
}
}
water_cyan01_overlay.vmt
"Refract"
{
"%keywords" "tf"
"$refractamount" ".05"
"$refracttint" "{20 255 255}"
"$refractblur" "1"
"$bluramount" "1"
"$ignorez" "1"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv"
"$normalmap" "dev/water_normal"
"$bumpframe" "0"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
}
}
water_cyan01_beneath.vmt
"Water"
{
"%keywords" "tf"
"$abovewater" 0
"%compilewater" 1
"$CHEAPWATERSTARTDISTANCE" 500.0
"$CHEAPWATERENDDISTANCE" 1000.0
"%tooltexture" "dev/water_normal"
"$refractamount" ".5"
"$refracttint" "[.68 .76 .76]"
"$reflectamount" "1.0"
"$reflecttint" "[1 1 1]"
"$refracttexture" "_rt_WaterRefraction"
"$scale" "[1 1]"
"$blurrefract" "1"
"$normalmap" "dev/water_normal"
$underwateroverlay "colour/water/water_cyan01_overlay"
"$surfaceprop" "water"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{20 255 255 200}"
"$fogstart" "0"
"$fogend" "300"
"Water_DX60"
{
"$fallbackmaterial" "nature/water_dx70_beneath"
}
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
"WaterLOD"
{
}
}
}
anyone know why this happen? and why it is only SOMETIMES?
water codes
water_cyan01_scrolling.vmt
"Water"
{
"%compilewater" 1
"$forceexpensive" 1
"$reflectentities" 1
"$envmap" "env_cubemap"
"%tooltexture" "dev/water_normal"
"$refracttexture" "_rt_WaterRefraction"
"$refractamount" "1"
"$refracttint" "[.68 .76 .76]"
"Water_DX60"
{
"$fallbackmaterial" "nature/water_dx70_beneath"
}
"Water_DX80"
{
"$refractamount" ".13"
"$reflectamount" "2.5"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
}
}
"Water_DX81"
{
"$refractamount" ".13"
"$reflectamount" "2.5"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
}
}
"$reflecttexture" "_rt_WaterReflection"
"$reflectamount" ".75"
"$reflecttint" "[1 .95 .85]"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv"
"$normalmap" "dev/water_normal"
"$surfaceprop" "water"
"$bottommaterial" "water/water_cyan01_beneath"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{20 255 255 200}"
"$fogstart" "0"
"$fogend" "300"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
}
}
water_cyan01_overlay.vmt
"Refract"
{
"%keywords" "tf"
"$refractamount" ".05"
"$refracttint" "{20 255 255}"
"$refractblur" "1"
"$bluramount" "1"
"$ignorez" "1"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv"
"$normalmap" "dev/water_normal"
"$bumpframe" "0"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
}
}
water_cyan01_beneath.vmt
"Water"
{
"%keywords" "tf"
"$abovewater" 0
"%compilewater" 1
"$CHEAPWATERSTARTDISTANCE" 500.0
"$CHEAPWATERENDDISTANCE" 1000.0
"%tooltexture" "dev/water_normal"
"$refractamount" ".5"
"$refracttint" "[.68 .76 .76]"
"$reflectamount" "1.0"
"$reflecttint" "[1 1 1]"
"$refracttexture" "_rt_WaterRefraction"
"$scale" "[1 1]"
"$blurrefract" "1"
"$normalmap" "dev/water_normal"
$underwateroverlay "colour/water/water_cyan01_overlay"
"$surfaceprop" "water"
"$bumpframe" "0"
"$fogenable" 1
"$fogcolor" "{20 255 255 200}"
"$fogstart" "0"
"$fogend" "300"
"Water_DX60"
{
"$fallbackmaterial" "nature/water_dx70_beneath"
}
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 30.00
}
"TextureScroll"
{
"texturescrollvar" "$bumptransform"
"texturescrollrate" .5
"texturescrollangle" 90
}
"WaterLOD"
{
}
}
}