From 158dd2c8f35442a6508fc88321b83ad1e193e313 Mon Sep 17 00:00:00 2001 From: NightFox Date: Sat, 25 Mar 2023 19:56:22 +0300 Subject: [PATCH] fix LAB1_B4 and minor changes --- valve/pbr/halflife.wad/halflife.wad.mat | 9 ++++++++- valve/pbr/maps/c1a0.bsp/c1a0.bsp.mat | 12 ++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 valve/pbr/maps/c1a0.bsp/c1a0.bsp.mat diff --git a/valve/pbr/halflife.wad/halflife.wad.mat b/valve/pbr/halflife.wad/halflife.wad.mat index ddea320..ad02846 100644 --- a/valve/pbr/halflife.wad/halflife.wad.mat +++ b/valve/pbr/halflife.wad/halflife.wad.mat @@ -7395,12 +7395,16 @@ include "-[~LIGHT]/-[~LIGHT].mat" } { -"for" "LAB1_B4" +"for" "LAB1_B4" // WARNING: generic material, need specific patches for some maps //"basecolor_map" "LAB1_B4.png" +//"basecolor_map" "/colors/white.png" +//"base_color" "0.7 0.7 0.7" //"normal_map" "LAB1_B4_normal.png" //"metal_map" "/colors/white.png" //"metal_map" "LAB1_B4_metal.png" //"roughness_map" "LAB1_B4_roughness.png" +//"metalness" "1" +//"roughness" "0.2" } { @@ -7959,9 +7963,12 @@ include "-[~LIGHT]/-[~LIGHT].mat" { "for" "LAB1_GEAR3" //"basecolor_map" "LAB1_GEAR3.png" +"base_color" "1.5 1.5 1.5" // TODO: remove hack //"normal_map" "LAB1_GEAR3_normal.png" //"metal_map" "LAB1_GEAR3_metal.png" //"roughness_map" "LAB1_GEAR3_roughness.png" +"metalness" "1" +"roughness" "0.3" } { diff --git a/valve/pbr/maps/c1a0.bsp/c1a0.bsp.mat b/valve/pbr/maps/c1a0.bsp/c1a0.bsp.mat new file mode 100644 index 0000000..e10b02b --- /dev/null +++ b/valve/pbr/maps/c1a0.bsp/c1a0.bsp.mat @@ -0,0 +1,12 @@ +{ +"for" "LAB1_B4" +//"basecolor_map" "LAB1_B4.png" +"basecolor_map" "/colors/white.png" +"base_color" "0.7 0.7 0.7" +//"normal_map" "LAB1_B4_normal.png" +//"metal_map" "/colors/white.png" +//"metal_map" "LAB1_B4_metal.png" +//"roughness_map" "LAB1_B4_roughness.png" +"metalness" "1" +"roughness" "0.2" +} \ No newline at end of file