diff --git a/valve/pbr/debug/colors/000.png b/valve/pbr/debug/colors/000.png new file mode 100644 index 0000000..18167a9 --- /dev/null +++ b/valve/pbr/debug/colors/000.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2c10cc80fe52f58befb58d9f24fcd7273c6249b204348fed099362896fae42d +size 73 diff --git a/valve/pbr/debug/colors/111.png b/valve/pbr/debug/colors/111.png new file mode 100644 index 0000000..e2fc518 --- /dev/null +++ b/valve/pbr/debug/colors/111.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72a5d0a811d2a90e5bf9fb547387651f08403c429783a8e81585f01c72411b48 +size 82 diff --git a/valve/pbr/debug/colors/151515.png b/valve/pbr/debug/colors/151515.png new file mode 100644 index 0000000..ee4b1b8 --- /dev/null +++ b/valve/pbr/debug/colors/151515.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7dbc1d79f83f8ab7bdec547e5e904149f5317c7a111053d3ac58895a55a2e58 +size 82 diff --git a/valve/pbr/debug/colors/222.png b/valve/pbr/debug/colors/222.png new file mode 100644 index 0000000..ae3d149 --- /dev/null +++ b/valve/pbr/debug/colors/222.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6749bd519bb252890bd0f5c938e3faabfdc743babe5e225549c3fdee3bb021dc +size 82 diff --git a/valve/pbr/debug/colors/333.png b/valve/pbr/debug/colors/333.png new file mode 100644 index 0000000..2c7c07f --- /dev/null +++ b/valve/pbr/debug/colors/333.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eea4af8c098ca72226f7047b6ef696b4cc3ded0ea5cdf144be13b0210737b2bf +size 82 diff --git a/valve/pbr/debug/colors/444.png b/valve/pbr/debug/colors/444.png new file mode 100644 index 0000000..86a8f2b --- /dev/null +++ b/valve/pbr/debug/colors/444.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89bb3f8a4335825808876516487c8a0946a2bf9816e4208832337e617da18591 +size 82 diff --git a/valve/pbr/debug/colors/555.png b/valve/pbr/debug/colors/555.png new file mode 100644 index 0000000..b8b83d4 --- /dev/null +++ b/valve/pbr/debug/colors/555.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:178a534a8d98ad24e6beb2ab9cb9f1f690befa7b65a82cc25d033296223fe687 +size 82 diff --git a/valve/pbr/debug/colors/666.png b/valve/pbr/debug/colors/666.png new file mode 100644 index 0000000..80abf8c --- /dev/null +++ b/valve/pbr/debug/colors/666.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f82ad116f6af2df53d5d7662b9cef912916cb76e4e156522026e948336db6c3 +size 82 diff --git a/valve/pbr/debug/colors/777.png b/valve/pbr/debug/colors/777.png new file mode 100644 index 0000000..f028903 --- /dev/null +++ b/valve/pbr/debug/colors/777.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:036d54ac0e336a9d778429c1e9366dcd231b7ee05755474496f77ad79304da29 +size 82 diff --git a/valve/pbr/debug/colors/888.png b/valve/pbr/debug/colors/888.png new file mode 100644 index 0000000..e51658c --- /dev/null +++ b/valve/pbr/debug/colors/888.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fcb58f265b5881d073d3857d80325c4d5021547d70baa4243d6d7b21207f8bd +size 82 diff --git a/valve/pbr/debug/colors/999.png b/valve/pbr/debug/colors/999.png new file mode 100644 index 0000000..ae66651 --- /dev/null +++ b/valve/pbr/debug/colors/999.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e7412aa8d5d9a82fe292307143fdaf7c35c9501002d780c9175edfdf6005258 +size 82 diff --git a/valve/pbr/debug/colors/aaa.png b/valve/pbr/debug/colors/aaa.png new file mode 100644 index 0000000..56103ba --- /dev/null +++ b/valve/pbr/debug/colors/aaa.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44a6b89cfc65bd29411d541a8a2d4ff1dbbd36eca2f5a19280ec1ae881084307 +size 82 diff --git a/valve/pbr/debug/colors/bbb.png b/valve/pbr/debug/colors/bbb.png new file mode 100644 index 0000000..e2530ab --- /dev/null +++ b/valve/pbr/debug/colors/bbb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:767743d5a57d366288ed84c85eebf8199b69a1ba27962f807455c17941aef534 +size 82 diff --git a/valve/pbr/debug/colors/black.png b/valve/pbr/debug/colors/black.png new file mode 100644 index 0000000..18167a9 --- /dev/null +++ b/valve/pbr/debug/colors/black.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2c10cc80fe52f58befb58d9f24fcd7273c6249b204348fed099362896fae42d +size 73 diff --git a/valve/pbr/debug/colors/brass.png b/valve/pbr/debug/colors/brass.png new file mode 100644 index 0000000..26ba095 --- /dev/null +++ b/valve/pbr/debug/colors/brass.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:046ecd40588e84fc978c4096e8aca6eae4f11be36fee30e821276b5b506c3dac +size 82 diff --git a/valve/pbr/debug/colors/ccc.png b/valve/pbr/debug/colors/ccc.png new file mode 100644 index 0000000..660e93a --- /dev/null +++ b/valve/pbr/debug/colors/ccc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fdede67522c90c8b6b9e2ef79bcd083f34df91f9debcbfc3913158c2c00d1c8 +size 82 diff --git a/valve/pbr/debug/colors/copper.png b/valve/pbr/debug/colors/copper.png new file mode 100644 index 0000000..aae1b06 --- /dev/null +++ b/valve/pbr/debug/colors/copper.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ff6b55007d90ab53313d16f2f391eeff857ce707ff2893b8a89713601d18499 +size 82 diff --git a/valve/pbr/debug/colors/copper_hack.png b/valve/pbr/debug/colors/copper_hack.png new file mode 100644 index 0000000..0d0b33d --- /dev/null +++ b/valve/pbr/debug/colors/copper_hack.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2189e8760bed94208350713aa43fe9365ed57343a3614eb54c99f25ab3ee3da +size 81 diff --git a/valve/pbr/debug/colors/copper_hack2.png b/valve/pbr/debug/colors/copper_hack2.png new file mode 100644 index 0000000..77fea93 --- /dev/null +++ b/valve/pbr/debug/colors/copper_hack2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae54c3af091175b317b708d28aea42e2f50d3562d51ee1f90de8efcba8062c31 +size 82 diff --git a/valve/pbr/debug/colors/ddd.png b/valve/pbr/debug/colors/ddd.png new file mode 100644 index 0000000..e68a957 --- /dev/null +++ b/valve/pbr/debug/colors/ddd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7c65fbb85a0cce8c486a7563ec4244b92581fd5bdbcaf1490c6369521631be2 +size 82 diff --git a/valve/pbr/debug/colors/eee.png b/valve/pbr/debug/colors/eee.png new file mode 100644 index 0000000..8d3d184 --- /dev/null +++ b/valve/pbr/debug/colors/eee.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:467653dbf1486e04241a2f5d86ea0ef3895a4728ef2a09306d23b6d7a1e16872 +size 82 diff --git a/valve/pbr/debug/colors/fff.png b/valve/pbr/debug/colors/fff.png new file mode 100644 index 0000000..50c7fdd --- /dev/null +++ b/valve/pbr/debug/colors/fff.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8831f3b61b91ba66270a2f6774e7af0a5a56dc8032dbe625948a5f6a553a3207 +size 82 diff --git a/valve/pbr/debug/colors/gold.png b/valve/pbr/debug/colors/gold.png new file mode 100644 index 0000000..a8a7f67 --- /dev/null +++ b/valve/pbr/debug/colors/gold.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:691669e12f352bad8d41ea64d69c8f78fc76360660d1f087a2ad568390378810 +size 82 diff --git a/valve/pbr/debug/colors/gray.png b/valve/pbr/debug/colors/gray.png new file mode 100644 index 0000000..a469ff2 --- /dev/null +++ b/valve/pbr/debug/colors/gray.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:864173d0cf69b51bba23eabe6e8095a47aae5ef92758a41efbaa3d7be76914bb +size 82 diff --git a/valve/pbr/debug/colors/iron.png b/valve/pbr/debug/colors/iron.png new file mode 100644 index 0000000..ff0ffcd --- /dev/null +++ b/valve/pbr/debug/colors/iron.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:175e15a6e893b78cc3cfe6e4c4181ad92c4b200faee2037a4d97f6e8f568636c +size 82 diff --git a/valve/pbr/debug/colors/mirror.png b/valve/pbr/debug/colors/mirror.png new file mode 100644 index 0000000..50c7fdd --- /dev/null +++ b/valve/pbr/debug/colors/mirror.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8831f3b61b91ba66270a2f6774e7af0a5a56dc8032dbe625948a5f6a553a3207 +size 82 diff --git a/valve/pbr/debug/colors/white.png b/valve/pbr/debug/colors/white.png new file mode 100644 index 0000000..50c7fdd --- /dev/null +++ b/valve/pbr/debug/colors/white.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8831f3b61b91ba66270a2f6774e7af0a5a56dc8032dbe625948a5f6a553a3207 +size 82 diff --git a/valve/pbr/debug/debug.mat b/valve/pbr/debug/debug.mat new file mode 100644 index 0000000..7723bc3 --- /dev/null +++ b/valve/pbr/debug/debug.mat @@ -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" +//} diff --git a/valve/pbr/debug/debug_c2a3_gar3.png b/valve/pbr/debug/debug_c2a3_gar3.png new file mode 100644 index 0000000..936b67a --- /dev/null +++ b/valve/pbr/debug/debug_c2a3_gar3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0198e71fe5728df87a4959652b3b3da87d21b354f50955108f1ed6d6683f02f +size 471886 diff --git a/valve/pbr/debug/debug_c2a3_gar3_normal.png b/valve/pbr/debug/debug_c2a3_gar3_normal.png new file mode 100644 index 0000000..8264ad0 --- /dev/null +++ b/valve/pbr/debug/debug_c2a3_gar3_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57c5119d06742958518d6b0c0b8f338e80e4b56138790ebd7f2876d5a772ea58 +size 313158 diff --git a/valve/pbr/debug/debug_c2a3_gar3_roughness.png b/valve/pbr/debug/debug_c2a3_gar3_roughness.png new file mode 100644 index 0000000..798b761 --- /dev/null +++ b/valve/pbr/debug/debug_c2a3_gar3_roughness.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a7e8886dc1a4f5f0c8f9c8d88131665d1a2ff3e61e762ed1f2e1006ad7b5d43 +size 378501 diff --git a/valve/pbr/debug/debug_circle_normal1.png b/valve/pbr/debug/debug_circle_normal1.png new file mode 100644 index 0000000..12d5450 --- /dev/null +++ b/valve/pbr/debug/debug_circle_normal1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac8a34eec89ca26884e6fc161f63b805a1d0a2bfe9c2b4ea1020a3ad04417916 +size 73654 diff --git a/valve/pbr/debug/debug_circle_normal2.png b/valve/pbr/debug/debug_circle_normal2.png new file mode 100644 index 0000000..bfb69eb --- /dev/null +++ b/valve/pbr/debug/debug_circle_normal2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:193fce7d5f9ac5e463be7eb3cdec4199d4f824e22acc4675b836bf3674a4dfa6 +size 110087 diff --git a/valve/pbr/debug/debug_circle_normal3.png b/valve/pbr/debug/debug_circle_normal3.png new file mode 100644 index 0000000..f1ab609 --- /dev/null +++ b/valve/pbr/debug/debug_circle_normal3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f601820fbf1a7e52de35cc59602c8682f93971b45028a3737e9e33cbbb2d30c6 +size 81811 diff --git a/valve/pbr/debug/debug_gradient.png b/valve/pbr/debug/debug_gradient.png new file mode 100644 index 0000000..be519f8 --- /dev/null +++ b/valve/pbr/debug/debug_gradient.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:625b5cf97519de280d5d5ad1479c7543bcd2fcd7d1d0fc0c3dd91a528c259622 +size 258 diff --git a/valve/pbr/debug/debug_gradient_color.png b/valve/pbr/debug/debug_gradient_color.png new file mode 100644 index 0000000..580cf56 --- /dev/null +++ b/valve/pbr/debug/debug_gradient_color.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9fa4778cd4cd61764ef79f638a10294be388218ba9d1ae1197d1ab67a010aa6 +size 323 diff --git a/valve/pbr/debug/debug_gradient_color_dither.png b/valve/pbr/debug/debug_gradient_color_dither.png new file mode 100644 index 0000000..f5441a9 --- /dev/null +++ b/valve/pbr/debug/debug_gradient_color_dither.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a43c89aae9eeacb21d30c2d9e6d07dce0984f5a20f8afe4bd9801d78b0f7252 +size 5072 diff --git a/valve/pbr/debug/debug_gradient_dither.png b/valve/pbr/debug/debug_gradient_dither.png new file mode 100644 index 0000000..de31185 --- /dev/null +++ b/valve/pbr/debug/debug_gradient_dither.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20a9c64ccea1a5e940eabcfbb9a6bb39420514c36f0be05e184f321290788d9c +size 10458 diff --git a/valve/pbr/debug/debug_metallic.png b/valve/pbr/debug/debug_metallic.png new file mode 100644 index 0000000..f1dd3da --- /dev/null +++ b/valve/pbr/debug/debug_metallic.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80b80a1cabfd338a815881b5a793e8a0f2c97f40320e86cf3f3266f61b9b207f +size 2702 diff --git a/valve/pbr/debug/debug_normal.png b/valve/pbr/debug/debug_normal.png new file mode 100644 index 0000000..540b722 --- /dev/null +++ b/valve/pbr/debug/debug_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a96cd503d9efdb1e38ba37296714cccfe576ac21e363c0cceabff7840e5c6d07 +size 17400 diff --git a/valve/pbr/debug/debug_normal_16bit.png b/valve/pbr/debug/debug_normal_16bit.png new file mode 100644 index 0000000..f33b0ff --- /dev/null +++ b/valve/pbr/debug/debug_normal_16bit.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:671974e4752ca94aabad5e7f7b49f7fd66f9da00b4c28726574f936e2cda34fc +size 131275 diff --git a/valve/pbr/debug/debug_roughness.png b/valve/pbr/debug/debug_roughness.png new file mode 100644 index 0000000..8ae5dbb --- /dev/null +++ b/valve/pbr/debug/debug_roughness.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:613777fb2a48fc15a6473a23ff8b4d78ec437b98a1b72d83d90ea7c9c3666926 +size 7750 diff --git a/valve/pbr/materials.mat b/valve/pbr/materials.mat new file mode 100644 index 0000000..8bdcf51 --- /dev/null +++ b/valve/pbr/materials.mat @@ -0,0 +1,2 @@ +include "debug/debug.mat" +include "mirror.mat" diff --git a/valve/pbr/mirror.mat b/valve/pbr/mirror.mat new file mode 100644 index 0000000..e28bec5 --- /dev/null +++ b/valve/pbr/mirror.mat @@ -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" +} \ No newline at end of file