add debug materials

This commit is contained in:
2022-07-29 17:43:56 +03:00
parent 972b2c984c
commit 0750d2b51f
44 changed files with 240 additions and 0 deletions

BIN
valve/pbr/debug/colors/000.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/111.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/151515.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/222.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/333.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/444.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/555.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/666.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/777.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/888.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/999.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/aaa.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/bbb.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/black.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/brass.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/ccc.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/copper.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
valve/pbr/debug/colors/ddd.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/eee.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/fff.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/gold.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/gray.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/iron.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/mirror.png LFS Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/white.png LFS Normal file

Binary file not shown.

82
valve/pbr/debug/debug.mat Normal file
View File

@@ -0,0 +1,82 @@
// for test maps
{
"for" "debug_mat_bnrm"
"basecolor_map" "debug_roughness.png"
"normal_map" "debug_normal.png"
//"normal_map" "debug_normal_16bit.png"
"metal_map" "debug_metallic.png"
"roughness_map" "debug_roughness.png"
}
{
"for" "debug_mat_n"
"basecolor_map" "colors/white.png"
"normal_map" "debug_normal.png"
//"normal_map" "debug_normal_16bit.png"
"metal_map" "colors/white.png"
"roughness_map" "colors/black.png"
}
{
"for" "debug_normal1"
"basecolor_map" "colors/gray.png"
//"normal_map" "debug_circle_normal1.png"
//"normal_map" "debug_circle_normal2.png"
//"normal_map" "debug_circle_normal3.png"
"normal_map" "debug_circle_normal3_1.tga"
"metal_map" "colors/black.png"
"roughness_map" "colors/white.png"
}
{
"for" "debug_c2a3_gar3"
//"basecolor_map" "debug_c2a3_gar3.png"
//"normal_map" "debug_c2a3_gar3_normal.png"
//"metal_map" "colors/black.png"
//"roughness_map" "debug_c2a3_gar3_roughness.png"
// standard c2a3_gar3
"basecolor_map" "/halflife.wad/c2a3_gar3.png"
"normal_map" "/halflife.wad/c2a3_gar3_normal_512.png"
"normal_map" "/halflife.wad/c2a3_gar3_normal.png"
"metal_map" "colors/black.png"
"roughness_map" "/halflife.wad/c2a3_gar3_roughness_512.png"
"roughness_map" "/halflife.wad/c2a3_gar3_roughness.png"
}
// test_gradients
{
"for" "DEBUG_G_R"
"basecolor_map" "debug_gradient.png"
}
{
"for" "DEBUG_G_R_E"
"basecolor_map" "debug_gradient.png"
}
{
"for" "DEBUG_G_D_R"
"basecolor_map" "debug_gradient_dither.png"
}
{
"for" "DEBUG_G_D_R_E"
"basecolor_map" "debug_gradient_dither.png"
}
{
"for" "DEBUG_GC_R"
"basecolor_map" "debug_gradient_color.png"
}
{
"for" "DEBUG_GC_R_E"
"basecolor_map" "debug_gradient_color.png"
}
{
"for" "DEBUG_GC_D_R"
"basecolor_map" "debug_gradient_color_dither.png"
}
{
"for" "DEBUG_GC_D_R_E"
"basecolor_map" "debug_gradient_color_dither.png"
}
//{
//"for" "debug_512x512_c"
//"basecolor_map" "colors/gray.png"
//"base_color" "0.7 0.7 0.7"
//}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
valve/pbr/debug/debug_normal.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
valve/pbr/materials.mat Normal file
View File

@@ -0,0 +1,2 @@
include "debug/debug.mat"
include "mirror.mat"

33
valve/pbr/mirror.mat Normal file
View File

@@ -0,0 +1,33 @@
// Mirrors for patch and mods
{
"for" "mirror"
"basecolor_map" "/debug/colors/white.png"
"metal_map" "/debug/colors/white.png"
"roughness_map" "/debug/colors/black.png"
}
{
"for" "reflect"
"basecolor_map" "/debug/colors/white.png"
"metal_map" "/debug/colors/white.png"
"roughness_map" "/debug/colors/black.png"
}
{
"for" "!reflect"
"basecolor_map" "/debug/colors/white.png"
"metal_map" "/debug/colors/white.png"
"roughness_map" "/debug/colors/black.png"
}
{
"for" "reflect1"
"basecolor_map" "/debug/colors/white.png"
"metal_map" "/debug/colors/white.png"
"roughness_map" "/debug/colors/black.png"
}
// MIRROR HACK (temporal workaround)
{
"for" "pbr/debug/colors/white.png"
"metalness" "1"
"roughness" "0"
}