--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/materials/glitchvid/glass/glass_modern_window.vmt Sun Mar 06 19:45:24 2016 -0700 @@ -0,0 +1,52 @@ +"Refract" +{ +"$bluramount" "1" +"$surfaceprop" "glass" +"$refractamount" ".100" +"$scale" "[1 1]" +"$normalmap" "redcity/glass_modern_window_normal" +"$REFRACTTINTTEXTURE" "redcity/glass_modern_window" +"$envmap" "env_cubemap" +"$normalmapalphaenvmapmask" 1 +"$envmaptint" "[0.3, 0.3, 0.3]" + + "Refract_dx90" + { + "$refractamount" "0.100" + } + + "Refract_DX80" + { + "$refractamount" ".025" + "$REFRACTTINTTEXTURE" "glass_modern_window" + + "UnlitGeneric_dx8" + { + "$basetexture" "redcity/glass_modern_window" + "Proxies" + { + "Sine" + { + "resultVar" "$alpha" + "sineperiod" 15 + "sinemin" 0.1 + "sinemax" 0.1 + } + } + + "UnlitGeneric_dx6" + { + "$basetexture" "redcity/glass_modern_window" + "Proxies" + { + "Sine" + { + "resultVar" "$alpha" + "sineperiod" 15 + "sinemin" 0.1 + "sinemax" 0.1 + } + } + } +} +} \ No newline at end of file