add debug materials

This commit is contained in:
NightFox 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 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/111.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/151515.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/222.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/333.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/444.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/555.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/666.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/777.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/888.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/999.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/aaa.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/bbb.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/black.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/brass.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/ccc.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/copper.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/copper_hack.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/copper_hack2.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/ddd.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/eee.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/fff.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/gold.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/gray.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/iron.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/mirror.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/colors/white.png (Stored with Git 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"
//}

BIN
valve/pbr/debug/debug_c2a3_gar3.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_c2a3_gar3_normal.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_c2a3_gar3_roughness.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_circle_normal1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_circle_normal2.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_circle_normal3.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_gradient.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_gradient_color.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_gradient_color_dither.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_gradient_dither.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_metallic.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_normal.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_normal_16bit.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
valve/pbr/debug/debug_roughness.png (Stored with Git LFS) Normal file

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"
}