Improve reflections

This commit is contained in:
David Vogel 2018-03-21 10:58:47 +01:00
parent a8d661eb8c
commit 9e283d08ef
22 changed files with 65 additions and 47 deletions

View File

@ -0,0 +1,4 @@
"F:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\bin\vpk.exe" ".\d3_lib"
copy d3_lib.vpk "F:\SteamLibrary\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig\custom"
xcopy d3_lib "F:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\download" /e /y

View File

@ -0,0 +1,4 @@
"C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\bin\vpk.exe" ".\d3_lib"
copy d3_lib.vpk "C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig\custom"
xcopy d3_lib "C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\garrysmod\download" /e /y

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/polished_dark_s0002/1024_normal" "$normalmap" "d3/marble/polished_dark_s0002/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 1 "$reflectentities" 1
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/polished_dark_s0002/1024_normal" "$normalmap" "d3/marble/polished_dark_s0002/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 0 "$reflectentities" 0
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/polished_white_2_s0004/1024_normal" "$normalmap" "d3/marble/polished_white_2_s0004/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 1 "$reflectentities" 1
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/polished_white_2_s0004/1024_normal" "$normalmap" "d3/marble/polished_white_2_s0004/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 0 "$reflectentities" 0
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/tiles_1_s0001/1024_normal" "$normalmap" "d3/marble/tiles_1_s0001/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 1 "$reflectentities" 1
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/marble/tiles_1_s0001/1024_normal" "$normalmap" "d3/marble/tiles_1_s0001/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 0 "$reflectentities" 0
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

Binary file not shown.

View File

@ -9,5 +9,5 @@
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 1
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[.5 .5 .5]" "$envmaptint" "[.3 .3 .3]"
} }

View File

@ -9,5 +9,5 @@
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 1
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[.5 .5 .5]" "$envmaptint" "[.3 .3 .3]"
} }

View File

@ -8,7 +8,7 @@
"$bumpmap" "d3/steel/brushed_stainless_steel_s0065/1024_normal" "$bumpmap" "d3/steel/brushed_stainless_steel_s0065/1024_normal"
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -8,7 +8,7 @@
"$bumpmap" "d3/steel/brushed_stainless_steel_s0065/512_normal" "$bumpmap" "d3/steel/brushed_stainless_steel_s0065/512_normal"
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -7,7 +7,7 @@
"$bumpmap" "d3/steel/brushed_steel_s0107/1024_normal" "$bumpmap" "d3/steel/brushed_steel_s0107/1024_normal"
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -8,7 +8,7 @@
"$normalmapalphaenvmapmask" 1 "$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -7,9 +7,9 @@
"$normalmap" "d3/steel/metal_threadplate_floor_s0035/1024_normal" "$normalmap" "d3/steel/metal_threadplate_floor_s0035/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
@ -26,4 +26,5 @@
"$reflectentities" 1 "$reflectentities" 1
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,9 +7,9 @@
"$normalmap" "d3/steel/metal_threadplate_floor_s0035/1024_normal" "$normalmap" "d3/steel/metal_threadplate_floor_s0035/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
@ -26,4 +26,5 @@
"$reflectentities" 0 "$reflectentities" 0
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -8,7 +8,7 @@
"$normalmapalphaenvmapmask" 1 "$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -8,7 +8,7 @@
"$normalmapalphaenvmapmask" 1 "$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -8,7 +8,7 @@
"$normalmapalphaenvmapmask" 1 "$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap" "$envmap" "env_cubemap"
"$envmapcontrast" 1 "$envmapcontrast" 0
"$envmapsaturation" 1 "$envmapsaturation" 1
"$envmaptint" "[1 1 1]" "$envmaptint" "[1 1 1]"
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/tiles/checkerboard_floor_s0124/1024_normal" "$normalmap" "d3/tiles/checkerboard_floor_s0124/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 1 "$reflectentities" 1
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }

View File

@ -7,13 +7,13 @@
"$normalmap" "d3/tiles/checkerboard_floor_s0124/1024_normal" "$normalmap" "d3/tiles/checkerboard_floor_s0124/1024_normal"
"$bumpframe" 0 "$bumpframe" 0
"$refracttexture" "_rt_WaterRefraction" // "$refracttexture" "_rt_WaterRefraction"
"$refractamount" 0 // "$refractamount" 0
"$refracttint" "[0 0 0]" // "$refracttint" "[0 0 0]"
"$reflecttexture" "_rt_WaterReflection" "$reflecttexture" "_rt_WaterReflection"
"$reflectamount" 1 "$reflectamount" 1
"$reflecttint" "[.9 .9 .9]" "$reflecttint" "[.4 .4 .4]"
// Fresnel settings seem to be ignored in gmod :( // Fresnel settings seem to be ignored in gmod :(
"$fresnelpower" 0.0 "$fresnelpower" 0.0
@ -26,4 +26,5 @@
"$reflectentities" 0 "$reflectentities" 0
"$fogenable" 0 "$fogenable" 0
"$fogcolor" "[0 0 0]" "$fogcolor" "[0 0 0]"
"$abovewater" 1
} }