diff --git a/.gitattributes b/.gitattributes index bed0738c7eeb449bca98b5d2f33c89a1ee56349a..6bf12a9e4fd73cf6507ac97fb60142e51c0a2cf5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -58,3 +58,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text # Video files - compressed *.mp4 filter=lfs diff=lfs merge=lfs -text *.webm filter=lfs diff=lfs merge=lfs -text +objects/PackingTable/PackingTable.usd filter=lfs diff=lfs merge=lfs -text +objects/PackingTable_1/PackingTable.usd filter=lfs diff=lfs merge=lfs -text +objects/PackingTable_2/PackingTable.usd filter=lfs diff=lfs merge=lfs -text +objects/drawers/cabinet_collider.usd filter=lfs diff=lfs merge=lfs -text +objects/drawers/drawer.usd filter=lfs diff=lfs merge=lfs -text +objects/small_warehouse/small_warehouse_digital_twin.usd filter=lfs diff=lfs merge=lfs -text diff --git a/environments/office_server_rack.usd b/environments/office_server_rack.usd new file mode 100644 index 0000000000000000000000000000000000000000..5e612aa72f41c77a0654ae2396ab66b85f8fe3f2 Binary files /dev/null and b/environments/office_server_rack.usd differ diff --git a/model/policy.onnx b/model/policy.onnx new file mode 100644 index 0000000000000000000000000000000000000000..afc4e81ec450f0ee2ba08af56597df12cbe45047 --- /dev/null +++ b/model/policy.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d067b3930041f9bd13c88797bb50ce1c4a5c9ffd4341adc30d11985b3ac71b40 +size 2530072 diff --git a/model/policy1.onnx b/model/policy1.onnx new file mode 100644 index 0000000000000000000000000000000000000000..32ea6e61578d1c90bdb2cf241ed5283b3b5335a9 --- /dev/null +++ b/model/policy1.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b44897d4697782528eac24def13880f6b445be9f3137de667cd14ebd713f2a +size 2530072 diff --git a/objects/PackingTable.zip b/objects/PackingTable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4428de56808680f3b67cc4023be6725e8e152c31 --- /dev/null +++ b/objects/PackingTable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc89848d30947095fc0a06a940296036511d3dac73737c4fa12a16fa6e2231f3 +size 116316626 diff --git a/objects/PackingTable/.collect.mapping.json b/objects/PackingTable/.collect.mapping.json new file mode 100644 index 0000000000000000000000000000000000000000..2943c8619d75e59a4b209b075ae72d5c60a63ab3 --- /dev/null +++ b/objects/PackingTable/.collect.mapping.json @@ -0,0 +1,257 @@ +{ + "version": "1.0", + "file_records": [ + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png", + "source_hash": "3720265bc511c0756f5111cfd9985d7371b215c9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png", + "target_hash": "bf11efca8469998f2bbd959335747ce0045c090c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png", + "source_hash": "d43f4e42d30b74a9cbc72ebe9cb829b95c63c336", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png", + "target_hash": "f5955cb3e8f518e92c5b49d7dc1dee57e5374c5d" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png", + "source_hash": "8651d8b6134d4f755e54fa0fd75fc6fa240256a9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png", + "target_hash": "ca46eb385071fc49ea602e18eba329e88efb1271" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png", + "source_hash": "bf7ffe7e03e047940444a1dab5320478484c6d6e", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png", + "target_hash": "324b32e44980ba3dfc01cfe75f3b04323edbd501" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "source_hash": "ac0f86ad0ba1fbf3f329e6299640df9138044331", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "target_hash": "07c8a25007af229ac46ac04d5989edbfd92db250" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "source_hash": "d2bf5ca1a7676d6a3ff80438f24e1ea4233997bc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "target_hash": "cce94a8ca8b0cf3251e2a6b6fcc81a32cb67d660" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "source_hash": "e247c2e81460ca23fa3e234c93baf0bd169993ac", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "target_hash": "6c9d96d57964dc3801292474c2dfa012a13a918a" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "source_hash": "9c206e0c9200b1fdd9802c08032919359d0baaf7", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "target_hash": "fa770ad2d4960d61766953890a8fd5f66255d767" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "source_hash": "563e3f29169c64a7fbc9de1d12f91882789e8a4a", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "target_hash": "13a0ed2fb3634cbeb801dd67937492ca2c2fe4f2" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "source_hash": "3e1e845cc2df6c4c092a58571d17faf8fd234057", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "target_hash": "f774c20779837821471ed7aa9f45e89a6fecb566" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "source_hash": "722cc31ca74e9aa104e9463eba32dedd77480cd1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "target_hash": "267073527694852adfa38c3a9e863953dd456ca8" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "source_hash": "b0bf249b96f09bdfebcb143685acaa3edd55f1e6", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "target_hash": "0d9aa35cf56385a3412c59f2e0f117044a3800eb" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "source_hash": "adf367edf4b43a143a6a54b2043357dd80fdc4f2", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "target_hash": "26b6960f456f2b8b47736090f420691d56bc9c95" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "source_hash": "f9004a496be7309fe9a0e8cf2c423267886f8aae", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "target_hash": "65ec950614726c9702e683447676d9a4e83fdf6c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "source_hash": "ac965a91544a02c18dfb7ab5456e20142f87a58b", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "target_hash": "552d5144863f3b6164b30dbb8883fb9906ab7a68" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "source_hash": "159d122ffac53353866b198ff16435b10e0c0bb1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "target_hash": "0a0567c39f16234cdc2558536e42d3f838611308" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "source_hash": "0d2cbb28666a2c97ce6faad65a9e0df8bffe4aa4", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "target_hash": "f77539b0c895428f3234e1345a6d5b6d63c562bb" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "source_hash": "6525a6325ecbd98ac6513ddeddf2030fd7bae062", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "target_hash": "a0207d25ae656d3cf65909f5915b999875ffc9cd" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "source_hash": "a4b634cfec750ef5cbe61d0a2de01f6276bb49cc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "target_hash": "c43308bded0f8bdb61373f9a0ed6f238756e42d7" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "source_hash": "5aa9ddd81993480c9b48e8f51f7736de7219a943", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "target_hash": "8011172334cb0c94738fd3154712f84abf98ec5d" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "source_hash": "1b7687a4197d6282a3e788823f06b74ca09d2864", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "target_hash": "bb5361b000add99fe0a1be07c146a76ec7770f25" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "source_hash": "0ce91ec0e174c90b3c5fcb676a188966bd44af5f", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "target_hash": "0bd7abec01f93b55d428cef5f6b9c9ae85faffa7" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "source_hash": "971013d22c077f1d4e92f03e801e930ed9570828", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "target_hash": "6e8308804e20e1ff2bb077d53ccf83f3de89016f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl", + "source_hash": "90df4d5942d7aeb6c2fc15e07842d7e473c30bb9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl", + "target_hash": "7f296c064ff87e8d12311d382ac1cce6af42a49f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "source_hash": "4035ba3763265fdab9e738db916cd0842a01ca32", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "target_hash": "0a808efa47e37c75eac809834f44f9dcaeaf0d4f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "source_hash": "ba2a5d42143a7d03a8b2b4751a9ff28d6fb29106", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "target_hash": "96746fb3207d4f6a705a999d492557fd0dd0bbcf" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "source_hash": "c2eea27cc1f987f59602d689c700af4e06a12876", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "target_hash": "cd72b97d1a27da9d69ed213de042523799031d6f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "source_hash": "8aca71fcc8864b416015ba3b909d5c04eaa1e759", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "target_hash": "effcfc3aee1a42ee35ee989ed6384e08598e5e59" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "source_hash": "8964ae23591a20e14558fb932f0e888adecc3aa8", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "target_hash": "15d6ac3fdd3a6fad215a3d559987d820dc9ba413" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "source_hash": "5b74690aa80cd65b7cfb424a8aa745e038ffc6d1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "target_hash": "c0d521fa9742d9f1c1fffb00c116f19fdc7c99e2" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "source_hash": "8f26f8de7a5d33aa7bb7a3260c2a72928ab6526c", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "target_hash": "4b6aaac46ba38a80148a18c6cf1a76bde164ec0c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "source_hash": "463e2f331d25dd55499cf74b7d89b07cb16879ee", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "target_hash": "eb81a99d75e1f75a3799abe68b03a7ca9dac6d9e" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "source_hash": "0d6ae58e61d527c306dba219b16e510a736cbc6d", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "target_hash": "aff73c0e7acfb2d81fb0b0a645bdc9b46e1e1530" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "source_hash": "b2729b5f1843a7460070f0fc649ae26e3296beba", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "target_hash": "97ec6a84d056205a11b7b89d4df257e2002e015b" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "source_hash": "4128f63073ff09de5ac6f280004e6326674cc9f3", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "target_hash": "7f6f031a42b1d42f459e8b436884e2c3028ddded" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "source_hash": "0e60da812229d962062cdf301eceeb52d64cfee0", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "target_hash": "fd46244d9ec053e3b2d128765d721a278d053634" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "source_hash": "665943161c93fef26d5641d662c78909de9e5ece", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "target_hash": "668e2cb5eca66c62836bf4ca782953c6a5ce134a" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "source_hash": "a2bc186dc805b65430f34759a527361bbc7ec273", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "target_hash": "62e7d8f015f6027c2ac8fe7d86b74130931e7441" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "source_hash": "3802941ff7c22d42bb7d2b59b671a5548014e347", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "target_hash": "8e4dc948fbef5e40c470ee9198412fb85f65f901" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "source_hash": "2d833d4b512c35505e1f1c07bb365f49f3e7adeb", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "target_hash": "d22c96e47dc4337a36147c3e398fb0103ea70a16" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "source_hash": "8b5ea81cd83dd2bd87d96249a1031337a06b266e", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "target_hash": "f9aafaad89394a6305b0a7f9cc036878e58c3652" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "source_hash": "5d62e83fddb79b98d16eeaa2cef1cf58e9d916db", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "target_hash": "a942f6c2a5b7e6c4c62e5812de9924b445f0e57a" + } + ] +} \ No newline at end of file diff --git a/objects/PackingTable/PackingTable.usd b/objects/PackingTable/PackingTable.usd new file mode 100644 index 0000000000000000000000000000000000000000..6e6fcc3db82a26f2ec319336d89869de30565bc2 --- /dev/null +++ b/objects/PackingTable/PackingTable.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:841457256b476a7dafc432d1d22517531a8b1ef1dc1bb335d2b10b50451b1787 +size 16479324 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..84a321977d0920a4d65dc841902bc16de9e386f1 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Yellow_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..caf2e1dfbf279e5a2fd0add4749158be4c3a096e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe56ba7f880da180d6af3c52697bef23a388201fc25913e141afa8b56d0532b +size 3152673 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..7fdb429b8738f0e905dc66ec72413b862ee9eb28 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c60d70a5ab374810b7af180f7fb8c9533431eaba0e277feb7eecdc44f3d61ee +size 4893090 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a91adcb069bbb71ee752fbe376ca27b2d88e79 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5dd7bf3457879acba77c61720a639c074c68002017dc496eb7954e3dcb4168b +size 3352510 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fee8e0bc52e03ec2b3520352f7bf8f535bdfb95e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Blue_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..74d84a997d51b1358cb491bf55593d7fd4426fd4 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a414b0d8551193f129ee80ea61c736a990c130fc19ac256d31dde1749d04e16 +size 822814 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..fb176d2a14d006e369d32ff068141ad255d1f4d4 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b276207f782c029f34dfd6034a9c718467e35e5aa6c8ba2dbcba1de25f045559 +size 909580 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..20427335225b59824acc4a2a8c010f13509c6947 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dff7a9ec311c68b779576bbbf7ab1d121fcd784d49d3f1f730a7fe2ac647fbc9 +size 743855 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..274dacdc079d1ff76c6f1dc4e329fefe51c2841f --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl @@ -0,0 +1,15 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material MetalPainted_White_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a424d0889e4e496971a420bbf42274a1342e778f --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl @@ -0,0 +1,16 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Metal_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(2, 2)); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b4a0043adee46e17553cfe2595d9870e9f5ada6c --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl @@ -0,0 +1,51 @@ +mdl 1.6; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; +export material Wood_Laminate_Gray_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(2, 2), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..70e759fd5e59a6f3bd1f9e0da2db71dc593dfb4e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl @@ -0,0 +1,17 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Wood_Pressed_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", ::tex::gamma_linear), + project_uvw: true, + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(0.045, 0.045)); diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..ec55949e6fcdf5c381e5e365426077ee11ce9cac --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9651a8eb7a7db92d51dbf319e6a54096869bf7b57d541137272b4be73325f20 +size 1318976 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..8856dfc9762546f778a2db5d78e97b3289215874 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:774d302d5deb1b7233bb01d9480d889bb41c3c75c6a8274da3db22c387c9a352 +size 2325135 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..b1f56e5c429e6da341329b82d2f93c1b88a5ded7 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa86de21fe705fa4a826e4785d4001c6e90d5418bdefbfa24e7eaca14e5cc5bf +size 1821970 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..bb2c12f2c1ac9f7494724a9e5307baf309ecb6aa --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f2c43526c30270e07b6e0ea5ccba7be5b588db5a19e70cc909ed69f17dabd4e +size 3314214 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..a681c3f9ec063f9f13722a9015c6820dfbf9ac83 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d8bdd35ff2bc77775b162b98d1723e0008b02cfbaf1a058d3160e90dc3fac6 +size 159602 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..f64e9d3dcd8a4caa7a1054c50589ff5c4c8d9371 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6474d52f77d44479366ad3da9d8b595bb3c90c2c1dd597226a477ccb1a3f4a6 +size 2707096 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..9ee4ff9719c8bc167e1078fa2814e294020e3151 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0566c4fc38f4004c8db6d20009d3af675891bd30b574ec24ceb5325597bfbab +size 16914 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f2b427e2c395928dab4433f7561e1cd71ad98cb5 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81ebfea8c17d8942fed2cebd5e13ade2f12729e99c9525320537fc447ca0c848 +size 4655646 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..baa67c4f354c4941f9bfbd7e7b6e3d80cb72308e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:915b2f6f4690dad4f6ea14d98751bbde91fd14329200a3d2528174b65ef5084b +size 5055979 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..722b40d93e2cad48ae81b5ca4d62e2bd8e88db90 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3065b2625f535a306422de5dbbdc6168fbd29922a3ded13c2f0cfb98c2af7fd6 +size 8634237 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..e667b0864ccfce106129d5a3a36d122b8b780342 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b900d0ea825d9158915ecb1a19fee41b7ed3c10f89251bbfbae2e7637e38b30 +size 10829846 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..bde46fd75116ced5462ad862e31d1b3136362881 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:060bc3de700178616538f325438bfda9164d6663eb4af3384fc52a8ff8d1765b +size 4248696 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5a1f859e76e33a8c4b59f200324a30653eb5f116 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl @@ -0,0 +1,52 @@ +mdl 1.7; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_B(*) + = OmniPBR( + diffuse_color_constant: color(), + diffuse_texture: texture_2d(), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/T_Plastic_ORM_1k.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("../textures/T_Plastic_Normal_1k.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); \ No newline at end of file diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..a8f66a141fb0ec005d527116e854d96f7c63c300 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45604d449bf31d0f956dfa990745da7bc54beb3bd017af0126f3abf5e7e065dd +size 2741864 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..6cb2dad1897919bb669325eb2f768dfea9ba5ef1 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e070b9c902612fe9af6d8d248f24decde3eceda288154217cc28c7c27e4b96 +size 3257454 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png new file mode 100644 index 0000000000000000000000000000000000000000..b3581d57745c9f7521770c4612c4af0b142e0de6 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:017086a4fb5d697900eaa4f52a4918ad7d559405dc733e8af3b090efc5875300 +size 4152274 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png new file mode 100644 index 0000000000000000000000000000000000000000..7d3ad7e5104a1aa2cd5eefa82119f628637d0e41 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0c44b42d69832fa25d0749a55d36e7d5aa1ceba445d1e48ff026f220bd0f28d +size 901654 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..eee64022c7134f8b2c02347256ca7a2e073a37f8 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5128f13063140230dbd1588e03d9d17808883bbeb5b5cf2d3a272acd54c3db0 +size 1092832 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf67f5dd1ac4d9115ed0e949a0a51f1b6713872 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:156e05a6c61179931aa71dd4c6609eac1ceacb01454cd1aac2964fb9857fb6ac +size 345574 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..9aadac5507a936bc392ff3f7bc5c264108b16d8d --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1165a219f93e48cfda9efade8022f25631aa8202fabb97aba899d87ecc025b5 +size 653905 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..531da61f83435ed5f7b10d3428f3dc6dcd2ba544 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db82f3c8f9700b79bb4d2f801c33718c6ea9f406699948ba7c971a676adc5ea +size 7528129 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f78b2bc277322433620c758688a5a696e2f8007e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be1966633f7aa8f8156f47f146927a17f35568c3f4a0e5d39260fb4f268c53ac +size 8397701 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..3eda6159a04d9cdad37eed460b4dda2663398a83 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ad7183e78cb49bcfe1a9591a0c23b423c9fd1a6eb2ea77e07b4cf8386058222 +size 4211848 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..5fea651de1c2a5796be5b2d19aeb2ef4963f1ee0 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f28e62db726c65c9d3472bc2fd1bc6e5328ea98fc94c9359c586c7c99963a58d +size 5011737 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..734eb2aeaa87ae62cf7529fecb2326f986311fd8 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe2565bf75a57c0d8350dcb6380bc2d76a83b37240c42c77c61fd0b167895ec +size 3691365 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..fc490d7301298b9f460caf0fcc7bcd4f48e1ad55 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049a8cd3cd5ad347b213ac7dc9c21c8ef63f989754539e2889ebba9df5083242 +size 3834772 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..036762939d867fc9e0a72b38e14c0132bda30e4b --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a24c65f53b4a7420ac8b3cf570e4dd77df0df81c37a730a65c93305b05289b3 +size 2459866 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f3441b6e8c43f1d1322e4907893f45d438e9b168 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1061dc411be515d6f2a95a02b4ebf9fcf897c7d5dbe4692a96889d0cd390713f +size 1290348 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..c2e95ea98f32a2dd13e2caa7ff20a1c1977521c6 --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f9726a7f956f4c3631e5f794cd04a6328058b415b322b077fecf5e96bf4bfc4 +size 155873 diff --git a/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..82abeb834915badb965ba64a0a87c78d309fea5e --- /dev/null +++ b/objects/PackingTable/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37aedb3d2bc48129f27d282c604ff2e8ccb152f1ac091067d6cb70c3aedc5005 +size 1817980 diff --git a/objects/PackingTable_1/.collect.mapping.json b/objects/PackingTable_1/.collect.mapping.json new file mode 100644 index 0000000000000000000000000000000000000000..93972f16689c23060242a3b60fe3fb13b5788a5e --- /dev/null +++ b/objects/PackingTable_1/.collect.mapping.json @@ -0,0 +1,257 @@ +{ + "version": "1.0", + "file_records": [ + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png", + "source_hash": "3720265bc511c0756f5111cfd9985d7371b215c9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png", + "target_hash": "0893a44893b92d508cdef2961c036cc934d746aa" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png", + "source_hash": "d43f4e42d30b74a9cbc72ebe9cb829b95c63c336", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png", + "target_hash": "3eaa8f8fe4c96ff7848205424e84a88db7b047e7" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png", + "source_hash": "8651d8b6134d4f755e54fa0fd75fc6fa240256a9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png", + "target_hash": "b595daca8f6c0464a5ed53d5d62ce29dc8db081a" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png", + "source_hash": "bf7ffe7e03e047940444a1dab5320478484c6d6e", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png", + "target_hash": "ce01d04582d4d8d2e7e041b4dc90adebc7ae79be" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "source_hash": "ac0f86ad0ba1fbf3f329e6299640df9138044331", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "target_hash": "8f943b3095f5752afa7edfdbe26da0f8c097d2de" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "source_hash": "d2bf5ca1a7676d6a3ff80438f24e1ea4233997bc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "target_hash": "a6682f6e90f4ad8bb3a3330c5e9d7b51340b9baa" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "source_hash": "e247c2e81460ca23fa3e234c93baf0bd169993ac", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "target_hash": "3635fdd52b0d290e09939b3d292d5897e7ef87dd" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "source_hash": "9c206e0c9200b1fdd9802c08032919359d0baaf7", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "target_hash": "ada08d29948457d77610a5765093c6d81a1673fa" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "source_hash": "563e3f29169c64a7fbc9de1d12f91882789e8a4a", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "target_hash": "5197267336213d6189b9b669ca920e398a2b02de" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "source_hash": "3e1e845cc2df6c4c092a58571d17faf8fd234057", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "target_hash": "24eb94938b2bc71faaa1750d46eb8dbf01832cf8" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "source_hash": "722cc31ca74e9aa104e9463eba32dedd77480cd1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "target_hash": "e7e8308f589cabe769856a497da6a62935c4e2ad" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "source_hash": "b0bf249b96f09bdfebcb143685acaa3edd55f1e6", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "target_hash": "aa6a1183a7ce1bff23303473b14a0a8693567279" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "source_hash": "adf367edf4b43a143a6a54b2043357dd80fdc4f2", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "target_hash": "927ac7b4ed086c2260297d6d7e044859a2a8dd76" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "source_hash": "f9004a496be7309fe9a0e8cf2c423267886f8aae", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "target_hash": "106c118734d3d5dabff66d65ef4d9733571c355f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "source_hash": "ac965a91544a02c18dfb7ab5456e20142f87a58b", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "target_hash": "30243651c94eb8e77db6cf9a1aee42069c06222f" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "source_hash": "159d122ffac53353866b198ff16435b10e0c0bb1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "target_hash": "b2213a7b28b67fd83707c17df24f589951e9d1a6" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "source_hash": "0d2cbb28666a2c97ce6faad65a9e0df8bffe4aa4", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "target_hash": "da08f235701126a3030b15dae560c6f684a09a5c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "source_hash": "6525a6325ecbd98ac6513ddeddf2030fd7bae062", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "target_hash": "03484efdefb6352bea86d2da08040f5ddd5f4dd2" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "source_hash": "a4b634cfec750ef5cbe61d0a2de01f6276bb49cc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "target_hash": "440e7cf5f04350d67ad7f70073a1f2b76a1dcbb9" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "source_hash": "5aa9ddd81993480c9b48e8f51f7736de7219a943", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "target_hash": "86f63cd9b9161f7d6e111c81ca8fc955ee480365" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "source_hash": "1b7687a4197d6282a3e788823f06b74ca09d2864", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "target_hash": "bfe7f32c004438b3713e4c1aaa3738a82a0f4de1" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "source_hash": "0ce91ec0e174c90b3c5fcb676a188966bd44af5f", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "target_hash": "006e517c77e3cb490b4b6cedf827e067a907e5e0" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "source_hash": "971013d22c077f1d4e92f03e801e930ed9570828", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "target_hash": "2add457f4eedf534e56fdd8677dde5c7ccd2f187" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl", + "source_hash": "90df4d5942d7aeb6c2fc15e07842d7e473c30bb9", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl", + "target_hash": "93cf892e721071fb964cc216bf561a56af7841a3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "source_hash": "8964ae23591a20e14558fb932f0e888adecc3aa8", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "target_hash": "f98641426f0a72a9d835e511641d7b38ec5b8743" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "source_hash": "4128f63073ff09de5ac6f280004e6326674cc9f3", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "target_hash": "076068610266334847ccb6f32f67352097ede3d2" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "source_hash": "8b5ea81cd83dd2bd87d96249a1031337a06b266e", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "target_hash": "a64aa98921a106bb581517961286c3712aa553be" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "source_hash": "c2eea27cc1f987f59602d689c700af4e06a12876", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "target_hash": "3aa2be0e8d957cf0be8751e2fb041eb76bf4bd93" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "source_hash": "8aca71fcc8864b416015ba3b909d5c04eaa1e759", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "target_hash": "157c50e3a312713ada52bdd6a121fc3a702dfef6" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "source_hash": "ba2a5d42143a7d03a8b2b4751a9ff28d6fb29106", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "target_hash": "a374794f7fcfcde507d527996513f7a756739b52" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "source_hash": "5b74690aa80cd65b7cfb424a8aa745e038ffc6d1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "target_hash": "ba0244adc5f178add63e35f22d1c67ee1687c9c1" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "source_hash": "0d6ae58e61d527c306dba219b16e510a736cbc6d", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "target_hash": "504bbba7798176202df4bab7ec957917ff3df29c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "source_hash": "4035ba3763265fdab9e738db916cd0842a01ca32", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "target_hash": "ae0467333df7404139fd40ff50ee4e43c37e05f3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "source_hash": "b2729b5f1843a7460070f0fc649ae26e3296beba", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "target_hash": "30922ac9b8782fe695f5bd2977fafde4e074b903" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "source_hash": "463e2f331d25dd55499cf74b7d89b07cb16879ee", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "target_hash": "5ed5bbf131e2298fb90741b2696b6b10b868a342" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "source_hash": "0e60da812229d962062cdf301eceeb52d64cfee0", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "target_hash": "edd31c3e210acbbc21532d57009fdd56428b0001" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "source_hash": "3802941ff7c22d42bb7d2b59b671a5548014e347", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "target_hash": "9582caa71a2bb5c1e0da0a1832896937a674d015" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "source_hash": "8f26f8de7a5d33aa7bb7a3260c2a72928ab6526c", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "target_hash": "c44912cce4fde69cad060978879dd77a3f5020c5" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "source_hash": "2d833d4b512c35505e1f1c07bb365f49f3e7adeb", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "target_hash": "2c7d2f00c1c922eece6e136d3165717f6e3b4da3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "source_hash": "a2bc186dc805b65430f34759a527361bbc7ec273", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "target_hash": "e439e63f2d693ff2d39918b946cb912cdb2c2df1" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "source_hash": "5d62e83fddb79b98d16eeaa2cef1cf58e9d916db", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "target_hash": "f4821194318e1e5aa1c28305aac815dacbd070a7" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "source_hash": "665943161c93fef26d5641d662c78909de9e5ece", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "target_hash": "29e39a7d15b92ede904e7a03743d9d428fd1d30f" + } + ] +} \ No newline at end of file diff --git a/objects/PackingTable_1/PackingTable.usd b/objects/PackingTable_1/PackingTable.usd new file mode 100644 index 0000000000000000000000000000000000000000..da9470f1d55be4bb27df7485be58f7689ef29ab3 --- /dev/null +++ b/objects/PackingTable_1/PackingTable.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9f065e6dd25f30418e4d8343a2ac8b160a1ccdecbbf6d37c5fd9a6a1e83ed92 +size 16480131 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..84a321977d0920a4d65dc841902bc16de9e386f1 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Yellow_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..caf2e1dfbf279e5a2fd0add4749158be4c3a096e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe56ba7f880da180d6af3c52697bef23a388201fc25913e141afa8b56d0532b +size 3152673 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..7fdb429b8738f0e905dc66ec72413b862ee9eb28 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c60d70a5ab374810b7af180f7fb8c9533431eaba0e277feb7eecdc44f3d61ee +size 4893090 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a91adcb069bbb71ee752fbe376ca27b2d88e79 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5dd7bf3457879acba77c61720a639c074c68002017dc496eb7954e3dcb4168b +size 3352510 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fee8e0bc52e03ec2b3520352f7bf8f535bdfb95e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Blue_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..74d84a997d51b1358cb491bf55593d7fd4426fd4 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a414b0d8551193f129ee80ea61c736a990c130fc19ac256d31dde1749d04e16 +size 822814 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..fb176d2a14d006e369d32ff068141ad255d1f4d4 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b276207f782c029f34dfd6034a9c718467e35e5aa6c8ba2dbcba1de25f045559 +size 909580 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..20427335225b59824acc4a2a8c010f13509c6947 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dff7a9ec311c68b779576bbbf7ab1d121fcd784d49d3f1f730a7fe2ac647fbc9 +size 743855 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..274dacdc079d1ff76c6f1dc4e329fefe51c2841f --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl @@ -0,0 +1,15 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material MetalPainted_White_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a424d0889e4e496971a420bbf42274a1342e778f --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl @@ -0,0 +1,16 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Metal_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(2, 2)); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b4a0043adee46e17553cfe2595d9870e9f5ada6c --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl @@ -0,0 +1,51 @@ +mdl 1.6; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; +export material Wood_Laminate_Gray_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(2, 2), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..70e759fd5e59a6f3bd1f9e0da2db71dc593dfb4e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl @@ -0,0 +1,17 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Wood_Pressed_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", ::tex::gamma_linear), + project_uvw: true, + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(0.045, 0.045)); diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..ec55949e6fcdf5c381e5e365426077ee11ce9cac --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9651a8eb7a7db92d51dbf319e6a54096869bf7b57d541137272b4be73325f20 +size 1318976 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..8856dfc9762546f778a2db5d78e97b3289215874 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:774d302d5deb1b7233bb01d9480d889bb41c3c75c6a8274da3db22c387c9a352 +size 2325135 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..b1f56e5c429e6da341329b82d2f93c1b88a5ded7 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa86de21fe705fa4a826e4785d4001c6e90d5418bdefbfa24e7eaca14e5cc5bf +size 1821970 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..bb2c12f2c1ac9f7494724a9e5307baf309ecb6aa --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f2c43526c30270e07b6e0ea5ccba7be5b588db5a19e70cc909ed69f17dabd4e +size 3314214 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..a681c3f9ec063f9f13722a9015c6820dfbf9ac83 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d8bdd35ff2bc77775b162b98d1723e0008b02cfbaf1a058d3160e90dc3fac6 +size 159602 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..f64e9d3dcd8a4caa7a1054c50589ff5c4c8d9371 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6474d52f77d44479366ad3da9d8b595bb3c90c2c1dd597226a477ccb1a3f4a6 +size 2707096 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..9ee4ff9719c8bc167e1078fa2814e294020e3151 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0566c4fc38f4004c8db6d20009d3af675891bd30b574ec24ceb5325597bfbab +size 16914 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f2b427e2c395928dab4433f7561e1cd71ad98cb5 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81ebfea8c17d8942fed2cebd5e13ade2f12729e99c9525320537fc447ca0c848 +size 4655646 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..baa67c4f354c4941f9bfbd7e7b6e3d80cb72308e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:915b2f6f4690dad4f6ea14d98751bbde91fd14329200a3d2528174b65ef5084b +size 5055979 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..722b40d93e2cad48ae81b5ca4d62e2bd8e88db90 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3065b2625f535a306422de5dbbdc6168fbd29922a3ded13c2f0cfb98c2af7fd6 +size 8634237 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..e667b0864ccfce106129d5a3a36d122b8b780342 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b900d0ea825d9158915ecb1a19fee41b7ed3c10f89251bbfbae2e7637e38b30 +size 10829846 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..bde46fd75116ced5462ad862e31d1b3136362881 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:060bc3de700178616538f325438bfda9164d6663eb4af3384fc52a8ff8d1765b +size 4248696 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5a1f859e76e33a8c4b59f200324a30653eb5f116 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/materials/Plastic_B.mdl @@ -0,0 +1,52 @@ +mdl 1.7; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_B(*) + = OmniPBR( + diffuse_color_constant: color(), + diffuse_texture: texture_2d(), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/T_Plastic_ORM_1k.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("../textures/T_Plastic_Normal_1k.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); \ No newline at end of file diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..a8f66a141fb0ec005d527116e854d96f7c63c300 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45604d449bf31d0f956dfa990745da7bc54beb3bd017af0126f3abf5e7e065dd +size 2741864 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..6cb2dad1897919bb669325eb2f768dfea9ba5ef1 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Gray_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e070b9c902612fe9af6d8d248f24decde3eceda288154217cc28c7c27e4b96 +size 3257454 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png new file mode 100644 index 0000000000000000000000000000000000000000..b3581d57745c9f7521770c4612c4af0b142e0de6 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_Normal_1k.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:017086a4fb5d697900eaa4f52a4918ad7d559405dc733e8af3b090efc5875300 +size 4152274 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png new file mode 100644 index 0000000000000000000000000000000000000000..7d3ad7e5104a1aa2cd5eefa82119f628637d0e41 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/container_h20/textures/T_Plastic_ORM_1k.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0c44b42d69832fa25d0749a55d36e7d5aa1ceba445d1e48ff026f220bd0f28d +size 901654 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..eee64022c7134f8b2c02347256ca7a2e073a37f8 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5128f13063140230dbd1588e03d9d17808883bbeb5b5cf2d3a272acd54c3db0 +size 1092832 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf67f5dd1ac4d9115ed0e949a0a51f1b6713872 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:156e05a6c61179931aa71dd4c6609eac1ceacb01454cd1aac2964fb9857fb6ac +size 345574 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..9aadac5507a936bc392ff3f7bc5c264108b16d8d --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1165a219f93e48cfda9efade8022f25631aa8202fabb97aba899d87ecc025b5 +size 653905 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..531da61f83435ed5f7b10d3428f3dc6dcd2ba544 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db82f3c8f9700b79bb4d2f801c33718c6ea9f406699948ba7c971a676adc5ea +size 7528129 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f78b2bc277322433620c758688a5a696e2f8007e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be1966633f7aa8f8156f47f146927a17f35568c3f4a0e5d39260fb4f268c53ac +size 8397701 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..3eda6159a04d9cdad37eed460b4dda2663398a83 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ad7183e78cb49bcfe1a9591a0c23b423c9fd1a6eb2ea77e07b4cf8386058222 +size 4211848 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..5fea651de1c2a5796be5b2d19aeb2ef4963f1ee0 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f28e62db726c65c9d3472bc2fd1bc6e5328ea98fc94c9359c586c7c99963a58d +size 5011737 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..734eb2aeaa87ae62cf7529fecb2326f986311fd8 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe2565bf75a57c0d8350dcb6380bc2d76a83b37240c42c77c61fd0b167895ec +size 3691365 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..fc490d7301298b9f460caf0fcc7bcd4f48e1ad55 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049a8cd3cd5ad347b213ac7dc9c21c8ef63f989754539e2889ebba9df5083242 +size 3834772 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..036762939d867fc9e0a72b38e14c0132bda30e4b --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a24c65f53b4a7420ac8b3cf570e4dd77df0df81c37a730a65c93305b05289b3 +size 2459866 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f3441b6e8c43f1d1322e4907893f45d438e9b168 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1061dc411be515d6f2a95a02b4ebf9fcf897c7d5dbe4692a96889d0cd390713f +size 1290348 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..c2e95ea98f32a2dd13e2caa7ff20a1c1977521c6 --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f9726a7f956f4c3631e5f794cd04a6328058b415b322b077fecf5e96bf4bfc4 +size 155873 diff --git a/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..82abeb834915badb965ba64a0a87c78d309fea5e --- /dev/null +++ b/objects/PackingTable_1/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37aedb3d2bc48129f27d282c604ff2e8ccb152f1ac091067d6cb70c3aedc5005 +size 1817980 diff --git a/objects/PackingTable_2/.collect.mapping.json b/objects/PackingTable_2/.collect.mapping.json new file mode 100644 index 0000000000000000000000000000000000000000..642c70e1d7323a4c2fe4d8de05daa4dbcd467200 --- /dev/null +++ b/objects/PackingTable_2/.collect.mapping.json @@ -0,0 +1,227 @@ +{ + "version": "1.0", + "file_records": [ + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "source_hash": "ac0f86ad0ba1fbf3f329e6299640df9138044331", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png", + "target_hash": "35423e33a26ed31b51a1c92b97dc3ee5811d54e6" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "source_hash": "d2bf5ca1a7676d6a3ff80438f24e1ea4233997bc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png", + "target_hash": "e258eff32d0f0366530bc01fc3db25a686d7f4de" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "source_hash": "e247c2e81460ca23fa3e234c93baf0bd169993ac", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png", + "target_hash": "281aa81f7789195ce4b0e015a2ad7d1a665fc382" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "source_hash": "9c206e0c9200b1fdd9802c08032919359d0baaf7", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png", + "target_hash": "0ac18fac578972bbc236b51973620b942502949d" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "source_hash": "563e3f29169c64a7fbc9de1d12f91882789e8a4a", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png", + "target_hash": "660ebe01ac8f8c112d31cd885cc4d1074fba42cf" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "source_hash": "3e1e845cc2df6c4c092a58571d17faf8fd234057", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png", + "target_hash": "b5868078087585eb70973dd7d84ea4b18b7213d3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "source_hash": "722cc31ca74e9aa104e9463eba32dedd77480cd1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png", + "target_hash": "968900766abfca7ab786ae1fc34e4a145236a1e5" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "source_hash": "b0bf249b96f09bdfebcb143685acaa3edd55f1e6", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png", + "target_hash": "1a8d2fe9eb51f046fbed1182481702a8b6efa6fc" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "source_hash": "adf367edf4b43a143a6a54b2043357dd80fdc4f2", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png", + "target_hash": "8a7b5d603e7d19b6b80b22e2e268fbea63a804b4" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "source_hash": "f9004a496be7309fe9a0e8cf2c423267886f8aae", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png", + "target_hash": "1558bc812b1628921d0dbf985da6c735f2593a5a" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "source_hash": "ac965a91544a02c18dfb7ab5456e20142f87a58b", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png", + "target_hash": "68c544a8ef9ea470cdf79139aebd2f150a2c3336" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "source_hash": "159d122ffac53353866b198ff16435b10e0c0bb1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png", + "target_hash": "952e219f1b34921ce020a369f5ec0d1b031365ed" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "source_hash": "0d2cbb28666a2c97ce6faad65a9e0df8bffe4aa4", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png", + "target_hash": "6719d8130a840ce47b7460e15fc7222e267fff8c" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "source_hash": "6525a6325ecbd98ac6513ddeddf2030fd7bae062", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl", + "target_hash": "db650526241d9fa0ea7652937c29f6ea9742adde" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "source_hash": "a4b634cfec750ef5cbe61d0a2de01f6276bb49cc", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl", + "target_hash": "04203b97de6d97c4671f44c07883356c83d59024" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "source_hash": "5aa9ddd81993480c9b48e8f51f7736de7219a943", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl", + "target_hash": "dff076d632b7c7af48fadceac9a87e683438494a" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "source_hash": "1b7687a4197d6282a3e788823f06b74ca09d2864", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl", + "target_hash": "f8fa25fb9666c030a7d25282dae0d1c09357c9e3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "source_hash": "0ce91ec0e174c90b3c5fcb676a188966bd44af5f", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl", + "target_hash": "dd2a7127317877fd9c8aa5f4f302405d58cd86a4" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "source_hash": "971013d22c077f1d4e92f03e801e930ed9570828", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl", + "target_hash": "ca8fa39a38466e3ab31bf81fcc9f8e12bb35e264" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "source_hash": "8964ae23591a20e14558fb932f0e888adecc3aa8", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", + "target_hash": "0b4538523a77033df818cc944d80135cc6565691" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "source_hash": "c2eea27cc1f987f59602d689c700af4e06a12876", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", + "target_hash": "3bc000f3b6753a30b4f35f87e870a26ba317d50d" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "source_hash": "4128f63073ff09de5ac6f280004e6326674cc9f3", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", + "target_hash": "ba92030431c875550a514402e3a0bfb21ab31928" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "source_hash": "0d6ae58e61d527c306dba219b16e510a736cbc6d", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", + "target_hash": "b99a3836946dc3a31ad0596058f597d94501fa89" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "source_hash": "8b5ea81cd83dd2bd87d96249a1031337a06b266e", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", + "target_hash": "43c91cb3fb90026780faef2223a57cfccd15d41b" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "source_hash": "3802941ff7c22d42bb7d2b59b671a5548014e347", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", + "target_hash": "c5d3438fdaf9b6d87efee4a3a6fec1fa41b23489" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "source_hash": "8aca71fcc8864b416015ba3b909d5c04eaa1e759", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", + "target_hash": "5c58befdd41f7a7ef157835809d2afafb026931b" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "source_hash": "ba2a5d42143a7d03a8b2b4751a9ff28d6fb29106", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", + "target_hash": "8fd9762c7dc234b055caa1877a799758a164fc64" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "source_hash": "5b74690aa80cd65b7cfb424a8aa745e038ffc6d1", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", + "target_hash": "2a2b3a1fbb00d6c023e74f6457bf0f9372433c52" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "source_hash": "4035ba3763265fdab9e738db916cd0842a01ca32", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", + "target_hash": "9b6958375f0ac8b2972c611cff8febc6f6c53404" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "source_hash": "b2729b5f1843a7460070f0fc649ae26e3296beba", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", + "target_hash": "1e14f52ae4e21dbbf544cc00bd8b0ce833fb98b3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "source_hash": "463e2f331d25dd55499cf74b7d89b07cb16879ee", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", + "target_hash": "bba5e32e2d0f57bbac986ba4bbc49e94db32ced3" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "source_hash": "0e60da812229d962062cdf301eceeb52d64cfee0", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", + "target_hash": "d207d55ce1b5affb6e5af0a5509eb13e68821580" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "source_hash": "8f26f8de7a5d33aa7bb7a3260c2a72928ab6526c", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", + "target_hash": "34e0427dffcf43e0abb7c5477a2d6e4b50a60665" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "source_hash": "2d833d4b512c35505e1f1c07bb365f49f3e7adeb", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", + "target_hash": "99c86a27cad2150aa481cce8068baf23fc98b2fe" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "source_hash": "a2bc186dc805b65430f34759a527361bbc7ec273", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", + "target_hash": "3d873ac66214f62ec56890f6f6b3612af6191332" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "source_hash": "5d62e83fddb79b98d16eeaa2cef1cf58e9d916db", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", + "target_hash": "e873afdb6aa416373a6002ff1c425b8ac8087f65" + }, + { + "source_url": "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "source_hash": "665943161c93fef26d5641d662c78909de9e5ece", + "target_url": "./omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", + "target_hash": "6f0805a3548f3fb5e22ea7e3a35696d6f4236ad0" + } + ] +} \ No newline at end of file diff --git a/objects/PackingTable_2/PackingTable.usd b/objects/PackingTable_2/PackingTable.usd new file mode 100644 index 0000000000000000000000000000000000000000..ea53410afafb7f2a832bda510ab839df601a005c --- /dev/null +++ b/objects/PackingTable_2/PackingTable.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6dc96799990ad57e5ec48798c2d0fa8e2d2618ebd88a4eb300b270bdeb63eba +size 13765222 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..84a321977d0920a4d65dc841902bc16de9e386f1 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/Plastic_Yellow_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Yellow_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..caf2e1dfbf279e5a2fd0add4749158be4c3a096e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fe56ba7f880da180d6af3c52697bef23a388201fc25913e141afa8b56d0532b +size 3152673 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..7fdb429b8738f0e905dc66ec72413b862ee9eb28 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c60d70a5ab374810b7af180f7fb8c9533431eaba0e277feb7eecdc44f3d61ee +size 4893090 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..c1a91adcb069bbb71ee752fbe376ca27b2d88e79 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A07_Yellow_01/materials/textures/Plastic_Yellow_A/T_Plastic_Yellow_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5dd7bf3457879acba77c61720a639c074c68002017dc496eb7954e3dcb4168b +size 3352510 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fee8e0bc52e03ec2b3520352f7bf8f535bdfb95e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/Plastic_Blue_A.mdl @@ -0,0 +1,52 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Plastic_Blue_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: ::base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(3, 3), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..74d84a997d51b1358cb491bf55593d7fd4426fd4 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a414b0d8551193f129ee80ea61c736a990c130fc19ac256d31dde1749d04e16 +size 822814 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..fb176d2a14d006e369d32ff068141ad255d1f4d4 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b276207f782c029f34dfd6034a9c718467e35e5aa6c8ba2dbcba1de25f045559 +size 909580 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..20427335225b59824acc4a2a8c010f13509c6947 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_Crate_A08_Blue_01/materials/textures/Plastic_Blue_A/T_Plastic_Blue_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dff7a9ec311c68b779576bbbf7ab1d121fcd784d49d3f1f730a7fe2ac647fbc9 +size 743855 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..274dacdc079d1ff76c6f1dc4e329fefe51c2841f --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/MetalPainted_White_Glossy_A.mdl @@ -0,0 +1,15 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material MetalPainted_White_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a424d0889e4e496971a420bbf42274a1342e778f --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Metal_Glossy_A.mdl @@ -0,0 +1,16 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Metal_Glossy_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png", ::tex::gamma_linear), + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(2, 2)); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b4a0043adee46e17553cfe2595d9870e9f5ada6c --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Laminate_Gray_A.mdl @@ -0,0 +1,51 @@ +mdl 1.6; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; +export material Wood_Laminate_Gray_A(*) + = OmniPBR( + diffuse_color_constant: color(0.2, 0.2, 0.2), + diffuse_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png", ::tex::gamma_srgb), + albedo_desaturation: 0.0, + albedo_add: 0.0, + albedo_brightness: 1.0, + diffuse_tint: color(1, 1, 1), + reflection_roughness_constant: 0.5, + reflection_roughness_texture_influence: 1.0, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 1.0, + metallic_texture: texture_2d(), + specular_level: 0.5, + enable_ORM_texture: true, + ORM_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.0, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1, 0.1, 0.1), + emissive_color_texture: texture_2d(), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.0, + enable_opacity: false, + enable_opacity_texture: false, + opacity_constant: 1.0, + opacity_texture: texture_2d(), + opacity_mode: base::mono_average, + opacity_threshold: 0.0, + bump_factor: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.30000001192092896, + detail_normalmap_texture: texture_2d(), + flip_tangent_u: false, + flip_tangent_v: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0, 0), + texture_rotate: 0.0, + texture_scale: float2(2, 2), + detail_texture_translate: float2(0, 0), + detail_texture_rotate: 0.0, + detail_texture_scale: float2(1, 1)); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl new file mode 100644 index 0000000000000000000000000000000000000000..70e759fd5e59a6f3bd1f9e0da2db71dc593dfb4e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/Wood_Pressed_A.mdl @@ -0,0 +1,17 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; +import ::base::mono_mode; + +export material Wood_Pressed_A(*) + = OmniPBR( + diffuse_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png", ::tex::gamma_srgb), + enable_ORM_texture: true, + metallic_texture_influence: 1.0, + normalmap_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png", ::tex::gamma_linear), + ORM_texture: texture_2d("./textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png", ::tex::gamma_linear), + project_uvw: true, + reflection_roughness_texture_influence: 1.0, + texture_scale: float2(0.045, 0.045)); diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..ec55949e6fcdf5c381e5e365426077ee11ce9cac --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9651a8eb7a7db92d51dbf319e6a54096869bf7b57d541137272b4be73325f20 +size 1318976 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..8856dfc9762546f778a2db5d78e97b3289215874 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:774d302d5deb1b7233bb01d9480d889bb41c3c75c6a8274da3db22c387c9a352 +size 2325135 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..b1f56e5c429e6da341329b82d2f93c1b88a5ded7 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/MetalPainted_White_Glossy_A/T_MetalPainted_White_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa86de21fe705fa4a826e4785d4001c6e90d5418bdefbfa24e7eaca14e5cc5bf +size 1821970 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..bb2c12f2c1ac9f7494724a9e5307baf309ecb6aa --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f2c43526c30270e07b6e0ea5ccba7be5b588db5a19e70cc909ed69f17dabd4e +size 3314214 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..a681c3f9ec063f9f13722a9015c6820dfbf9ac83 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d8bdd35ff2bc77775b162b98d1723e0008b02cfbaf1a058d3160e90dc3fac6 +size 159602 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..f64e9d3dcd8a4caa7a1054c50589ff5c4c8d9371 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Metal_Glossy_A/T_Metal_Glossy_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6474d52f77d44479366ad3da9d8b595bb3c90c2c1dd597226a477ccb1a3f4a6 +size 2707096 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..9ee4ff9719c8bc167e1078fa2814e294020e3151 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0566c4fc38f4004c8db6d20009d3af675891bd30b574ec24ceb5325597bfbab +size 16914 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f2b427e2c395928dab4433f7561e1cd71ad98cb5 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81ebfea8c17d8942fed2cebd5e13ade2f12729e99c9525320537fc447ca0c848 +size 4655646 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..baa67c4f354c4941f9bfbd7e7b6e3d80cb72308e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Laminate_Gray_A/T_Wood_Laminate_Gray_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:915b2f6f4690dad4f6ea14d98751bbde91fd14329200a3d2528174b65ef5084b +size 5055979 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..722b40d93e2cad48ae81b5ca4d62e2bd8e88db90 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3065b2625f535a306422de5dbbdc6168fbd29922a3ded13c2f0cfb98c2af7fd6 +size 8634237 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..e667b0864ccfce106129d5a3a36d122b8b780342 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b900d0ea825d9158915ecb1a19fee41b7ed3c10f89251bbfbae2e7637e38b30 +size 10829846 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..bde46fd75116ced5462ad862e31d1b3136362881 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/SM_HeavyDutyPackingTable_C02_01/materials/textures/Wood_Pressed_A/T_Wood_Pressed_A1_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:060bc3de700178616538f325438bfda9164d6663eb4af3384fc52a8ff8d1765b +size 4248696 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..eee64022c7134f8b2c02347256ca7a2e073a37f8 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5128f13063140230dbd1588e03d9d17808883bbeb5b5cf2d3a272acd54c3db0 +size 1092832 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf67f5dd1ac4d9115ed0e949a0a51f1b6713872 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:156e05a6c61179931aa71dd4c6609eac1ceacb01454cd1aac2964fb9857fb6ac +size 345574 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..9aadac5507a936bc392ff3f7bc5c264108b16d8d --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_decal_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1165a219f93e48cfda9efade8022f25631aa8202fabb97aba899d87ecc025b5 +size 653905 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..531da61f83435ed5f7b10d3428f3dc6dcd2ba544 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5db82f3c8f9700b79bb4d2f801c33718c6ea9f406699948ba7c971a676adc5ea +size 7528129 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f78b2bc277322433620c758688a5a696e2f8007e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be1966633f7aa8f8156f47f146927a17f35568c3f4a0e5d39260fb4f268c53ac +size 8397701 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..3eda6159a04d9cdad37eed460b4dda2663398a83 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile01_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ad7183e78cb49bcfe1a9591a0c23b423c9fd1a6eb2ea77e07b4cf8386058222 +size 4211848 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..5fea651de1c2a5796be5b2d19aeb2ef4963f1ee0 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f28e62db726c65c9d3472bc2fd1bc6e5328ea98fc94c9359c586c7c99963a58d +size 5011737 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..734eb2aeaa87ae62cf7529fecb2326f986311fd8 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe2565bf75a57c0d8350dcb6380bc2d76a83b37240c42c77c61fd0b167895ec +size 3691365 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..fc490d7301298b9f460caf0fcc7bcd4f48e1ad55 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_tile02_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049a8cd3cd5ad347b213ac7dc9c21c8ef63f989754539e2889ebba9df5083242 +size 3834772 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..036762939d867fc9e0a72b38e14c0132bda30e4b --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a24c65f53b4a7420ac8b3cf570e4dd77df0df81c37a730a65c93305b05289b3 +size 2459866 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png new file mode 100644 index 0000000000000000000000000000000000000000..f3441b6e8c43f1d1322e4907893f45d438e9b168 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1061dc411be515d6f2a95a02b4ebf9fcf897c7d5dbe4692a96889d0cd390713f +size 1290348 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..c2e95ea98f32a2dd13e2caa7ff20a1c1977521c6 --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f9726a7f956f4c3631e5f794cd04a6328058b415b322b077fecf5e96bf4bfc4 +size 155873 diff --git a/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png new file mode 100644 index 0000000000000000000000000000000000000000..82abeb834915badb965ba64a0a87c78d309fea5e --- /dev/null +++ b/objects/PackingTable_2/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5/Isaac/Props/PackingTable/props/sm_whitecorrugatedbox_b/materials/textures/t_corrugatedboxes_b01_trim_orm.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37aedb3d2bc48129f27d282c604ff2e8ccb152f1ac091067d6cb70c3aedc5005 +size 1817980 diff --git a/objects/drawers/.thumbs/256x256/cabinet_collider.usd.png b/objects/drawers/.thumbs/256x256/cabinet_collider.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff79489fb81ee1bfbf9c7f937e6b197ced3d3c3 --- /dev/null +++ b/objects/drawers/.thumbs/256x256/cabinet_collider.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86fb6ebfcd3751711bc3760c7450a11b1f233e178bfb8408e5c60d206fe3e4ba +size 33535 diff --git a/objects/drawers/cabinet_collider.usd b/objects/drawers/cabinet_collider.usd new file mode 100644 index 0000000000000000000000000000000000000000..480f47f7a7181188f5900d941e34e593a6543623 --- /dev/null +++ b/objects/drawers/cabinet_collider.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af9703419973d930349c5a8a63ba2360ea57884fcd5dd78bc0fb86992d50782c +size 266990 diff --git a/objects/drawers/drawer.usd b/objects/drawers/drawer.usd new file mode 100644 index 0000000000000000000000000000000000000000..b86d79142e0e8866a43ca4a029133ede9a28a2e4 --- /dev/null +++ b/objects/drawers/drawer.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bb0baa0e1eb238d27f2dff4aac3fa771ab937548b44d323511abc4c35813eb6 +size 266730 diff --git a/objects/small_warehouse/SubUSDs/materials/Aluminum_Anodized_Black.mdl b/objects/small_warehouse/SubUSDs/materials/Aluminum_Anodized_Black.mdl new file mode 100644 index 0000000000000000000000000000000000000000..2177bbabd77d348a5216fbd272af0ebf10e17572 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Aluminum_Anodized_Black.mdl @@ -0,0 +1,43 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Aluminum_Anodized_Black(*) + = OmniPBR( + diffuse_color_constant: color(0.500000, 0.500000, 0.500000), + diffuse_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(0.05f, 0.05f, 0.05f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.000000, 1.000000, 1.000000), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.000000, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); + diff --git a/objects/small_warehouse/SubUSDs/materials/Aluminum_Polished.mdl b/objects/small_warehouse/SubUSDs/materials/Aluminum_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a1d1284ac52f00776ed41b612ea7793cf43ae30b --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Aluminum_Polished.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Aluminum_Polished(*) + = OmniPBR( + diffuse_color_constant: color(0.500000, 0.500000, 0.500000), + diffuse_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.000000, 1.000000, 1.000000), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.000000, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/Chain_Link_Fence.mdl b/objects/small_warehouse/SubUSDs/materials/Chain_Link_Fence.mdl new file mode 100644 index 0000000000000000000000000000000000000000..abc14674b614f1fdfbc551a729b9af506cac607c --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Chain_Link_Fence.mdl @@ -0,0 +1,45 @@ +mdl 1.4; + +import ::OmniPBR_Opacity::OmniPBR_Opacity; +import ::tex::gamma_mode; +import ::state::normal; + +export material Chain_Link_Fence(*) + = ::OmniPBR_Opacity::OmniPBR_Opacity( + diffuse_color_constant: color(1.f, 1.f, 1.f), + diffuse_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 1.f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.f, 0.f, 0.f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.f, + enable_opacity_texture: true, + opacity_constant: 1.f, + opacity_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_Opacity.png", ::tex::gamma_linear), + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.3f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/Clear_Glass.mdl b/objects/small_warehouse/SubUSDs/materials/Clear_Glass.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d6c08a66ec3d6465474bf1e93968a42c369059a1 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Clear_Glass.mdl @@ -0,0 +1,43 @@ +mdl 1.3; + +import ::OmniGlass::OmniGlass; +import ::tex::gamma_mode; +import ::state::normal; + +export material Clear_Glass(*) + = OmniGlass::OmniGlass( + absorption_coeff: color(1.f, 1.f, 1.f), + glass_color: color(1.f, 1.f, 1.f), + use_glass_color_texture: false, + glass_color_texture: texture_2d(), + frosting_roughness: 0.f, + glass_ior: 1.52f, + thin_walled: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f)); + +/* +mdl 1.5; + +import ::Library::AEC::Materials::Templates::GlassWithVolume::GlassWithVolume; +import ::tex::gamma_mode; +import ::state::normal; + +export material Clear_Glass(*) + = ::Library::AEC::Materials::Templates::GlassWithVolume::GlassWithVolume( + thin_walled: true, + transmission_color: color(1.f, 1.f, 1.f), + roughness_texture: texture_2d(), + ior: 1.52f, + transmission_color_texture: texture_2d(), + roughness_texture_influence: 0.f, + roughness: 0.f, + reflection_color_texture: texture_2d(), + reflection_color: color(1.f, 1.f, 1.f), + depth: 0.0001f, + normal_map_texture: texture_2d()); +*/ diff --git a/objects/small_warehouse/SubUSDs/materials/Concrete_Polished.mdl b/objects/small_warehouse/SubUSDs/materials/Concrete_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..bda78f2668839a9a4806e090fd8255f07d1c0d37 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Concrete_Polished.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Concrete_Polished(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d("../textures/Concrete_Polished_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Concrete_Polished_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.0, 0.0, 0.0), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.0, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Concrete_Polished_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.3f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/MI_Clock.mdl b/objects/small_warehouse/SubUSDs/materials/MI_Clock.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5dac7222f2a2cb22e62cc0bc62be88f535105d17 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/MI_Clock.mdl @@ -0,0 +1,61 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_Clock( + uniform texture_2d Normal = texture_2d("../textures/T_Bookcase_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_Bookcase_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]], + float EmissionIntensity = 2.0, + float4 EmissionColor = float4(0.0,0.0,0.0,0.0), + uniform texture_2d BaseColor = texture_2d("../textures/T_Bookcase_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0)) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float Local2 = (Local1.w * EmissionIntensity); + float3 Local3 = (Local2 * float3(EmissionColor.x,EmissionColor.y,EmissionColor.z)); + float4 Local4 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = (float3(Local4.x,Local4.y,Local4.z) * float3(Color.x,Color.y,Color.z)); + + float3 EmissiveColor_mdl = Local3; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local5; + float Metallic_mdl = Local1.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local1.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse/SubUSDs/materials/MI_DoorA.mdl b/objects/small_warehouse/SubUSDs/materials/MI_DoorA.mdl new file mode 100644 index 0000000000000000000000000000000000000000..ee9b89eba74ea2f1910b6f5917ffdb61d2c5d7a6 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/MI_DoorA.mdl @@ -0,0 +1,69 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_DoorA( + uniform texture_2d Normal = texture_2d("../textures/T_PanicDoor_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d BaseColor = texture_2d("../textures/T_PanicDoor_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color04 = float4(1.0,1.0,1.0,1.0), + float4 Color01 = float4(1.0,1.0,1.0,1.0), + uniform texture_2d ColorMask = texture_2d("../textures/T_PanicDoor_mask.png",::tex::gamma_linear) + [[sampler_color()]], + float4 Color02 = float4(1.0,1.0,1.0,1.0), + float4 Color03 = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_PanicDoor_ao_r_m_e.png",::tex::gamma_linear) + [[sampler_color()]]) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color04.x,Color04.y,Color04.z)); + float3 Local3 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color01.x,Color01.y,Color01.z)); + float4 Local4 = tex::lookup_float4(ColorMask,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = math::lerp(Local2,Local3,Local4.x); + float3 Local6 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color02.x,Color02.y,Color02.z)); + float3 Local7 = math::lerp(Local5,Local6,Local4.y); + float3 Local8 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color03.x,Color03.y,Color03.z)); + float3 Local9 = math::lerp(Local7,Local8,Local4.z); + float4 Local10 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local9; + float Metallic_mdl = Local10.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local10.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse/SubUSDs/materials/MI_PC_ON_02.mdl b/objects/small_warehouse/SubUSDs/materials/MI_PC_ON_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..00624f9fc960981d814dfc0a5c6973f1c256100d --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/MI_PC_ON_02.mdl @@ -0,0 +1,64 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_PC_ON_02( + uniform texture_2d Normal = texture_2d("../textures/T_RadioSet_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d Emission = texture_2d("../textures/T_RadioSet_e.png",::tex::gamma_srgb) + [[sampler_color()]], + float EmissionIntensity = 2.0, + float4 EmissionColor = float4(1.0,1.0,1.0,1.0), + uniform texture_2d BaseColor = texture_2d("../textures/T_RadioSet_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_RadioSet_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]]) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(Emission,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * EmissionIntensity); + float3 Local3 = (Local2 * float3(EmissionColor.x,EmissionColor.y,EmissionColor.z)); + float4 Local4 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = (float3(Local4.x,Local4.y,Local4.z) * float3(Color.x,Color.y,Color.z)); + float4 Local6 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = Local3; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local5; + float Metallic_mdl = Local6.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local6.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse/SubUSDs/materials/MI_Props.mdl b/objects/small_warehouse/SubUSDs/materials/MI_Props.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b014f32b0b19c7782577f41a798d7058ab29e136 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/MI_Props.mdl @@ -0,0 +1,59 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_Props( + uniform texture_2d Normal = texture_2d("../textures/T_Bookcase_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d BaseColor = texture_2d("../textures/T_Bookcase_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_Bookcase_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]], + float RoughnessMultiplier = 1.0) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color.x,Color.y,Color.z)); + float4 Local3 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float Local4 = (Local3.y * RoughnessMultiplier); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local2; + float Metallic_mdl = Local3.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local4; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse/SubUSDs/materials/M_TrafficCone.mdl b/objects/small_warehouse/SubUSDs/materials/M_TrafficCone.mdl new file mode 100644 index 0000000000000000000000000000000000000000..af97a9454c34a40013c9769a0fcbc7c093647cf8 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/M_TrafficCone.mdl @@ -0,0 +1,57 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function_1 import *; +using OmniUe4Base_1 import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material M_TrafficCone( + float Param = 5.0) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_N.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_D.png",::tex::gamma_srgb),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float4 Local2 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_Stripes.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local3 = (float3(Local1.x,Local1.y,Local1.z) * float3(Local2.x,Local2.y,Local2.z)); + float3 Local4 = (Local3 * Param); + float3 Local5 = ::transform_vector_from_tangent_to_world(float3(float3(Local0.x,Local0.y,Local0.z).x,float3(Local0.x,Local0.y,Local0.z).y,float3(Local0.x,Local0.y,Local0.z).z)); + float Local6 = ::fresnel(0.05, 0.1, Local5); + float Local7 = (1.0 - Local6); + float3 Local8 = (Local4 * Local7); + float4 Local9 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_ORM.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = Local8; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = float3(Local1.x,Local1.y,Local1.z); + float Metallic_mdl = Local9.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local9.y; + + } in + ::OmniUe4Base_1( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse/SubUSDs/materials/OmniUe4Base.mdl b/objects/small_warehouse/SubUSDs/materials/OmniUe4Base.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fa6a0729f700fdb986fe6bfe544139adfc3041bd --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/OmniUe4Base.mdl @@ -0,0 +1,195 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.0 - first version +//* 1.0.1 - merge unlit template +//* 1.0.2 - Fix EDF in the back side: the EDF contained in surface is only used for the front side and not for the back side +//* 1.0.3 - UE4 normal mapping: Geometry normal shouldn't be changed +//* 1.0.4 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + +float emissive_multiplier() +[[ + anno::description("the multiplier to convert UE4 emissive to raw data"), + anno::noinline() +]] +{ + return 20.0f * 128.0f; +} + +float3 tangent_space_normal( + float3 normal = float3(0.0,0.0,1.0), + float3 tangent_u = state::texture_tangent_u(0), + float3 tangent_v = state::texture_tangent_v(0) +) +[[ + anno::description("Interprets the vector in tangent space"), + anno::noinline() +]] +{ + return math::normalize( + tangent_u * normal.x - /* flip_tangent_v */ + tangent_v * normal.y + + state::normal() * (normal.z)); +} + +export material OmniUe4Base( + float3 base_color = float3(0.0, 0.0, 0.0), + float metallic = 0.0, + float roughness = 0.5, + float specular = 0.5, + float3 normal = float3(0.0,0.0,1.0), + float clearcoat_weight = 0.0, + float clearcoat_roughness = 0.0, + float3 clearcoat_normal = float3(0.0,0.0,1.0), + uniform bool enable_opacity = true, + float opacity = 1.0, + float3 emissive_color = float3(0.0, 0.0, 0.0), + float3 displacement = float3(0.0), + uniform bool is_tangent_space_normal = true, + uniform bool two_sided = false, + uniform bool is_unlit = false +) +[[ + anno::display_name("Omni UE4 Base"), + anno::description("Omni UE4 Base, supports UE4 default lit and clearcoat shading model"), + anno::version( 1, 0, 0), + anno::author("NVIDIA CORPORATION"), + anno::key_words(string[]("omni", "UE4", "omniverse", "lit", "clearcoat", "generic")) +]] + = let { + color final_base_color = math::saturate(base_color); + float final_metallic = math::saturate(metallic); + float final_roughness = math::saturate(roughness); + float final_specular = math::saturate(specular); + color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/ + float final_clearcoat_weight = math::saturate(clearcoat_weight); + float final_clearcoat_roughness = math::saturate(clearcoat_roughness); + float3 final_normal = math::normalize(normal); + float3 final_clearcoat_normal = math::normalize(clearcoat_normal); + + // - compute final roughness by squaring the "roughness" parameter + float alpha = final_roughness * final_roughness; + // reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering + float grazing_refl = math::max((1.0 - final_roughness), 0.0); + + float3 the_normal = is_unlit ? state::normal() : + (is_tangent_space_normal ? tangent_space_normal( + normal: final_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_normal); + + // for the dielectric component we layer the glossy component on top of the diffuse one, + // the glossy layer has no color tint + + bsdf dielectric_component = df::custom_curve_layer( + weight: final_specular, + normal_reflectivity: 0.08, + grazing_reflectivity: grazing_refl, + layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha), + base: df::diffuse_reflection_bsdf(tint: final_base_color), + normal: the_normal); + + // the metallic component doesn't have a diffuse component, it's only glossy + // base_color is applied to tint it + bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha); + + // final BSDF is a linear blend between dielectric and metallic component + bsdf dielectric_metal_mix = + df::normalized_mix( + components: + df::bsdf_component[]( + df::bsdf_component( + component: metallic_component, + weight: final_metallic), + df::bsdf_component( + component: dielectric_component, + weight: 1.0-final_metallic) + ) + ); + + // clearcoat layer + float clearcoat_grazing_refl = math::max((1.0 - final_clearcoat_roughness), 0.0); + float clearcoat_alpha = final_clearcoat_roughness * final_clearcoat_roughness; + + float3 the_clearcoat_normal = is_tangent_space_normal ? tangent_space_normal( + normal: final_clearcoat_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_clearcoat_normal; + + + bsdf clearcoat = + df::custom_curve_layer( + base: df::weighted_layer( + layer: dielectric_metal_mix, + weight: 1.0, + normal: final_clearcoat_weight == 0.0 ? state::normal() : the_normal + ), + layer: df::microfacet_ggx_smith_bsdf( + roughness_u: clearcoat_alpha, + tint: color(1.0) + ), + normal_reflectivity: 0.04, + grazing_reflectivity: clearcoat_grazing_refl, + normal: the_clearcoat_normal, + weight: final_clearcoat_weight + ); + bsdf surface = is_unlit ? bsdf() : clearcoat; +} +in material( + thin_walled: two_sided, // Graphene? + surface: material_surface( + scattering: surface, + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + backface: material_surface( + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + geometry: material_geometry( + displacement: displacement, + normal: final_clearcoat_weight == 0.0 ? the_normal : state::normal(), + cutout_opacity: enable_opacity ? opacity : 1.0 + ) +); diff --git a/objects/small_warehouse/SubUSDs/materials/OmniUe4Base_1.mdl b/objects/small_warehouse/SubUSDs/materials/OmniUe4Base_1.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fa6a0729f700fdb986fe6bfe544139adfc3041bd --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/OmniUe4Base_1.mdl @@ -0,0 +1,195 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.0 - first version +//* 1.0.1 - merge unlit template +//* 1.0.2 - Fix EDF in the back side: the EDF contained in surface is only used for the front side and not for the back side +//* 1.0.3 - UE4 normal mapping: Geometry normal shouldn't be changed +//* 1.0.4 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + +float emissive_multiplier() +[[ + anno::description("the multiplier to convert UE4 emissive to raw data"), + anno::noinline() +]] +{ + return 20.0f * 128.0f; +} + +float3 tangent_space_normal( + float3 normal = float3(0.0,0.0,1.0), + float3 tangent_u = state::texture_tangent_u(0), + float3 tangent_v = state::texture_tangent_v(0) +) +[[ + anno::description("Interprets the vector in tangent space"), + anno::noinline() +]] +{ + return math::normalize( + tangent_u * normal.x - /* flip_tangent_v */ + tangent_v * normal.y + + state::normal() * (normal.z)); +} + +export material OmniUe4Base( + float3 base_color = float3(0.0, 0.0, 0.0), + float metallic = 0.0, + float roughness = 0.5, + float specular = 0.5, + float3 normal = float3(0.0,0.0,1.0), + float clearcoat_weight = 0.0, + float clearcoat_roughness = 0.0, + float3 clearcoat_normal = float3(0.0,0.0,1.0), + uniform bool enable_opacity = true, + float opacity = 1.0, + float3 emissive_color = float3(0.0, 0.0, 0.0), + float3 displacement = float3(0.0), + uniform bool is_tangent_space_normal = true, + uniform bool two_sided = false, + uniform bool is_unlit = false +) +[[ + anno::display_name("Omni UE4 Base"), + anno::description("Omni UE4 Base, supports UE4 default lit and clearcoat shading model"), + anno::version( 1, 0, 0), + anno::author("NVIDIA CORPORATION"), + anno::key_words(string[]("omni", "UE4", "omniverse", "lit", "clearcoat", "generic")) +]] + = let { + color final_base_color = math::saturate(base_color); + float final_metallic = math::saturate(metallic); + float final_roughness = math::saturate(roughness); + float final_specular = math::saturate(specular); + color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/ + float final_clearcoat_weight = math::saturate(clearcoat_weight); + float final_clearcoat_roughness = math::saturate(clearcoat_roughness); + float3 final_normal = math::normalize(normal); + float3 final_clearcoat_normal = math::normalize(clearcoat_normal); + + // - compute final roughness by squaring the "roughness" parameter + float alpha = final_roughness * final_roughness; + // reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering + float grazing_refl = math::max((1.0 - final_roughness), 0.0); + + float3 the_normal = is_unlit ? state::normal() : + (is_tangent_space_normal ? tangent_space_normal( + normal: final_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_normal); + + // for the dielectric component we layer the glossy component on top of the diffuse one, + // the glossy layer has no color tint + + bsdf dielectric_component = df::custom_curve_layer( + weight: final_specular, + normal_reflectivity: 0.08, + grazing_reflectivity: grazing_refl, + layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha), + base: df::diffuse_reflection_bsdf(tint: final_base_color), + normal: the_normal); + + // the metallic component doesn't have a diffuse component, it's only glossy + // base_color is applied to tint it + bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha); + + // final BSDF is a linear blend between dielectric and metallic component + bsdf dielectric_metal_mix = + df::normalized_mix( + components: + df::bsdf_component[]( + df::bsdf_component( + component: metallic_component, + weight: final_metallic), + df::bsdf_component( + component: dielectric_component, + weight: 1.0-final_metallic) + ) + ); + + // clearcoat layer + float clearcoat_grazing_refl = math::max((1.0 - final_clearcoat_roughness), 0.0); + float clearcoat_alpha = final_clearcoat_roughness * final_clearcoat_roughness; + + float3 the_clearcoat_normal = is_tangent_space_normal ? tangent_space_normal( + normal: final_clearcoat_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_clearcoat_normal; + + + bsdf clearcoat = + df::custom_curve_layer( + base: df::weighted_layer( + layer: dielectric_metal_mix, + weight: 1.0, + normal: final_clearcoat_weight == 0.0 ? state::normal() : the_normal + ), + layer: df::microfacet_ggx_smith_bsdf( + roughness_u: clearcoat_alpha, + tint: color(1.0) + ), + normal_reflectivity: 0.04, + grazing_reflectivity: clearcoat_grazing_refl, + normal: the_clearcoat_normal, + weight: final_clearcoat_weight + ); + bsdf surface = is_unlit ? bsdf() : clearcoat; +} +in material( + thin_walled: two_sided, // Graphene? + surface: material_surface( + scattering: surface, + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + backface: material_surface( + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + geometry: material_geometry( + displacement: displacement, + normal: final_clearcoat_weight == 0.0 ? the_normal : state::normal(), + cutout_opacity: enable_opacity ? opacity : 1.0 + ) +); diff --git a/objects/small_warehouse/SubUSDs/materials/OmniUe4Function.mdl b/objects/small_warehouse/SubUSDs/materials/OmniUe4Function.mdl new file mode 100644 index 0000000000000000000000000000000000000000..dd9f564d26a9915db37e4eea65b0a56709a2af98 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/OmniUe4Function.mdl @@ -0,0 +1,1163 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.1 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + + +export float3x3 matrix_inverse(float3x3 matrix) +[[ + anno::description("Inverse the 3x3 matrix"), + anno::noinline() +]] +{ + float determinant = (matrix[0][0] * matrix[1][1] * matrix[2][2] + matrix[1][0] * matrix[2][1] * matrix[0][2] + matrix[2][0] * matrix[0][1] * matrix[1][2]) - (matrix[0][2] * matrix[1][1] * matrix[2][0] + matrix[1][2] * matrix[2][1] * matrix[0][0] + matrix[2][2] * matrix[0][1] * matrix[1][0]); + float rdet = 1.0f / determinant; + + float3x3 result; + + result[0][0] = rdet * (matrix[1][1] * matrix[2][2] - matrix[1][2] * matrix[2][1]); + result[0][1] = -rdet * (matrix[0][1] * matrix[2][2] - matrix[0][2] * matrix[2][1]); + result[0][2] = rdet * (matrix[0][1] * matrix[1][2] - matrix[0][2] * matrix[1][1]); + + result[1][0] = -rdet * (matrix[1][0] * matrix[2][2] - matrix[1][2] * matrix[2][0]); + result[1][1] = rdet * (matrix[0][0] * matrix[2][2] - matrix[0][2] * matrix[2][0]); + result[1][2] = -rdet * (matrix[0][0] * matrix[1][2] - matrix[0][2] * matrix[1][0]); + + result[2][0] = rdet * (matrix[1][0] * matrix[2][1] - matrix[1][1] * matrix[2][0]); + result[2][1] = -rdet * (matrix[0][0] * matrix[2][1] - matrix[0][1] * matrix[2][0]); + result[2][2] = rdet * (matrix[0][0] * matrix[1][1] - matrix[0][1] * matrix[1][0]); + + return result; +} + +export float3 transform_vector_from_tangent_to_world(float3 vector) +[[ + anno::description("Transform vector from tangent space to world space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + return tangent_to_world * vector; +} + +export float3 transform_vector_from_world_to_tangent(float3 vector) +[[ + anno::description("Transform vector from world space to tangent space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + + // inverse tangent to world matrix + float3x3 world_to_tangent = matrix_inverse(tangent_to_world); + + return world_to_tangent * vector; +} + +export float4 unpack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Unpack a normal stored in a normal map"), + anno::noinline() +]] +{ + float2 normal_xy = float2(texture_sample.x, texture_sample.y); + + normal_xy = normal_xy * float2(2.0,2.0) - float2(1.0,1.0); + float normal_z = math::sqrt( math::saturate( 1.0 - math::dot( normal_xy, normal_xy ) ) ); + return float4( normal_xy.x, normal_xy.y, normal_z, 1.0 ); +} + +// for get color value from normal. +export float4 pack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Pack to color from a normal") +]] +{ + float2 return_xy = float2(texture_sample.x, texture_sample.y); + + return_xy = (return_xy + float2(1.0,1.0)) / float2(2.0,2.0); + + return float4( return_xy.x, return_xy.y, 0.0, 1.0 ); +} + +export float4 greyscale_texture_lookup( + float4 texture_sample = float4(0.0, 0.0, 0.0, 1.0) + ) +[[ + anno::description("Sampling a greyscale texture"), + anno::noinline() +]] +{ + return float4(texture_sample.x, texture_sample.x, texture_sample.x, texture_sample.x); +} + +export float3 pixel_normal_world_space() +[[ + anno::description("Pixel normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 vertex_normal_world_space() +[[ + anno::description("Vertex normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 landscape_normal_world_space() +[[ + anno::description("Landscape normal in world space") +]] +{ + float3 normalFromNormalmap = math::floor((::vertex_normal_world_space() * 0.5 + 0.5) * 255.0) / 255.0 * 2.0 - 1.0; + + float2 normalXY = float2(normalFromNormalmap.x, normalFromNormalmap.y); + return float3(normalXY.x, normalXY.y, math::sqrt(math::saturate(1.0 - math::dot(normalXY, normalXY)))); +} + +// Different implementation specific between mdl and hlsl for smoothstep +export float smoothstep(float a, float b, float l) +{ + if (a < b) + { + return math::smoothstep(a, b, l); + } + else if (a > b) + { + return 1.0 - math::smoothstep(b, a, l); + } + else + { + return l <= a ? 0.0 : 1.0; + } +} + +export float2 smoothstep(float2 a, float2 b, float2 l) +{ + return float2(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y)); +} + +export float3 smoothstep(float3 a, float3 b, float3 l) +{ + return float3(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z)); +} + +export float4 smoothstep(float4 a, float4 b, float4 l) +{ + return float4(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z), smoothstep(a.w, b.w, l.w)); +} + +export float2 smoothstep(float2 a, float2 b, float l) +{ + return float2(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l)); +} + +export float3 smoothstep(float3 a, float3 b, float l) +{ + return float3(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l)); +} + +export float4 smoothstep(float4 a, float4 b, float l) +{ + return float4(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l), smoothstep(a.w, b.w, l)); +} + +//------------------ Random from UE4 ----------------------- +float length2(float3 v) +{ + return math::dot(v, v); +} + +float3 GetPerlinNoiseGradientTextureAt(uniform texture_2d PerlinNoiseGradientTexture, float3 v) +{ + const float2 ZShear = float2(17.0f, 89.0f); + + float2 OffsetA = v.z * ZShear; + float2 TexA = (float2(v.x, v.y) + OffsetA + 0.5f) / 128.0f; + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA.x,1.0-TexA.y),tex::wrap_repeat,tex::wrap_repeat); + return float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z) * 2.0 - 1.0; +} + +float3 SkewSimplex(float3 In) +{ + return In + math::dot(In, float3(1.0 / 3.0f) ); +} +float3 UnSkewSimplex(float3 In) +{ + return In - math::dot(In, float3(1.0 / 6.0f) ); +} + +// 3D random number generator inspired by PCGs (permuted congruential generator) +// Using a **simple** Feistel cipher in place of the usual xor shift permutation step +// @param v = 3D integer coordinate +// @return three elements w/ 16 random bits each (0-0xffff). +// ~8 ALU operations for result.x (7 mad, 1 >>) +// ~10 ALU operations for result.xy (8 mad, 2 >>) +// ~12 ALU operations for result.xyz (9 mad, 3 >>) + +//TODO: uint3 +int3 Rand3DPCG16(int3 p) +{ + // taking a signed int then reinterpreting as unsigned gives good behavior for negatives + //TODO: uint3 + int3 v = int3(p); + + // Linear congruential step. These LCG constants are from Numerical Recipies + // For additional #'s, PCG would do multiple LCG steps and scramble each on output + // So v here is the RNG state + v = v * 1664525 + 1013904223; + + // PCG uses xorshift for the final shuffle, but it is expensive (and cheap + // versions of xorshift have visible artifacts). Instead, use simple MAD Feistel steps + // + // Feistel ciphers divide the state into separate parts (usually by bits) + // then apply a series of permutation steps one part at a time. The permutations + // use a reversible operation (usually ^) to part being updated with the result of + // a permutation function on the other parts and the key. + // + // In this case, I'm using v.x, v.y and v.z as the parts, using + instead of ^ for + // the combination function, and just multiplying the other two parts (no key) for + // the permutation function. + // + // That gives a simple mad per round. + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + + // only top 16 bits are well shuffled + return v >> 16; +} + +// Wraps noise for tiling texture creation +// @param v = unwrapped texture parameter +// @param bTiling = true to tile, false to not tile +// @param RepeatSize = number of units before repeating +// @return either original or wrapped coord +float3 NoiseTileWrap(float3 v, bool bTiling, float RepeatSize) +{ + return bTiling ? (math::frac(v / RepeatSize) * RepeatSize) : v; +} + +// Evaluate polynomial to get smooth transitions for Perlin noise +// only needed by Perlin functions in this file +// scalar(per component): 2 add, 5 mul +float4 PerlinRamp(float4 t) +{ + return t * t * t * (t * (t * 6 - 15) + 10); +} + +// Blum-Blum-Shub-inspired pseudo random number generator +// http://www.umbc.edu/~olano/papers/mNoise.pdf +// real BBS uses ((s*s) mod M) with bignums and M as the product of two huge Blum primes +// instead, we use a single prime M just small enough not to overflow +// note that the above paper used 61, which fits in a half, but is unusably bad +// @param Integer valued floating point seed +// @return random number in range [0,1) +// ~8 ALU operations (5 *, 3 frac) +float RandBBSfloat(float seed) +{ + float BBS_PRIME24 = 4093.0; + float s = math::frac(seed / BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + return s; +} + +// Modified noise gradient term +// @param seed - random seed for integer lattice position +// @param offset - [-1,1] offset of evaluation point from lattice point +// @return gradient direction (xyz) and contribution (w) from this lattice point +float4 MGradient(int seed, float3 offset) +{ + //TODO uint + int rand = Rand3DPCG16(int3(seed,0,0)).x; + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1.0 / 0x4000, 1.0 / 0x2000, 1.0 / 0x1000); + float3 direction = float3(int3(rand, rand, rand) & MGradientMask) * MGradientScale - 1; + return float4(direction.x, direction.y, direction.z, math::dot(direction, offset)); +} + +// compute Perlin and related noise corner seed values +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = true to return seed values for a repeating noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @param seed000-seed111 = hash function seeds for the eight corners +// @return fractional part of v +struct SeedValue +{ + float3 fv = float3(0); + float seed000 = 0; + float seed001 = 0; + float seed010 = 0; + float seed011 = 0; + float seed100 = 0; + float seed101 = 0; + float seed110 = 0; + float seed111 = 0; +}; + +SeedValue NoiseSeeds(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds; + seeds.fv = math::frac(v); + float3 iv = math::floor(v); + + const float3 primes = float3(19, 47, 101); + + if (bTiling) + { // can't algebraically combine with primes + seeds.seed000 = math::dot(primes, NoiseTileWrap(iv, true, RepeatSize)); + seeds.seed100 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 0), true, RepeatSize)); + seeds.seed010 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 0), true, RepeatSize)); + seeds.seed110 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 0), true, RepeatSize)); + seeds.seed001 = math::dot(primes, NoiseTileWrap(iv + float3(0, 0, 1), true, RepeatSize)); + seeds.seed101 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 1), true, RepeatSize)); + seeds.seed011 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 1), true, RepeatSize)); + seeds.seed111 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 1), true, RepeatSize)); + } + else + { // get to combine offsets with multiplication by primes in this case + seeds.seed000 = math::dot(iv, primes); + seeds.seed100 = seeds.seed000 + primes.x; + seeds.seed010 = seeds.seed000 + primes.y; + seeds.seed110 = seeds.seed100 + primes.y; + seeds.seed001 = seeds.seed000 + primes.z; + seeds.seed101 = seeds.seed100 + primes.z; + seeds.seed011 = seeds.seed010 + primes.z; + seeds.seed111 = seeds.seed110 + primes.z; + } + + return seeds; +} + +struct SimplexWeights +{ + float4 Result = float4(0); + float3 PosA = float3(0); + float3 PosB = float3(0); + float3 PosC = float3(0); + float3 PosD = float3(0); +}; + +// Computed weights and sample positions for simplex interpolation +// @return float4(a,b,c, d) Barycentric coordinate defined as Filtered = Tex(PosA) * a + Tex(PosB) * b + Tex(PosC) * c + Tex(PosD) * d +SimplexWeights ComputeSimplexWeights3D(float3 OrthogonalPos) +{ + SimplexWeights weights; + float3 OrthogonalPosFloor = math::floor(OrthogonalPos); + + weights.PosA = OrthogonalPosFloor; + weights.PosB = weights.PosA + float3(1, 1, 1); + + OrthogonalPos -= OrthogonalPosFloor; + + float Largest = math::max(OrthogonalPos.x, math::max(OrthogonalPos.y, OrthogonalPos.z)); + float Smallest = math::min(OrthogonalPos.x, math::min(OrthogonalPos.y, OrthogonalPos.z)); + + weights.PosC = weights.PosA + float3(Largest == OrthogonalPos.x, Largest == OrthogonalPos.y, Largest == OrthogonalPos.z); + weights.PosD = weights.PosA + float3(Smallest != OrthogonalPos.x, Smallest != OrthogonalPos.y, Smallest != OrthogonalPos.z); + + float RG = OrthogonalPos.x - OrthogonalPos.y; + float RB = OrthogonalPos.x - OrthogonalPos.z; + float GB = OrthogonalPos.y - OrthogonalPos.z; + + weights.Result.z = + math::min(math::max(0, RG), math::max(0, RB)) // X + + math::min(math::max(0, -RG), math::max(0, GB)) // Y + + math::min(math::max(0, -RB), math::max(0, -GB)); // Z + + weights.Result.w = + math::min(math::max(0, -RG), math::max(0, -RB)) // X + + math::min(math::max(0, RG), math::max(0, -GB)) // Y + + math::min(math::max(0, RB), math::max(0, GB)); // Z + + weights.Result.y = Smallest; + weights.Result.x = 1.0f - weights.Result.y - weights.Result.z - weights.Result.w; + + return weights; +} + +// filtered 3D gradient simple noise (few texture lookups, high quality) +// @param v >0 +// @return random number in the range -1 .. 1 +float SimplexNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 EvalPos) +{ + float3 OrthogonalPos = SkewSimplex(EvalPos); + + SimplexWeights Weights = ComputeSimplexWeights3D(OrthogonalPos); + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 32 bit) + float3 A = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosA); + float3 B = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosB); + float3 C = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosC); + float3 D = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosD); + + Weights.PosA = UnSkewSimplex(Weights.PosA); + Weights.PosB = UnSkewSimplex(Weights.PosB); + Weights.PosC = UnSkewSimplex(Weights.PosC); + Weights.PosD = UnSkewSimplex(Weights.PosD); + + float DistanceWeight; + + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosA)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float a = math::dot(A, EvalPos - Weights.PosA) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosB)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float b = math::dot(B, EvalPos - Weights.PosB) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosC)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float c = math::dot(C, EvalPos - Weights.PosC) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosD)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float d = math::dot(D, EvalPos - Weights.PosD) * DistanceWeight; + + return 32 * (a + b + c + d); +} + +// filtered 3D noise, can be optimized +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 v, bool bTiling, float RepeatSize) +{ + bTiling = true; + float3 fv = math::frac(v); + float3 iv0 = NoiseTileWrap(math::floor(v), bTiling, RepeatSize); + float3 iv1 = NoiseTileWrap(iv0 + 1, bTiling, RepeatSize); + + const int2 ZShear = int2(17, 89); + + float2 OffsetA = iv0.z * ZShear; + float2 OffsetB = OffsetA + ZShear; // non-tiling, use relative offset + if (bTiling) // tiling, have to compute from wrapped coordinates + { + OffsetB = iv1.z * ZShear; + } + + // Texture size scale factor + float ts = 1 / 128.0f; + + // texture coordinates for iv0.xy, as offset for both z slices + float2 TexA0 = (float2(iv0.x, iv0.y) + OffsetA + 0.5f) * ts; + float2 TexB0 = (float2(iv0.x, iv0.y) + OffsetB + 0.5f) * ts; + + // texture coordinates for iv1.xy, as offset for both z slices + float2 TexA1 = TexA0 + ts; // for non-tiling, can compute relative to existing coordinates + float2 TexB1 = TexB0 + ts; + if (bTiling) // for tiling, need to compute from wrapped coordinates + { + TexA1 = (float2(iv1.x, iv1.y) + OffsetA + 0.5f) * ts; + TexB1 = (float2(iv1.x, iv1.y) + OffsetB + 0.5f) * ts; + } + + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 8, 16 or 32 bit) + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + float3 PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 A = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 B = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 C = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 D = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 E = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 F = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 G = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 H = PerlinNoiseColor * 2 - 1; + + float a = math::dot(A, fv - float3(0, 0, 0)); + float b = math::dot(B, fv - float3(1, 0, 0)); + float c = math::dot(C, fv - float3(0, 1, 0)); + float d = math::dot(D, fv - float3(1, 1, 0)); + float e = math::dot(E, fv - float3(0, 0, 1)); + float f = math::dot(F, fv - float3(1, 0, 1)); + float g = math::dot(G, fv - float3(0, 1, 1)); + float h = math::dot(H, fv - float3(1, 1, 1)); + + float4 Weights = PerlinRamp(math::frac(float4(fv.x, fv.y, fv.z, 0))); + + float i = math::lerp(math::lerp(a, b, Weights.x), math::lerp(c, d, Weights.x), Weights.y); + float j = math::lerp(math::lerp(e, f, Weights.x), math::lerp(g, h, Weights.x), Weights.y); + + return math::lerp(i, j, Weights.z); +} + +// @return random number in the range -1 .. 1 +// scalar: 6 frac, 31 mul/mad, 15 add, +float FastGradientPerlinNoise3D_TEX(uniform texture_3d PerlinNoise3DTexture, float3 xyz) +{ + // needs to be the same value when creating the PerlinNoise3D texture + float Extent = 16; + + // last texel replicated and needed for filtering + // scalar: 3 frac, 6 mul + xyz = math::frac(xyz / (Extent - 1)) * (Extent - 1); + + // scalar: 3 frac + float3 uvw = math::frac(xyz); + // = floor(xyz); + // scalar: 3 add + float3 p0 = xyz - uvw; +// float3 f = math::pow(uvw, 2) * 3.0f - math::pow(uvw, 3) * 2.0f; // original perlin hermite (ok when used without bump mapping) + // scalar: 2*3 add 5*3 mul + float4 pr = PerlinRamp(float4(uvw.x, uvw.y, uvw.z, 0)); + float3 f = float3(pr.x, pr.y, pr.z); // new, better with continues second derivative for bump mapping + // scalar: 3 add + float3 p = p0 + f; + // scalar: 3 mad + // TODO: need reverse??? + float4 NoiseSample = tex::lookup_float4(PerlinNoise3DTexture, p / Extent + 0.5f / Extent); // +0.5f to get rid of bilinear offset + + // reconstruct from 8bit (using mad with 2 constants and dot4 was same instruction count) + // scalar: 4 mad, 3 mul, 3 add + float3 n = float3(NoiseSample.x, NoiseSample.y, NoiseSample.z) * 255.0f / 127.0f - 1.0f; + float d = NoiseSample.w * 255.f - 127; + return math::dot(xyz, n) - d; +} + +// Perlin-style "Modified Noise" +// http://www.umbc.edu/~olano/papers/index.html#mNoise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = MGradient(int(seeds.seed000), seeds.fv - float3(0, 0, 0)).w; + float rand100 = MGradient(int(seeds.seed100), seeds.fv - float3(1, 0, 0)).w; + float rand010 = MGradient(int(seeds.seed010), seeds.fv - float3(0, 1, 0)).w; + float rand110 = MGradient(int(seeds.seed110), seeds.fv - float3(1, 1, 0)).w; + float rand001 = MGradient(int(seeds.seed001), seeds.fv - float3(0, 0, 1)).w; + float rand101 = MGradient(int(seeds.seed101), seeds.fv - float3(1, 0, 1)).w; + float rand011 = MGradient(int(seeds.seed011), seeds.fv - float3(0, 1, 1)).w; + float rand111 = MGradient(int(seeds.seed111), seeds.fv - float3(1, 1, 1)).w; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D value noise - used to be incorrectly called Perlin noise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float ValueNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = RandBBSfloat(seeds.seed000) * 2 - 1; + float rand100 = RandBBSfloat(seeds.seed100) * 2 - 1; + float rand010 = RandBBSfloat(seeds.seed010) * 2 - 1; + float rand110 = RandBBSfloat(seeds.seed110) * 2 - 1; + float rand001 = RandBBSfloat(seeds.seed001) * 2 - 1; + float rand101 = RandBBSfloat(seeds.seed101) * 2 - 1; + float rand011 = RandBBSfloat(seeds.seed011) * 2 - 1; + float rand111 = RandBBSfloat(seeds.seed111) * 2 - 1; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D jitter offset within a voronoi noise cell +// @param pos - integer lattice corner +// @return random offsets vector +float3 VoronoiCornerSample(float3 pos, int Quality) +{ + // random values in [-0.5, 0.5] + float3 noise = float3(Rand3DPCG16(int3(pos))) / 0xffff - 0.5; + + // quality level 1 or 2: searches a 2x2x2 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 2x2x2 search + if (Quality <= 2) + { + return math::normalize(noise) * 0.2588; + } + + // quality level 3: searches a 3x3x3 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 3x3x3 search + if (Quality == 3) + { + return math::normalize(noise) * 0.3090; + } + + // quality level 4: jitter to anywhere in the cell, needs 4x4x4 search + return noise; +} + +// compare previous best with a new candidate +// not producing point locations makes it easier for compiler to eliminate calculations when they're not needed +// @param minval = location and distance of best candidate seed point before the new one +// @param candidate = candidate seed point +// @param offset = 3D offset to new candidate seed point +// @param bDistanceOnly = if true, only set maxval.w with distance, otherwise maxval.w is distance and maxval.xyz is position +// @return position (if bDistanceOnly is false) and distance to closest seed point so far +float4 VoronoiCompare(float4 minval, float3 candidate, float3 offset, bool bDistanceOnly) +{ + if (bDistanceOnly) + { + return float4(0, 0, 0, math::min(minval.w, math::dot(offset, offset))); + } + else + { + float newdist = math::dot(offset, offset); + return newdist > minval.w ? minval : float4(candidate.x, candidate.y, candidate.z, newdist); + } +} + +// 220 instruction Worley noise +float4 VoronoiNoise3D_ALU(float3 v, int Quality, bool bTiling, float RepeatSize, bool bDistanceOnly) +{ + float3 fv = math::frac(v), fv2 = math::frac(v + 0.5); + float3 iv = math::floor(v), iv2 = math::floor(v + 0.5); + + // with initial minimum distance = infinity (or at least bigger than 4), first min is optimized away + float4 mindist = float4(0,0,0,100); + float3 p, offset; + + // quality level 3: do a 3x3x3 search + if (Quality == 3) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 1; ++offset_x) + { + for (offset_y = -1; offset_y <= 1; ++offset_y) + { + for (offset_z = -1; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + + // everybody else searches a base 2x2x2 neighborhood + else + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = 0; offset_x <= 1; ++offset_x) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // quality level 2, do extra set of points, offset by half a cell + if (Quality == 2) + { + // 467 is just an offset to a different area in the random number field to avoid similar neighbor artifacts + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize) + 467, Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + } + + // quality level 4: add extra sets of four cells in each direction + if (Quality >= 4) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 2; offset_x += 3) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + // along x axis + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along y axis + p = float3(offset.y, offset.z, offset.x) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.y, offset.z, offset.x), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along z axis + p = float3(offset.z, offset.x, offset.y) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.z, offset.x, offset.y), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + } + } + } + } + + // transform squared distance to real distance + return float4(mindist.x, mindist.y, mindist.z, math::sqrt(mindist.w)); +} + +// Coordinates for corners of a Simplex tetrahedron +// Based on McEwan et al., Efficient computation of noise in GLSL, JGT 2011 +// @param v = 3D noise argument +// @return 4 corner locations +float4x3 SimplexCorners(float3 v) +{ + // find base corner by skewing to tetrahedral space and back + float3 tet = math::floor(v + v.x/3 + v.y/3 + v.z/3); + float3 base = tet - tet.x/6 - tet.y/6 - tet.z/6; + float3 f = v - base; + + // Find offsets to other corners (McEwan did this in tetrahedral space, + // but since skew is along x=y=z axis, this works in Euclidean space too.) + float3 g = math::step(float3(f.y,f.z,f.x), float3(f.x,f.y,f.z)), h = 1 - float3(g.z, g.x, g.y); + float3 a1 = math::min(g, h) - 1.0 / 6.0, a2 = math::max(g, h) - 1.0 / 3.0; + + // four corners + return float4x3(base, base + a1, base + a2, base + 0.5); +} + +// Improved smoothing function for simplex noise +// @param f = fractional distance to four tetrahedral corners +// @return weight for each corner +float4 SimplexSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + return (1 * scale + s*(-3 * scale + s*(3 * scale - s*scale))); +} + +// Derivative of simplex noise smoothing function +// @param f = fractional distanc eto four tetrahedral corners +// @return derivative of smoothing function for each corner by x, y and z +float3x4 SimplexDSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + s = -12 * scale + s*(24 * scale - s * 12 * scale); + + return float3x4( + s * float4(f[0][0], f[1][0], f[2][0], f[3][0]), + s * float4(f[0][1], f[1][1], f[2][1], f[3][1]), + s * float4(f[0][2], f[1][2], f[2][2], f[3][2])); +} + +// Simplex noise and its Jacobian derivative +// @param v = 3D noise argument +// @param bTiling = whether to repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension, must be a multiple of 3 +// @return float3x3 Jacobian in J[*].xyz, vector noise in J[*].w +// J[0].w, J[1].w, J[2].w is a Perlin-style simplex noise with vector output, e.g. (Nx, Ny, Nz) +// J[i].x is X derivative of the i'th component of the noise so J[2].x is dNz/dx +// You can use this to compute the noise, gradient, curl, or divergence: +// float3x4 J = JacobianSimplex_ALU(...); +// float3 VNoise = float3(J[0].w, J[1].w, J[2].w); // 3D noise +// float3 Grad = J[0].xyz; // gradient of J[0].w +// float3 Curl = float3(J[1][2]-J[2][1], J[2][0]-J[0][2], J[0][1]-J[1][2]); +// float Div = J[0][0]+J[1][1]+J[2][2]; +// All of these are confirmed to compile out all unneeded terms. +// So Grad of X doesn't compute Y or Z components, and VNoise doesn't do any of the derivative computation. +float3x4 JacobianSimplex_ALU(float3 v, bool bTiling, float RepeatSize) +{ + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1. / 0x4000, 1. / 0x2000, 1. / 0x1000); + + // corners of tetrahedron + float4x3 T = SimplexCorners(v); + // TODO: uint3 + int3 rand = int3(0); + float4x3 gvec0 = float4x3(1.0); + float4x3 gvec1 = float4x3(1.0); + float4x3 gvec2 = float4x3(1.0); + float4x3 fv = float4x3(1.0); + float3x4 grad = float3x4(1.0); + + // processing of tetrahedral vertices, unrolled + // to compute gradient at each corner + fv[0] = v - T[0]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[0] + 0.5, bTiling, RepeatSize)))); + gvec0[0] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[0] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[0] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][0] = math::dot(gvec0[0], fv[0]); + grad[1][0] = math::dot(gvec1[0], fv[0]); + grad[2][0] = math::dot(gvec2[0], fv[0]); + + fv[1] = v - T[1]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[1] + 0.5, bTiling, RepeatSize)))); + gvec0[1] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][1] = math::dot(gvec0[1], fv[1]); + grad[1][1] = math::dot(gvec1[1], fv[1]); + grad[2][1] = math::dot(gvec2[1], fv[1]); + + fv[2] = v - T[2]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[2] + 0.5, bTiling, RepeatSize)))); + gvec0[2] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[2] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[2] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][2] = math::dot(gvec0[2], fv[2]); + grad[1][2] = math::dot(gvec1[2], fv[2]); + grad[2][2] = math::dot(gvec2[2], fv[2]); + + fv[3] = v - T[3]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[3] + 0.5, bTiling, RepeatSize)))); + gvec0[3] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[3] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[3] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][3] = math::dot(gvec0[3], fv[3]); + grad[1][3] = math::dot(gvec1[3], fv[3]); + grad[2][3] = math::dot(gvec2[3], fv[3]); + + // blend gradients + float4 sv = SimplexSmooth(fv); + float3x4 ds = SimplexDSmooth(fv); + + float3x4 jacobian = float3x4(1.0); + float3 vec0 = gvec0*sv + grad[0]*ds; // NOTE: mdl is column major, convert from UE4 (row major) + jacobian[0] = float4(vec0.x, vec0.y, vec0.z, math::dot(sv, grad[0])); + float3 vec1 = gvec1*sv + grad[1]*ds; + jacobian[1] = float4(vec1.x, vec1.y, vec1.z, math::dot(sv, grad[1])); + float3 vec2 = gvec2*sv + grad[2]*ds; + jacobian[2] = float4(vec2.x, vec2.y, vec2.z, math::dot(sv, grad[2])); + + return jacobian; +} + +// While RepeatSize is a float here, the expectation is that it would be largely integer values coming in from the UI. The downstream logic assumes +// floats for all called functions (NoiseTileWrap) and this prevents any float-to-int conversion errors from automatic type conversion. +float Noise3D_Multiplexer(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, int Function, float3 Position, int Quality, bool bTiling, float RepeatSize) +{ + // verified, HLSL compiled out the switch if Function is a constant + switch(Function) + { + case 0: + return SimplexNoise3D_TEX(PerlinNoiseGradientTexture, Position); + case 1: + return GradientNoise3D_TEX(PerlinNoiseGradientTexture, Position, bTiling, RepeatSize); + case 2: + return FastGradientPerlinNoise3D_TEX(PerlinNoise3DTexture, Position); + case 3: + return GradientNoise3D_ALU(Position, bTiling, RepeatSize); + case 4: + return ValueNoise3D_ALU(Position, bTiling, RepeatSize); + case 5: + return VoronoiNoise3D_ALU(Position, Quality, bTiling, RepeatSize, true).w * 2.0 - 1.0; + } + return 0; +} +//---------------------------------------------------------- + +export float noise(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, float3 Position, float Scale, float Quality, float Function, float Turbulence, float Levels, float OutputMin, float OutputMax, float LevelScale, float FilterWidth, float Tiling, float RepeatSize) +[[ + anno::description("Noise"), + anno::noinline() +]] +{ + Position *= Scale; + FilterWidth *= Scale; + + float Out = 0.0f; + float OutScale = 1.0f; + float InvLevelScale = 1.0f / LevelScale; + + int iFunction(Function); + int iQuality(Quality); + int iLevels(Levels); + bool bTurbulence(Turbulence); + bool bTiling(Tiling); + + for(int i = 0; i < iLevels; ++i) + { + // fade out noise level that are too high frequent (not done through dynamic branching as it usually requires gradient instructions) + OutScale *= math::saturate(1.0 - FilterWidth); + + if(bTurbulence) + { + Out += math::abs(Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize)) * OutScale; + } + else + { + Out += Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize) * OutScale; + } + + Position *= LevelScale; + RepeatSize *= LevelScale; + OutScale *= InvLevelScale; + FilterWidth *= LevelScale; + } + + if(!bTurbulence) + { + // bring -1..1 to 0..1 range + Out = Out * 0.5f + 0.5f; + } + + // Out is in 0..1 range + return math::lerp(OutputMin, OutputMax, Out); +} + +// Material node for noise functions returning a vector value +// @param LevelScale usually 2 but higher values allow efficient use of few levels +// @return in user defined range (OutputMin..OutputMax) +export float4 vector4_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise"), + anno::noinline() +]] +{ + float4 result = float4(0,0,0,1); + float3 ret = float3(0); + int iQuality = int(Quality); + int iFunction = int(Function); + bool bTiling = Tiling > 0.0; + + float3x4 Jacobian = JacobianSimplex_ALU(Position, bTiling, TileSize); // compiled out if not used + + // verified, HLSL compiled out the switch if Function is a constant + switch (iFunction) + { + case 0: // Cellnoise + ret = float3(Rand3DPCG16(int3(math::floor(NoiseTileWrap(Position, bTiling, TileSize))))) / 0xffff; + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 1: // Color noise + ret = float3(Jacobian[0].w, Jacobian[1].w, Jacobian[2].w); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 2: // Gradient + result = Jacobian[0]; + break; + case 3: // Curl + ret = float3(Jacobian[2][1] - Jacobian[1][2], Jacobian[0][2] - Jacobian[2][0], Jacobian[1][0] - Jacobian[0][1]); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 4: // Voronoi + result = VoronoiNoise3D_ALU(Position, iQuality, bTiling, TileSize, false); + break; + } + return result; +} + +export float3 vector3_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise float3 version"), + anno::noinline() +]] +{ + float4 noise = vector4_noise(Position, Quality, Function, Tiling, TileSize); + return float3(noise.x, noise.y, noise.z); +} + + +// workaround for ue4 fresnel (without supporting for camera vector) : replacing it with 0.0, means facing to the view +export float fresnel(float exponent [[anno::unused()]], float base_reflect_fraction [[anno::unused()]], float3 normal [[anno::unused()]]) +[[ + anno::description("Fresnel"), + anno::noinline() +]] +{ + return 0.0; +} + +export float fresnel_function(float3 normal_vector [[anno::unused()]], float3 camera_vector [[anno::unused()]], + bool invert_fresnel [[anno::unused()]], float power [[anno::unused()]], + bool use_cheap_contrast [[anno::unused()]], float cheap_contrast_dark [[anno::unused()]], float cheap_contrast_bright [[anno::unused()]], + bool clamp_fresnel_dot_product [[anno::unused()]]) +[[ + anno::description("Fresnel Function"), + anno::noinline() +]] +{ + return 0.0; +} + +export float3 camera_vector() +[[ + anno::description("Camera Vector"), + anno::noinline() +]] +{ + // assume camera postion is 0,0,0 + return math::normalize(float3(0) - state::transform_point(state::coordinate_internal,state::coordinate_world,state::position())); +} + +export float pixel_depth() +[[ + anno::description("Pixel Depth"), + anno::noinline() +]] +{ + return 256.0f; +} + +export float scene_depth() +[[ + anno::description("Scene Depth") +]] +{ + return 65500.0f; +} + +export float3 scene_color() +[[ + anno::description("Scene Color") +]] +{ + return float3(1.0f); +} + +export float4 vertex_color() +[[ + anno::description("Vertex Color"), + anno::noinline() +]] +{ + return float4(1.0f); +} + +export float4 vertex_color_from_coordinate(int VertexColorCoordinateIndex) +[[ + anno::description("Vertex Color for float2 PrimVar"), + anno::noinline() +]] +{ + // Kit only supports 4 uv sets, 2 uvs are available to vertex color. if vertex color index is invalid, output the constant WHITE color intead + return (VertexColorCoordinateIndex > 2) ? float4(1.0f) : float4(state::texture_coordinate(VertexColorCoordinateIndex).x, state::texture_coordinate(VertexColorCoordinateIndex).y, state::texture_coordinate(VertexColorCoordinateIndex+1).x, state::texture_coordinate(VertexColorCoordinateIndex+1).y); +} + +export float3 camera_position() +[[ + anno::description("Camera Position"), + anno::noinline() +]] +{ + return float3(1000.0f, 0, 0); +} + +export float3 rotate_about_axis(float4 NormalizedRotationAxisAndAngle, float3 PositionOnAxis, float3 Position) +[[ + anno::description("Rotates Position about the given axis by the given angle") +]] +{ + // Project Position onto the rotation axis and find the closest point on the axis to Position + float3 NormalizedRotationAxis = float3(NormalizedRotationAxisAndAngle.x,NormalizedRotationAxisAndAngle.y,NormalizedRotationAxisAndAngle.z); + float3 ClosestPointOnAxis = PositionOnAxis + NormalizedRotationAxis * math::dot(NormalizedRotationAxis, Position - PositionOnAxis); + // Construct orthogonal axes in the plane of the rotation + float3 UAxis = Position - ClosestPointOnAxis; + float3 VAxis = math::cross(NormalizedRotationAxis, UAxis); + float[2] SinCosAngle = math::sincos(NormalizedRotationAxisAndAngle.w); + // Rotate using the orthogonal axes + float3 R = UAxis * SinCosAngle[1] + VAxis * SinCosAngle[0]; + // Reconstruct the rotated world space position + float3 RotatedPosition = ClosestPointOnAxis + R; + // Convert from position to a position offset + return RotatedPosition - Position; +} + +export float2 rotate_scale_offset_texcoords(float2 InTexCoords, float4 InRotationScale, float2 InOffset) +[[ + anno::description("Returns a float2 texture coordinate after 2x2 transform and offset applied") +]] +{ + return float2(math::dot(InTexCoords, float2(InRotationScale.x, InRotationScale.y)), math::dot(InTexCoords, float2(InRotationScale.z, InRotationScale.w))) + InOffset; +} + +export float3 reflection_custom_world_normal(float3 WorldNormal, bool bNormalizeInputNormal) +[[ + anno::description("Reflection vector about the specified world space normal") +]] +{ + if (bNormalizeInputNormal) + { + WorldNormal = math::normalize(WorldNormal); + } + + return -camera_vector() + WorldNormal * math::dot(WorldNormal, camera_vector()) * 2.0; +} + +export float3 reflection_vector() +[[ + anno::description("Reflection Vector"), + anno::noinline() +]] +{ + float3 normal = state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); + return reflection_custom_world_normal(normal, false); +} + +export float dither_temporalAA(float AlphaThreshold = 0.5f, float Random = 1.0f [[anno::unused()]]) +[[ + anno::description("Dither TemporalAA"), + anno::noinline() +]] +{ + return AlphaThreshold; +} + diff --git a/objects/small_warehouse/SubUSDs/materials/OmniUe4Function_1.mdl b/objects/small_warehouse/SubUSDs/materials/OmniUe4Function_1.mdl new file mode 100644 index 0000000000000000000000000000000000000000..dd9f564d26a9915db37e4eea65b0a56709a2af98 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/OmniUe4Function_1.mdl @@ -0,0 +1,1163 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.1 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + + +export float3x3 matrix_inverse(float3x3 matrix) +[[ + anno::description("Inverse the 3x3 matrix"), + anno::noinline() +]] +{ + float determinant = (matrix[0][0] * matrix[1][1] * matrix[2][2] + matrix[1][0] * matrix[2][1] * matrix[0][2] + matrix[2][0] * matrix[0][1] * matrix[1][2]) - (matrix[0][2] * matrix[1][1] * matrix[2][0] + matrix[1][2] * matrix[2][1] * matrix[0][0] + matrix[2][2] * matrix[0][1] * matrix[1][0]); + float rdet = 1.0f / determinant; + + float3x3 result; + + result[0][0] = rdet * (matrix[1][1] * matrix[2][2] - matrix[1][2] * matrix[2][1]); + result[0][1] = -rdet * (matrix[0][1] * matrix[2][2] - matrix[0][2] * matrix[2][1]); + result[0][2] = rdet * (matrix[0][1] * matrix[1][2] - matrix[0][2] * matrix[1][1]); + + result[1][0] = -rdet * (matrix[1][0] * matrix[2][2] - matrix[1][2] * matrix[2][0]); + result[1][1] = rdet * (matrix[0][0] * matrix[2][2] - matrix[0][2] * matrix[2][0]); + result[1][2] = -rdet * (matrix[0][0] * matrix[1][2] - matrix[0][2] * matrix[1][0]); + + result[2][0] = rdet * (matrix[1][0] * matrix[2][1] - matrix[1][1] * matrix[2][0]); + result[2][1] = -rdet * (matrix[0][0] * matrix[2][1] - matrix[0][1] * matrix[2][0]); + result[2][2] = rdet * (matrix[0][0] * matrix[1][1] - matrix[0][1] * matrix[1][0]); + + return result; +} + +export float3 transform_vector_from_tangent_to_world(float3 vector) +[[ + anno::description("Transform vector from tangent space to world space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + return tangent_to_world * vector; +} + +export float3 transform_vector_from_world_to_tangent(float3 vector) +[[ + anno::description("Transform vector from world space to tangent space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + + // inverse tangent to world matrix + float3x3 world_to_tangent = matrix_inverse(tangent_to_world); + + return world_to_tangent * vector; +} + +export float4 unpack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Unpack a normal stored in a normal map"), + anno::noinline() +]] +{ + float2 normal_xy = float2(texture_sample.x, texture_sample.y); + + normal_xy = normal_xy * float2(2.0,2.0) - float2(1.0,1.0); + float normal_z = math::sqrt( math::saturate( 1.0 - math::dot( normal_xy, normal_xy ) ) ); + return float4( normal_xy.x, normal_xy.y, normal_z, 1.0 ); +} + +// for get color value from normal. +export float4 pack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Pack to color from a normal") +]] +{ + float2 return_xy = float2(texture_sample.x, texture_sample.y); + + return_xy = (return_xy + float2(1.0,1.0)) / float2(2.0,2.0); + + return float4( return_xy.x, return_xy.y, 0.0, 1.0 ); +} + +export float4 greyscale_texture_lookup( + float4 texture_sample = float4(0.0, 0.0, 0.0, 1.0) + ) +[[ + anno::description("Sampling a greyscale texture"), + anno::noinline() +]] +{ + return float4(texture_sample.x, texture_sample.x, texture_sample.x, texture_sample.x); +} + +export float3 pixel_normal_world_space() +[[ + anno::description("Pixel normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 vertex_normal_world_space() +[[ + anno::description("Vertex normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 landscape_normal_world_space() +[[ + anno::description("Landscape normal in world space") +]] +{ + float3 normalFromNormalmap = math::floor((::vertex_normal_world_space() * 0.5 + 0.5) * 255.0) / 255.0 * 2.0 - 1.0; + + float2 normalXY = float2(normalFromNormalmap.x, normalFromNormalmap.y); + return float3(normalXY.x, normalXY.y, math::sqrt(math::saturate(1.0 - math::dot(normalXY, normalXY)))); +} + +// Different implementation specific between mdl and hlsl for smoothstep +export float smoothstep(float a, float b, float l) +{ + if (a < b) + { + return math::smoothstep(a, b, l); + } + else if (a > b) + { + return 1.0 - math::smoothstep(b, a, l); + } + else + { + return l <= a ? 0.0 : 1.0; + } +} + +export float2 smoothstep(float2 a, float2 b, float2 l) +{ + return float2(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y)); +} + +export float3 smoothstep(float3 a, float3 b, float3 l) +{ + return float3(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z)); +} + +export float4 smoothstep(float4 a, float4 b, float4 l) +{ + return float4(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z), smoothstep(a.w, b.w, l.w)); +} + +export float2 smoothstep(float2 a, float2 b, float l) +{ + return float2(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l)); +} + +export float3 smoothstep(float3 a, float3 b, float l) +{ + return float3(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l)); +} + +export float4 smoothstep(float4 a, float4 b, float l) +{ + return float4(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l), smoothstep(a.w, b.w, l)); +} + +//------------------ Random from UE4 ----------------------- +float length2(float3 v) +{ + return math::dot(v, v); +} + +float3 GetPerlinNoiseGradientTextureAt(uniform texture_2d PerlinNoiseGradientTexture, float3 v) +{ + const float2 ZShear = float2(17.0f, 89.0f); + + float2 OffsetA = v.z * ZShear; + float2 TexA = (float2(v.x, v.y) + OffsetA + 0.5f) / 128.0f; + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA.x,1.0-TexA.y),tex::wrap_repeat,tex::wrap_repeat); + return float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z) * 2.0 - 1.0; +} + +float3 SkewSimplex(float3 In) +{ + return In + math::dot(In, float3(1.0 / 3.0f) ); +} +float3 UnSkewSimplex(float3 In) +{ + return In - math::dot(In, float3(1.0 / 6.0f) ); +} + +// 3D random number generator inspired by PCGs (permuted congruential generator) +// Using a **simple** Feistel cipher in place of the usual xor shift permutation step +// @param v = 3D integer coordinate +// @return three elements w/ 16 random bits each (0-0xffff). +// ~8 ALU operations for result.x (7 mad, 1 >>) +// ~10 ALU operations for result.xy (8 mad, 2 >>) +// ~12 ALU operations for result.xyz (9 mad, 3 >>) + +//TODO: uint3 +int3 Rand3DPCG16(int3 p) +{ + // taking a signed int then reinterpreting as unsigned gives good behavior for negatives + //TODO: uint3 + int3 v = int3(p); + + // Linear congruential step. These LCG constants are from Numerical Recipies + // For additional #'s, PCG would do multiple LCG steps and scramble each on output + // So v here is the RNG state + v = v * 1664525 + 1013904223; + + // PCG uses xorshift for the final shuffle, but it is expensive (and cheap + // versions of xorshift have visible artifacts). Instead, use simple MAD Feistel steps + // + // Feistel ciphers divide the state into separate parts (usually by bits) + // then apply a series of permutation steps one part at a time. The permutations + // use a reversible operation (usually ^) to part being updated with the result of + // a permutation function on the other parts and the key. + // + // In this case, I'm using v.x, v.y and v.z as the parts, using + instead of ^ for + // the combination function, and just multiplying the other two parts (no key) for + // the permutation function. + // + // That gives a simple mad per round. + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + + // only top 16 bits are well shuffled + return v >> 16; +} + +// Wraps noise for tiling texture creation +// @param v = unwrapped texture parameter +// @param bTiling = true to tile, false to not tile +// @param RepeatSize = number of units before repeating +// @return either original or wrapped coord +float3 NoiseTileWrap(float3 v, bool bTiling, float RepeatSize) +{ + return bTiling ? (math::frac(v / RepeatSize) * RepeatSize) : v; +} + +// Evaluate polynomial to get smooth transitions for Perlin noise +// only needed by Perlin functions in this file +// scalar(per component): 2 add, 5 mul +float4 PerlinRamp(float4 t) +{ + return t * t * t * (t * (t * 6 - 15) + 10); +} + +// Blum-Blum-Shub-inspired pseudo random number generator +// http://www.umbc.edu/~olano/papers/mNoise.pdf +// real BBS uses ((s*s) mod M) with bignums and M as the product of two huge Blum primes +// instead, we use a single prime M just small enough not to overflow +// note that the above paper used 61, which fits in a half, but is unusably bad +// @param Integer valued floating point seed +// @return random number in range [0,1) +// ~8 ALU operations (5 *, 3 frac) +float RandBBSfloat(float seed) +{ + float BBS_PRIME24 = 4093.0; + float s = math::frac(seed / BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + return s; +} + +// Modified noise gradient term +// @param seed - random seed for integer lattice position +// @param offset - [-1,1] offset of evaluation point from lattice point +// @return gradient direction (xyz) and contribution (w) from this lattice point +float4 MGradient(int seed, float3 offset) +{ + //TODO uint + int rand = Rand3DPCG16(int3(seed,0,0)).x; + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1.0 / 0x4000, 1.0 / 0x2000, 1.0 / 0x1000); + float3 direction = float3(int3(rand, rand, rand) & MGradientMask) * MGradientScale - 1; + return float4(direction.x, direction.y, direction.z, math::dot(direction, offset)); +} + +// compute Perlin and related noise corner seed values +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = true to return seed values for a repeating noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @param seed000-seed111 = hash function seeds for the eight corners +// @return fractional part of v +struct SeedValue +{ + float3 fv = float3(0); + float seed000 = 0; + float seed001 = 0; + float seed010 = 0; + float seed011 = 0; + float seed100 = 0; + float seed101 = 0; + float seed110 = 0; + float seed111 = 0; +}; + +SeedValue NoiseSeeds(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds; + seeds.fv = math::frac(v); + float3 iv = math::floor(v); + + const float3 primes = float3(19, 47, 101); + + if (bTiling) + { // can't algebraically combine with primes + seeds.seed000 = math::dot(primes, NoiseTileWrap(iv, true, RepeatSize)); + seeds.seed100 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 0), true, RepeatSize)); + seeds.seed010 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 0), true, RepeatSize)); + seeds.seed110 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 0), true, RepeatSize)); + seeds.seed001 = math::dot(primes, NoiseTileWrap(iv + float3(0, 0, 1), true, RepeatSize)); + seeds.seed101 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 1), true, RepeatSize)); + seeds.seed011 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 1), true, RepeatSize)); + seeds.seed111 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 1), true, RepeatSize)); + } + else + { // get to combine offsets with multiplication by primes in this case + seeds.seed000 = math::dot(iv, primes); + seeds.seed100 = seeds.seed000 + primes.x; + seeds.seed010 = seeds.seed000 + primes.y; + seeds.seed110 = seeds.seed100 + primes.y; + seeds.seed001 = seeds.seed000 + primes.z; + seeds.seed101 = seeds.seed100 + primes.z; + seeds.seed011 = seeds.seed010 + primes.z; + seeds.seed111 = seeds.seed110 + primes.z; + } + + return seeds; +} + +struct SimplexWeights +{ + float4 Result = float4(0); + float3 PosA = float3(0); + float3 PosB = float3(0); + float3 PosC = float3(0); + float3 PosD = float3(0); +}; + +// Computed weights and sample positions for simplex interpolation +// @return float4(a,b,c, d) Barycentric coordinate defined as Filtered = Tex(PosA) * a + Tex(PosB) * b + Tex(PosC) * c + Tex(PosD) * d +SimplexWeights ComputeSimplexWeights3D(float3 OrthogonalPos) +{ + SimplexWeights weights; + float3 OrthogonalPosFloor = math::floor(OrthogonalPos); + + weights.PosA = OrthogonalPosFloor; + weights.PosB = weights.PosA + float3(1, 1, 1); + + OrthogonalPos -= OrthogonalPosFloor; + + float Largest = math::max(OrthogonalPos.x, math::max(OrthogonalPos.y, OrthogonalPos.z)); + float Smallest = math::min(OrthogonalPos.x, math::min(OrthogonalPos.y, OrthogonalPos.z)); + + weights.PosC = weights.PosA + float3(Largest == OrthogonalPos.x, Largest == OrthogonalPos.y, Largest == OrthogonalPos.z); + weights.PosD = weights.PosA + float3(Smallest != OrthogonalPos.x, Smallest != OrthogonalPos.y, Smallest != OrthogonalPos.z); + + float RG = OrthogonalPos.x - OrthogonalPos.y; + float RB = OrthogonalPos.x - OrthogonalPos.z; + float GB = OrthogonalPos.y - OrthogonalPos.z; + + weights.Result.z = + math::min(math::max(0, RG), math::max(0, RB)) // X + + math::min(math::max(0, -RG), math::max(0, GB)) // Y + + math::min(math::max(0, -RB), math::max(0, -GB)); // Z + + weights.Result.w = + math::min(math::max(0, -RG), math::max(0, -RB)) // X + + math::min(math::max(0, RG), math::max(0, -GB)) // Y + + math::min(math::max(0, RB), math::max(0, GB)); // Z + + weights.Result.y = Smallest; + weights.Result.x = 1.0f - weights.Result.y - weights.Result.z - weights.Result.w; + + return weights; +} + +// filtered 3D gradient simple noise (few texture lookups, high quality) +// @param v >0 +// @return random number in the range -1 .. 1 +float SimplexNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 EvalPos) +{ + float3 OrthogonalPos = SkewSimplex(EvalPos); + + SimplexWeights Weights = ComputeSimplexWeights3D(OrthogonalPos); + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 32 bit) + float3 A = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosA); + float3 B = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosB); + float3 C = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosC); + float3 D = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosD); + + Weights.PosA = UnSkewSimplex(Weights.PosA); + Weights.PosB = UnSkewSimplex(Weights.PosB); + Weights.PosC = UnSkewSimplex(Weights.PosC); + Weights.PosD = UnSkewSimplex(Weights.PosD); + + float DistanceWeight; + + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosA)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float a = math::dot(A, EvalPos - Weights.PosA) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosB)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float b = math::dot(B, EvalPos - Weights.PosB) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosC)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float c = math::dot(C, EvalPos - Weights.PosC) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosD)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float d = math::dot(D, EvalPos - Weights.PosD) * DistanceWeight; + + return 32 * (a + b + c + d); +} + +// filtered 3D noise, can be optimized +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 v, bool bTiling, float RepeatSize) +{ + bTiling = true; + float3 fv = math::frac(v); + float3 iv0 = NoiseTileWrap(math::floor(v), bTiling, RepeatSize); + float3 iv1 = NoiseTileWrap(iv0 + 1, bTiling, RepeatSize); + + const int2 ZShear = int2(17, 89); + + float2 OffsetA = iv0.z * ZShear; + float2 OffsetB = OffsetA + ZShear; // non-tiling, use relative offset + if (bTiling) // tiling, have to compute from wrapped coordinates + { + OffsetB = iv1.z * ZShear; + } + + // Texture size scale factor + float ts = 1 / 128.0f; + + // texture coordinates for iv0.xy, as offset for both z slices + float2 TexA0 = (float2(iv0.x, iv0.y) + OffsetA + 0.5f) * ts; + float2 TexB0 = (float2(iv0.x, iv0.y) + OffsetB + 0.5f) * ts; + + // texture coordinates for iv1.xy, as offset for both z slices + float2 TexA1 = TexA0 + ts; // for non-tiling, can compute relative to existing coordinates + float2 TexB1 = TexB0 + ts; + if (bTiling) // for tiling, need to compute from wrapped coordinates + { + TexA1 = (float2(iv1.x, iv1.y) + OffsetA + 0.5f) * ts; + TexB1 = (float2(iv1.x, iv1.y) + OffsetB + 0.5f) * ts; + } + + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 8, 16 or 32 bit) + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + float3 PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 A = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 B = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 C = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 D = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 E = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 F = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 G = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 H = PerlinNoiseColor * 2 - 1; + + float a = math::dot(A, fv - float3(0, 0, 0)); + float b = math::dot(B, fv - float3(1, 0, 0)); + float c = math::dot(C, fv - float3(0, 1, 0)); + float d = math::dot(D, fv - float3(1, 1, 0)); + float e = math::dot(E, fv - float3(0, 0, 1)); + float f = math::dot(F, fv - float3(1, 0, 1)); + float g = math::dot(G, fv - float3(0, 1, 1)); + float h = math::dot(H, fv - float3(1, 1, 1)); + + float4 Weights = PerlinRamp(math::frac(float4(fv.x, fv.y, fv.z, 0))); + + float i = math::lerp(math::lerp(a, b, Weights.x), math::lerp(c, d, Weights.x), Weights.y); + float j = math::lerp(math::lerp(e, f, Weights.x), math::lerp(g, h, Weights.x), Weights.y); + + return math::lerp(i, j, Weights.z); +} + +// @return random number in the range -1 .. 1 +// scalar: 6 frac, 31 mul/mad, 15 add, +float FastGradientPerlinNoise3D_TEX(uniform texture_3d PerlinNoise3DTexture, float3 xyz) +{ + // needs to be the same value when creating the PerlinNoise3D texture + float Extent = 16; + + // last texel replicated and needed for filtering + // scalar: 3 frac, 6 mul + xyz = math::frac(xyz / (Extent - 1)) * (Extent - 1); + + // scalar: 3 frac + float3 uvw = math::frac(xyz); + // = floor(xyz); + // scalar: 3 add + float3 p0 = xyz - uvw; +// float3 f = math::pow(uvw, 2) * 3.0f - math::pow(uvw, 3) * 2.0f; // original perlin hermite (ok when used without bump mapping) + // scalar: 2*3 add 5*3 mul + float4 pr = PerlinRamp(float4(uvw.x, uvw.y, uvw.z, 0)); + float3 f = float3(pr.x, pr.y, pr.z); // new, better with continues second derivative for bump mapping + // scalar: 3 add + float3 p = p0 + f; + // scalar: 3 mad + // TODO: need reverse??? + float4 NoiseSample = tex::lookup_float4(PerlinNoise3DTexture, p / Extent + 0.5f / Extent); // +0.5f to get rid of bilinear offset + + // reconstruct from 8bit (using mad with 2 constants and dot4 was same instruction count) + // scalar: 4 mad, 3 mul, 3 add + float3 n = float3(NoiseSample.x, NoiseSample.y, NoiseSample.z) * 255.0f / 127.0f - 1.0f; + float d = NoiseSample.w * 255.f - 127; + return math::dot(xyz, n) - d; +} + +// Perlin-style "Modified Noise" +// http://www.umbc.edu/~olano/papers/index.html#mNoise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = MGradient(int(seeds.seed000), seeds.fv - float3(0, 0, 0)).w; + float rand100 = MGradient(int(seeds.seed100), seeds.fv - float3(1, 0, 0)).w; + float rand010 = MGradient(int(seeds.seed010), seeds.fv - float3(0, 1, 0)).w; + float rand110 = MGradient(int(seeds.seed110), seeds.fv - float3(1, 1, 0)).w; + float rand001 = MGradient(int(seeds.seed001), seeds.fv - float3(0, 0, 1)).w; + float rand101 = MGradient(int(seeds.seed101), seeds.fv - float3(1, 0, 1)).w; + float rand011 = MGradient(int(seeds.seed011), seeds.fv - float3(0, 1, 1)).w; + float rand111 = MGradient(int(seeds.seed111), seeds.fv - float3(1, 1, 1)).w; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D value noise - used to be incorrectly called Perlin noise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float ValueNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = RandBBSfloat(seeds.seed000) * 2 - 1; + float rand100 = RandBBSfloat(seeds.seed100) * 2 - 1; + float rand010 = RandBBSfloat(seeds.seed010) * 2 - 1; + float rand110 = RandBBSfloat(seeds.seed110) * 2 - 1; + float rand001 = RandBBSfloat(seeds.seed001) * 2 - 1; + float rand101 = RandBBSfloat(seeds.seed101) * 2 - 1; + float rand011 = RandBBSfloat(seeds.seed011) * 2 - 1; + float rand111 = RandBBSfloat(seeds.seed111) * 2 - 1; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D jitter offset within a voronoi noise cell +// @param pos - integer lattice corner +// @return random offsets vector +float3 VoronoiCornerSample(float3 pos, int Quality) +{ + // random values in [-0.5, 0.5] + float3 noise = float3(Rand3DPCG16(int3(pos))) / 0xffff - 0.5; + + // quality level 1 or 2: searches a 2x2x2 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 2x2x2 search + if (Quality <= 2) + { + return math::normalize(noise) * 0.2588; + } + + // quality level 3: searches a 3x3x3 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 3x3x3 search + if (Quality == 3) + { + return math::normalize(noise) * 0.3090; + } + + // quality level 4: jitter to anywhere in the cell, needs 4x4x4 search + return noise; +} + +// compare previous best with a new candidate +// not producing point locations makes it easier for compiler to eliminate calculations when they're not needed +// @param minval = location and distance of best candidate seed point before the new one +// @param candidate = candidate seed point +// @param offset = 3D offset to new candidate seed point +// @param bDistanceOnly = if true, only set maxval.w with distance, otherwise maxval.w is distance and maxval.xyz is position +// @return position (if bDistanceOnly is false) and distance to closest seed point so far +float4 VoronoiCompare(float4 minval, float3 candidate, float3 offset, bool bDistanceOnly) +{ + if (bDistanceOnly) + { + return float4(0, 0, 0, math::min(minval.w, math::dot(offset, offset))); + } + else + { + float newdist = math::dot(offset, offset); + return newdist > minval.w ? minval : float4(candidate.x, candidate.y, candidate.z, newdist); + } +} + +// 220 instruction Worley noise +float4 VoronoiNoise3D_ALU(float3 v, int Quality, bool bTiling, float RepeatSize, bool bDistanceOnly) +{ + float3 fv = math::frac(v), fv2 = math::frac(v + 0.5); + float3 iv = math::floor(v), iv2 = math::floor(v + 0.5); + + // with initial minimum distance = infinity (or at least bigger than 4), first min is optimized away + float4 mindist = float4(0,0,0,100); + float3 p, offset; + + // quality level 3: do a 3x3x3 search + if (Quality == 3) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 1; ++offset_x) + { + for (offset_y = -1; offset_y <= 1; ++offset_y) + { + for (offset_z = -1; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + + // everybody else searches a base 2x2x2 neighborhood + else + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = 0; offset_x <= 1; ++offset_x) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // quality level 2, do extra set of points, offset by half a cell + if (Quality == 2) + { + // 467 is just an offset to a different area in the random number field to avoid similar neighbor artifacts + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize) + 467, Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + } + + // quality level 4: add extra sets of four cells in each direction + if (Quality >= 4) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 2; offset_x += 3) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + // along x axis + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along y axis + p = float3(offset.y, offset.z, offset.x) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.y, offset.z, offset.x), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along z axis + p = float3(offset.z, offset.x, offset.y) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.z, offset.x, offset.y), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + } + } + } + } + + // transform squared distance to real distance + return float4(mindist.x, mindist.y, mindist.z, math::sqrt(mindist.w)); +} + +// Coordinates for corners of a Simplex tetrahedron +// Based on McEwan et al., Efficient computation of noise in GLSL, JGT 2011 +// @param v = 3D noise argument +// @return 4 corner locations +float4x3 SimplexCorners(float3 v) +{ + // find base corner by skewing to tetrahedral space and back + float3 tet = math::floor(v + v.x/3 + v.y/3 + v.z/3); + float3 base = tet - tet.x/6 - tet.y/6 - tet.z/6; + float3 f = v - base; + + // Find offsets to other corners (McEwan did this in tetrahedral space, + // but since skew is along x=y=z axis, this works in Euclidean space too.) + float3 g = math::step(float3(f.y,f.z,f.x), float3(f.x,f.y,f.z)), h = 1 - float3(g.z, g.x, g.y); + float3 a1 = math::min(g, h) - 1.0 / 6.0, a2 = math::max(g, h) - 1.0 / 3.0; + + // four corners + return float4x3(base, base + a1, base + a2, base + 0.5); +} + +// Improved smoothing function for simplex noise +// @param f = fractional distance to four tetrahedral corners +// @return weight for each corner +float4 SimplexSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + return (1 * scale + s*(-3 * scale + s*(3 * scale - s*scale))); +} + +// Derivative of simplex noise smoothing function +// @param f = fractional distanc eto four tetrahedral corners +// @return derivative of smoothing function for each corner by x, y and z +float3x4 SimplexDSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + s = -12 * scale + s*(24 * scale - s * 12 * scale); + + return float3x4( + s * float4(f[0][0], f[1][0], f[2][0], f[3][0]), + s * float4(f[0][1], f[1][1], f[2][1], f[3][1]), + s * float4(f[0][2], f[1][2], f[2][2], f[3][2])); +} + +// Simplex noise and its Jacobian derivative +// @param v = 3D noise argument +// @param bTiling = whether to repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension, must be a multiple of 3 +// @return float3x3 Jacobian in J[*].xyz, vector noise in J[*].w +// J[0].w, J[1].w, J[2].w is a Perlin-style simplex noise with vector output, e.g. (Nx, Ny, Nz) +// J[i].x is X derivative of the i'th component of the noise so J[2].x is dNz/dx +// You can use this to compute the noise, gradient, curl, or divergence: +// float3x4 J = JacobianSimplex_ALU(...); +// float3 VNoise = float3(J[0].w, J[1].w, J[2].w); // 3D noise +// float3 Grad = J[0].xyz; // gradient of J[0].w +// float3 Curl = float3(J[1][2]-J[2][1], J[2][0]-J[0][2], J[0][1]-J[1][2]); +// float Div = J[0][0]+J[1][1]+J[2][2]; +// All of these are confirmed to compile out all unneeded terms. +// So Grad of X doesn't compute Y or Z components, and VNoise doesn't do any of the derivative computation. +float3x4 JacobianSimplex_ALU(float3 v, bool bTiling, float RepeatSize) +{ + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1. / 0x4000, 1. / 0x2000, 1. / 0x1000); + + // corners of tetrahedron + float4x3 T = SimplexCorners(v); + // TODO: uint3 + int3 rand = int3(0); + float4x3 gvec0 = float4x3(1.0); + float4x3 gvec1 = float4x3(1.0); + float4x3 gvec2 = float4x3(1.0); + float4x3 fv = float4x3(1.0); + float3x4 grad = float3x4(1.0); + + // processing of tetrahedral vertices, unrolled + // to compute gradient at each corner + fv[0] = v - T[0]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[0] + 0.5, bTiling, RepeatSize)))); + gvec0[0] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[0] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[0] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][0] = math::dot(gvec0[0], fv[0]); + grad[1][0] = math::dot(gvec1[0], fv[0]); + grad[2][0] = math::dot(gvec2[0], fv[0]); + + fv[1] = v - T[1]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[1] + 0.5, bTiling, RepeatSize)))); + gvec0[1] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][1] = math::dot(gvec0[1], fv[1]); + grad[1][1] = math::dot(gvec1[1], fv[1]); + grad[2][1] = math::dot(gvec2[1], fv[1]); + + fv[2] = v - T[2]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[2] + 0.5, bTiling, RepeatSize)))); + gvec0[2] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[2] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[2] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][2] = math::dot(gvec0[2], fv[2]); + grad[1][2] = math::dot(gvec1[2], fv[2]); + grad[2][2] = math::dot(gvec2[2], fv[2]); + + fv[3] = v - T[3]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[3] + 0.5, bTiling, RepeatSize)))); + gvec0[3] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[3] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[3] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][3] = math::dot(gvec0[3], fv[3]); + grad[1][3] = math::dot(gvec1[3], fv[3]); + grad[2][3] = math::dot(gvec2[3], fv[3]); + + // blend gradients + float4 sv = SimplexSmooth(fv); + float3x4 ds = SimplexDSmooth(fv); + + float3x4 jacobian = float3x4(1.0); + float3 vec0 = gvec0*sv + grad[0]*ds; // NOTE: mdl is column major, convert from UE4 (row major) + jacobian[0] = float4(vec0.x, vec0.y, vec0.z, math::dot(sv, grad[0])); + float3 vec1 = gvec1*sv + grad[1]*ds; + jacobian[1] = float4(vec1.x, vec1.y, vec1.z, math::dot(sv, grad[1])); + float3 vec2 = gvec2*sv + grad[2]*ds; + jacobian[2] = float4(vec2.x, vec2.y, vec2.z, math::dot(sv, grad[2])); + + return jacobian; +} + +// While RepeatSize is a float here, the expectation is that it would be largely integer values coming in from the UI. The downstream logic assumes +// floats for all called functions (NoiseTileWrap) and this prevents any float-to-int conversion errors from automatic type conversion. +float Noise3D_Multiplexer(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, int Function, float3 Position, int Quality, bool bTiling, float RepeatSize) +{ + // verified, HLSL compiled out the switch if Function is a constant + switch(Function) + { + case 0: + return SimplexNoise3D_TEX(PerlinNoiseGradientTexture, Position); + case 1: + return GradientNoise3D_TEX(PerlinNoiseGradientTexture, Position, bTiling, RepeatSize); + case 2: + return FastGradientPerlinNoise3D_TEX(PerlinNoise3DTexture, Position); + case 3: + return GradientNoise3D_ALU(Position, bTiling, RepeatSize); + case 4: + return ValueNoise3D_ALU(Position, bTiling, RepeatSize); + case 5: + return VoronoiNoise3D_ALU(Position, Quality, bTiling, RepeatSize, true).w * 2.0 - 1.0; + } + return 0; +} +//---------------------------------------------------------- + +export float noise(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, float3 Position, float Scale, float Quality, float Function, float Turbulence, float Levels, float OutputMin, float OutputMax, float LevelScale, float FilterWidth, float Tiling, float RepeatSize) +[[ + anno::description("Noise"), + anno::noinline() +]] +{ + Position *= Scale; + FilterWidth *= Scale; + + float Out = 0.0f; + float OutScale = 1.0f; + float InvLevelScale = 1.0f / LevelScale; + + int iFunction(Function); + int iQuality(Quality); + int iLevels(Levels); + bool bTurbulence(Turbulence); + bool bTiling(Tiling); + + for(int i = 0; i < iLevels; ++i) + { + // fade out noise level that are too high frequent (not done through dynamic branching as it usually requires gradient instructions) + OutScale *= math::saturate(1.0 - FilterWidth); + + if(bTurbulence) + { + Out += math::abs(Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize)) * OutScale; + } + else + { + Out += Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize) * OutScale; + } + + Position *= LevelScale; + RepeatSize *= LevelScale; + OutScale *= InvLevelScale; + FilterWidth *= LevelScale; + } + + if(!bTurbulence) + { + // bring -1..1 to 0..1 range + Out = Out * 0.5f + 0.5f; + } + + // Out is in 0..1 range + return math::lerp(OutputMin, OutputMax, Out); +} + +// Material node for noise functions returning a vector value +// @param LevelScale usually 2 but higher values allow efficient use of few levels +// @return in user defined range (OutputMin..OutputMax) +export float4 vector4_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise"), + anno::noinline() +]] +{ + float4 result = float4(0,0,0,1); + float3 ret = float3(0); + int iQuality = int(Quality); + int iFunction = int(Function); + bool bTiling = Tiling > 0.0; + + float3x4 Jacobian = JacobianSimplex_ALU(Position, bTiling, TileSize); // compiled out if not used + + // verified, HLSL compiled out the switch if Function is a constant + switch (iFunction) + { + case 0: // Cellnoise + ret = float3(Rand3DPCG16(int3(math::floor(NoiseTileWrap(Position, bTiling, TileSize))))) / 0xffff; + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 1: // Color noise + ret = float3(Jacobian[0].w, Jacobian[1].w, Jacobian[2].w); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 2: // Gradient + result = Jacobian[0]; + break; + case 3: // Curl + ret = float3(Jacobian[2][1] - Jacobian[1][2], Jacobian[0][2] - Jacobian[2][0], Jacobian[1][0] - Jacobian[0][1]); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 4: // Voronoi + result = VoronoiNoise3D_ALU(Position, iQuality, bTiling, TileSize, false); + break; + } + return result; +} + +export float3 vector3_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise float3 version"), + anno::noinline() +]] +{ + float4 noise = vector4_noise(Position, Quality, Function, Tiling, TileSize); + return float3(noise.x, noise.y, noise.z); +} + + +// workaround for ue4 fresnel (without supporting for camera vector) : replacing it with 0.0, means facing to the view +export float fresnel(float exponent [[anno::unused()]], float base_reflect_fraction [[anno::unused()]], float3 normal [[anno::unused()]]) +[[ + anno::description("Fresnel"), + anno::noinline() +]] +{ + return 0.0; +} + +export float fresnel_function(float3 normal_vector [[anno::unused()]], float3 camera_vector [[anno::unused()]], + bool invert_fresnel [[anno::unused()]], float power [[anno::unused()]], + bool use_cheap_contrast [[anno::unused()]], float cheap_contrast_dark [[anno::unused()]], float cheap_contrast_bright [[anno::unused()]], + bool clamp_fresnel_dot_product [[anno::unused()]]) +[[ + anno::description("Fresnel Function"), + anno::noinline() +]] +{ + return 0.0; +} + +export float3 camera_vector() +[[ + anno::description("Camera Vector"), + anno::noinline() +]] +{ + // assume camera postion is 0,0,0 + return math::normalize(float3(0) - state::transform_point(state::coordinate_internal,state::coordinate_world,state::position())); +} + +export float pixel_depth() +[[ + anno::description("Pixel Depth"), + anno::noinline() +]] +{ + return 256.0f; +} + +export float scene_depth() +[[ + anno::description("Scene Depth") +]] +{ + return 65500.0f; +} + +export float3 scene_color() +[[ + anno::description("Scene Color") +]] +{ + return float3(1.0f); +} + +export float4 vertex_color() +[[ + anno::description("Vertex Color"), + anno::noinline() +]] +{ + return float4(1.0f); +} + +export float4 vertex_color_from_coordinate(int VertexColorCoordinateIndex) +[[ + anno::description("Vertex Color for float2 PrimVar"), + anno::noinline() +]] +{ + // Kit only supports 4 uv sets, 2 uvs are available to vertex color. if vertex color index is invalid, output the constant WHITE color intead + return (VertexColorCoordinateIndex > 2) ? float4(1.0f) : float4(state::texture_coordinate(VertexColorCoordinateIndex).x, state::texture_coordinate(VertexColorCoordinateIndex).y, state::texture_coordinate(VertexColorCoordinateIndex+1).x, state::texture_coordinate(VertexColorCoordinateIndex+1).y); +} + +export float3 camera_position() +[[ + anno::description("Camera Position"), + anno::noinline() +]] +{ + return float3(1000.0f, 0, 0); +} + +export float3 rotate_about_axis(float4 NormalizedRotationAxisAndAngle, float3 PositionOnAxis, float3 Position) +[[ + anno::description("Rotates Position about the given axis by the given angle") +]] +{ + // Project Position onto the rotation axis and find the closest point on the axis to Position + float3 NormalizedRotationAxis = float3(NormalizedRotationAxisAndAngle.x,NormalizedRotationAxisAndAngle.y,NormalizedRotationAxisAndAngle.z); + float3 ClosestPointOnAxis = PositionOnAxis + NormalizedRotationAxis * math::dot(NormalizedRotationAxis, Position - PositionOnAxis); + // Construct orthogonal axes in the plane of the rotation + float3 UAxis = Position - ClosestPointOnAxis; + float3 VAxis = math::cross(NormalizedRotationAxis, UAxis); + float[2] SinCosAngle = math::sincos(NormalizedRotationAxisAndAngle.w); + // Rotate using the orthogonal axes + float3 R = UAxis * SinCosAngle[1] + VAxis * SinCosAngle[0]; + // Reconstruct the rotated world space position + float3 RotatedPosition = ClosestPointOnAxis + R; + // Convert from position to a position offset + return RotatedPosition - Position; +} + +export float2 rotate_scale_offset_texcoords(float2 InTexCoords, float4 InRotationScale, float2 InOffset) +[[ + anno::description("Returns a float2 texture coordinate after 2x2 transform and offset applied") +]] +{ + return float2(math::dot(InTexCoords, float2(InRotationScale.x, InRotationScale.y)), math::dot(InTexCoords, float2(InRotationScale.z, InRotationScale.w))) + InOffset; +} + +export float3 reflection_custom_world_normal(float3 WorldNormal, bool bNormalizeInputNormal) +[[ + anno::description("Reflection vector about the specified world space normal") +]] +{ + if (bNormalizeInputNormal) + { + WorldNormal = math::normalize(WorldNormal); + } + + return -camera_vector() + WorldNormal * math::dot(WorldNormal, camera_vector()) * 2.0; +} + +export float3 reflection_vector() +[[ + anno::description("Reflection Vector"), + anno::noinline() +]] +{ + float3 normal = state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); + return reflection_custom_world_normal(normal, false); +} + +export float dither_temporalAA(float AlphaThreshold = 0.5f, float Random = 1.0f [[anno::unused()]]) +[[ + anno::description("Dither TemporalAA"), + anno::noinline() +]] +{ + return AlphaThreshold; +} + diff --git a/objects/small_warehouse/SubUSDs/materials/Paint_Gloss.mdl b/objects/small_warehouse/SubUSDs/materials/Paint_Gloss.mdl new file mode 100644 index 0000000000000000000000000000000000000000..db10d326261ace1c4b75fd85750ec7dacc579c8d --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Paint_Gloss.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Paint_Gloss(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_BaseColor.png" /* tag 2107, version 608438266 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_ORM.png" /* tag 2109, version 4089275038 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_N.png" /* tag 2111, version 2879886466 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/Paint_Satin.mdl b/objects/small_warehouse/SubUSDs/materials/Paint_Satin.mdl new file mode 100644 index 0000000000000000000000000000000000000000..acea771e33f0d944783a2b5d2cb2e16c8af66d4f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Paint_Satin.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Paint_Satin(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Paint_Satin_Finish_BaseColor.png" /* tag 2101, version 1315023839 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Paint_Satin_Finish_ORM.png" /* tag 2103, version 621268788 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Paint_Satin_Finish_N.png" /* tag 2105, version 368198679 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/Plastic.mdl b/objects/small_warehouse/SubUSDs/materials/Plastic.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3699fa62fe9613b15de07edbd26fcc9b4ad3b5f0 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Plastic.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plastic(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d(), //"./Plastic/Plastic_BaseColor.png", ::tex::gamma_srgb + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), //0.15f, 0.15f, 0.15f + reflection_roughness_constant: 0.45, + reflection_roughness_texture_influence: 0.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d(), //"./Plastic/Plastic_ORM.png", ::tex::gamma_linear + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.0, 0.0, 0.0), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.0, + bump_factor: 0.5f, + normalmap_texture: texture_2d(), //"./Plastic/Plastic_Normal.png", ::tex::gamma_linear + detail_bump_factor: 1.f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/materials/Plastic_Acrylic.mdl b/objects/small_warehouse/SubUSDs/materials/Plastic_Acrylic.mdl new file mode 100644 index 0000000000000000000000000000000000000000..33bd1f592cc894346d3ba08a8ededbb320dd4e8e --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Plastic_Acrylic.mdl @@ -0,0 +1,21 @@ +mdl 1.3; + +import ::OmniGlass::OmniGlass; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plastic_Acrylic(*) + = OmniGlass::OmniGlass( + absorption_coeff: color(1.f, 1.f, 1.f), + glass_color: color(1.f, 1.f, 1.f), + use_glass_color_texture: false, + glass_color_texture: texture_2d(), + frosting_roughness: 0.f, + glass_ior: 1.5f, + thin_walled: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f)); \ No newline at end of file diff --git a/objects/small_warehouse/SubUSDs/materials/Plywood.mdl b/objects/small_warehouse/SubUSDs/materials/Plywood.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3e0fb88092dcca07b34c461cbfeaa506a69f5d31 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/materials/Plywood.mdl @@ -0,0 +1,54 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::anno::author; +import ::anno::description; +import ::anno::display_name; +import ::anno::key_words; +import ::anno::version; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plywood(*) +[[ + ::anno::display_name("Omni PBR "), + ::anno::description("Omni PBR, supports ORM textures"), + ::anno::version(1, 0, 0, ""), + ::anno::author("NVIDIA CORPORATION"), + ::anno::key_words(string[]("omni", "PBR", "omniverse", "generic")) +]] + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Plywood/Plywood_BaseColor.png" /* tag 2772, version 742391292 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Plywood/Plywood_ORM.png" /* tag 2774, version 1568096850 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Plywood/Plywood_N.png" /* tag 2776, version 950067097 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse/SubUSDs/textures/12.png b/objects/small_warehouse/SubUSDs/textures/12.png new file mode 100644 index 0000000000000000000000000000000000000000..be50e5e44f40123304fb728abed85a81f63cc4e7 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/12.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345a75cd7746e04e915ae3423407ad649e35576ea4d306483d36206442366ba7 +size 20107 diff --git a/objects/small_warehouse/SubUSDs/textures/14.png b/objects/small_warehouse/SubUSDs/textures/14.png new file mode 100644 index 0000000000000000000000000000000000000000..ae7e2fa8fd4454194e36073a3b150a78167bdc01 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/14.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8e2498d1b976bfe793a254d816462354ecdd2c496e6e8633ad213ae2e77ce27 +size 19767 diff --git a/objects/small_warehouse/SubUSDs/textures/15.png b/objects/small_warehouse/SubUSDs/textures/15.png new file mode 100644 index 0000000000000000000000000000000000000000..6b42a2a0d8b381fadc6d3ff6a6b0e3c9e500f3df --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/15.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98ec7df300ba337905d045cfb9aa2b0ea40d308275672c776f120fcf5f3468af +size 18585 diff --git a/objects/small_warehouse/SubUSDs/textures/16.png b/objects/small_warehouse/SubUSDs/textures/16.png new file mode 100644 index 0000000000000000000000000000000000000000..739e0afbeb6d375b9d113376d5aa9af78b035bac --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b456f0c04b92f35f66d20a3521220bc389d986693b12fc26f1df3059a703c231 +size 18943 diff --git a/objects/small_warehouse/SubUSDs/textures/18.png b/objects/small_warehouse/SubUSDs/textures/18.png new file mode 100644 index 0000000000000000000000000000000000000000..59c5c27b899df59c1b2734fe9e347d970e9e732d --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/18.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:faa43224001b853cda58422df7a75d31924585e862aed3b0d3082525bd1dc981 +size 18831 diff --git a/objects/small_warehouse/SubUSDs/textures/19.png b/objects/small_warehouse/SubUSDs/textures/19.png new file mode 100644 index 0000000000000000000000000000000000000000..b265093843c6bb6fba81593d50336590c2faef64 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/19.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa54fccb250102d6df66cfe9b5304dc92576c02500fc34af7da2a68a21381a83 +size 19056 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..c00f298ce88eb8d6110af2e167b0a00f676dba20 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1d042502d7d94bca13cee10c63ab5b3801fb0a46e26d79169e13f5b9c7b5a31 +size 16903 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_Normal.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..5df7bc7dfc36971b8fa5314b1a98337d2adb46e5 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6dc1cb1b23a9abd766188a85ccbad1a2639d0a9a334f284e359c6c5d4438608e +size 3321558 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_ORM.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..8e7015d41934f1e97892a5ce339e6ab32b629552 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Anodized_Black/Aluminum_Anodized_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:768f2dbb4f702a9624b912b431efd1a6a8e0ff3e93744cf54f3866ef8f7986e9 +size 637843 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..c00f298ce88eb8d6110af2e167b0a00f676dba20 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1d042502d7d94bca13cee10c63ab5b3801fb0a46e26d79169e13f5b9c7b5a31 +size 16903 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_Normal.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..0516db787ca177fd1bc81c586118c682051c2e38 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8221595d4a575d1e95f059288ce11f1bd0bc7c107ad77bbe482ae7c717816c65 +size 2272406 diff --git a/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_ORM.png b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..fe1845f40dfa5c2c8cb3cfbd54e10f4669d7fe30 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Aluminum_Polished/Aluminum_Polished_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27a1ffae09aca47be92ea6d9df39d365c58fb7e4d6a28ed3d14563a696b5dad4 +size 643206 diff --git a/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..abf713c5be19f10319d143ce55a67be6a28d575f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c66d9bdaf8c7de0dd60721796841fb1697a5cf813c72610836f9beab9308453 +size 242037 diff --git a/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Normal.png b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..81314579d3501d72c3d50244aba3779f18ec026f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aaa8b43c5431d80e6e6900e0df3f6e8532dd518cd12587cae386b7df25be0aff +size 4952385 diff --git a/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_ORM.png b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..630f39315300310ffdeb92eda81ab6ba37da762a --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7560df5292164c9d8cec02e55499def1bc24216218d8b40f186229d72db4ba37 +size 3436463 diff --git a/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Opacity.png b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Opacity.png new file mode 100644 index 0000000000000000000000000000000000000000..b9886897489b3c95c40427ef3b3b629de90589bc --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Chain_Link_Fence/Chain_Link_Fence_Opacity.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdcbb0dd9ccfd6de0ba080136e15a440920748ac6089d563472d132741a3efb7 +size 124086 diff --git a/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..ba56de944d4bbcbd6dd5b4bef558001564c01498 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6a171a49c11a248453b7d86fbb44af6753a8a2fd7766ed71d1ae7d23a426e73 +size 5152717 diff --git a/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_Normal.png b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..28b823ee010b4f717ced86e860333002a109eed2 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2f673264ecd2332ad84e77f81888e8c7829fe45e37071adf1cf5691b26ecd9f +size 2837149 diff --git a/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_ORM.png b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..6de8092c850ca0a54a2bdb8f95fdb34d57a2204c --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Concrete_Polished_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9320323d668687d69f7cd0a86bf19c08d34855e2964b48f3a1d84db570f0884c +size 1457078 diff --git a/objects/small_warehouse/SubUSDs/textures/FlatWhite.png b/objects/small_warehouse/SubUSDs/textures/FlatWhite.png new file mode 100644 index 0000000000000000000000000000000000000000..e40456f944993fdd866d72434c2a7236e48fe05e --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/FlatWhite.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:584ef7b779afd1d0ed2fc7ca3033e51157df31019376cd0b612352ac5a38b507 +size 2058 diff --git a/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_D.png b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_D.png new file mode 100644 index 0000000000000000000000000000000000000000..c90a7d90c43efe979724a844aae9478c9bab2d6b --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_D.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa4d1df7d12975144ff0316ec9bc5ed17f354e4744e22d6c92caad0dbe3c895c +size 19917766 diff --git a/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_N.png b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_N.png new file mode 100644 index 0000000000000000000000000000000000000000..039c4f4accfa7aeff2dde1b3d0ea2323b7326d63 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a24681cea87641c6503d356f7f66e338260ecbd3d0dbc3724af1ab79aa6e5ba +size 13978275 diff --git a/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_ORM.png b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..1a66a5b7418a796f23f6e1645d2ff8bcf172faac --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f77691e554c5592e9df11e593b0f03d479b19e6efb27cd972c0a02284302d03 +size 21019808 diff --git a/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_Stripes.png b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_Stripes.png new file mode 100644 index 0000000000000000000000000000000000000000..7387a56e0a4a929b30b6abdfc44ce3fdb4d9595d --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/M_TrafficCone/T_TrafficCone_Stripes.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfa42e8c9621153e0b1cb3fa885672e287258153f3cf66bbe7e4b98e957de478 +size 110360 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..13cca5e76a141b3cd85961c404e61db67d1d8691 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7e943d2da8a763700341c1147020ba4501df4d205055e01264a5111acab1789 +size 16906 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_N.png b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_N.png new file mode 100644 index 0000000000000000000000000000000000000000..fb2ca59cac16cb4e140b190f19ab0ce7a3a46427 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c967c5323ba12a3d1d7224b1e9c305aa035332be8686096c60dffbc5f02e2370 +size 6452535 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_ORM.png b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..285009d0079e700efc1822d74873fda0f54d720b --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Gloss/Paint_Gloss_Finish_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bf79d681e3c65b6318ae23cf59471d5a2fe7e82ee4791c19bb81b26d9203bf5 +size 1498956 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..25bd9293672f6f2c4a484f4e500527f021ed70a3 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55aa783346d66cea115c505166694afe60a65782e4690de705bad848ce754b66 +size 16903 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_N.png b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_N.png new file mode 100644 index 0000000000000000000000000000000000000000..324e2dff1e57b176c808ba6942f2bf6431a75c23 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dd87470d9549a18c3b41201d08308df9bd41de0571b9b7317e74dac5c9d0c5d +size 5545003 diff --git a/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_ORM.png b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..01acf09afaf43a3c4b55d8dd41f1fd4af5c6b406 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Paint_Satin_Finish_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8aecdead5d61ab7ba222563e87c52c7710ce35fd25e1895eb6ef46ef3eaf65ed +size 1574747 diff --git a/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_BaseColor.png b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_BaseColor.png new file mode 100644 index 0000000000000000000000000000000000000000..6b9d8dd1db2ca6a5e537eec1156a441f5af7e650 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_BaseColor.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d9e23d7205ad811389fb4e7e143f72e279e9f92670ac02a5646ba74600ade0c +size 4287935 diff --git a/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_N.png b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_N.png new file mode 100644 index 0000000000000000000000000000000000000000..78b724a9a966ee02cb0a32ebe234e8ddb850ddc8 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_N.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46f4b53061d71a7398853b1aed98fd7653594d0beab096dc1ac8191dda29c66b +size 4378331 diff --git a/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_ORM.png b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..c148f6aa89d780c100e1d5d3e5d80c2e2787790e --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/Plywood/Plywood_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ebb20999afd9d0791b98008a71b6e52e558631239496f3e4e7ed052b34c1db8 +size 2722114 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Bookcase_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..814d059c1ff1ec17e3f5eeda7a624f7e11c5e248 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a57ab8013df3041924d7ccbd58f0f443360c100fd377e1079b824a684e8657e +size 3249687 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Bookcase_bc.png b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..74bdaee1b3bbe601d94402102592c51d74c8c054 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03b58eae66065bdd2b7f3ef375d0e696c545cb3e4bcaf4b8151083b20a4b4bd4 +size 2620114 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Bookcase_n.png b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_n.png new file mode 100644 index 0000000000000000000000000000000000000000..c84e309fe64915eedc0a42b02ee70468129b457f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Bookcase_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1673b324535abb9570f3a5427d0bd3ddc3177ab23189eb035622d73ab280bbca +size 117178 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..5ab6a640868ccb2caeb961a43079a472ffff5ec2 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbd57a68661b88d81c8aa0db9f796f0490682bee9c13e77bda91bdc08d1506ea +size 4284550 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_bc.png b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..b6f18e711407b429f0bd7b382745740e856e71b6 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c49ba2852a964a0f1a28aa3de322509ecc9e36abe46268d035b076104982255 +size 2992381 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_mask.png b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..11330a1b964321d88037f6a22280ea35324900f6 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a8944b4a00405e0a37d427525a950cb559f688f4c934dea6f70edca924e017c +size 84490 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_n.png b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_n.png new file mode 100644 index 0000000000000000000000000000000000000000..b3eb1fd20ee537f93442b9a44f71a9b2c1fca311 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ChairOfficeA_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5281c50b2fc55dce8d3fbd6569013ee76bc7ef26b88bd37b9384b9a46f37834 +size 5341921 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC1_ao_r_m_e.png b/objects/small_warehouse/SubUSDs/textures/T_PC1_ao_r_m_e.png new file mode 100644 index 0000000000000000000000000000000000000000..642acf57d12a0fb2528eee07443d6d2d2c8c7390 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC1_ao_r_m_e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35f471f012379a24440e4ddb1b95b8d4108635a724e28b9461b10e6d7917da2f +size 4017769 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC1_bc.png b/objects/small_warehouse/SubUSDs/textures/T_PC1_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..a7051348647704642b9a084d9827998576df6aae --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC1_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea011d1b3b3c94d8224b972458e6c4511bdce4a2a6a9f5f8e0fa7f207f2a3646 +size 2633022 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC1_n.png b/objects/small_warehouse/SubUSDs/textures/T_PC1_n.png new file mode 100644 index 0000000000000000000000000000000000000000..ff0dc3555c338bc8d0ef59669272ec78ef995b83 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC1_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38c276a2f9600b58c994b82e8da6cc933f10267732998214cf2f1c9bd457d9da +size 1719787 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC_02_e.png b/objects/small_warehouse/SubUSDs/textures/T_PC_02_e.png new file mode 100644 index 0000000000000000000000000000000000000000..39892510764641f323cfd3db704b8df384e67f22 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC_02_e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63f6cc425e0bb102b4007cee0557c657f740f77db4514ddb9e915ca747329168 +size 102997 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_PC_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..f7762e62c96faf88e7a252d38ffee675e210f7ca --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9329a630dc4d9d49f66a320717235b8c72f01f3ba099553e26ac17050d7e435e +size 3570593 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC_bc.png b/objects/small_warehouse/SubUSDs/textures/T_PC_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..47578a3542161044014f4930ed5d60891632cd4f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6d67c05cfa95aab77ab222ac391084364ffcd683cb8b38dd5f3be05ea1a9656 +size 112735 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PC_n.png b/objects/small_warehouse/SubUSDs/textures/T_PC_n.png new file mode 100644 index 0000000000000000000000000000000000000000..6502dd429d856e81c899f98785b0561dd302b886 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PC_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:821c254252508e9af5d5f9eee031baedb9791d620b84c7c3952005f22ac0a8be +size 622138 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Albedo.png b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Albedo.png new file mode 100644 index 0000000000000000000000000000000000000000..3477f5f67a00d7faeabb1a8a8a1f9d33b74a61c9 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Albedo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04706baf560facd43370f87dc4f94ba37220eadc3d99398a797c03538ecb9568 +size 25752124 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Normal.png b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Normal.png new file mode 100644 index 0000000000000000000000000000000000000000..9bf920caa9fe8290fe75d51613b5797c8139974a --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_Normal.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff05208b2ba959d0c15fbf9955e2ababf35e89c14239e56e2ebeda750c827462 +size 18464849 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_ORM.png b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_ORM.png new file mode 100644 index 0000000000000000000000000000000000000000..f8d6762dd840487334092a3ce89178148cf500ca --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PalletWooden_A_ORM.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93ca2d2d847cb31844580466efa6f369794fb803bc3626a2268b300c63237d3 +size 7473203 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_ao_r_m_e.png b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_ao_r_m_e.png new file mode 100644 index 0000000000000000000000000000000000000000..07590ff960538059087b6b3dec02c2d6222f067f --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_ao_r_m_e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f022df269f86f8e2461f8409c00e68319eebd114b26a3cbead7cf9a0b20ae5e +size 2562016 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_bc.png b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..8d65bdca3decab9dd03736813fe542a3c5bd4344 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7c3eb01f118976ed8eda24c34d44c7608297b6d52e1d6c0a322d14be9ca68ab +size 1141275 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_mask.png b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..4b4598fc6f4ed974ee495984f8032b77977418d2 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_mask.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82c5c64b9574bb4044c50a5f17f26c4c0728c5d50ce87b8619c6ce9f68008a3d +size 84004 diff --git a/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_n.png b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_n.png new file mode 100644 index 0000000000000000000000000000000000000000..ca668e5846aac1352568378f54c7f09c94975575 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_PanicDoor_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c2f83ce7fc6bc4d8de41f7c92219f951913edeadb6a50280a422c7c65b57cea +size 973113 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Props_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_Props_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..e564573ea86ad9d4522833e38498062469c5dfa2 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Props_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2df8728d804e3990e554a7648456f042488267ac05d222c599c06016f5271a54 +size 4001064 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Props_bc.png b/objects/small_warehouse/SubUSDs/textures/T_Props_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..5083e0299747afe0c1af959c582e9c79eb9131d3 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Props_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae67f9deba5b5b2000cb462a188d2dfd2ba8312cefff2d46ef7fb27b3f330cc +size 3588928 diff --git a/objects/small_warehouse/SubUSDs/textures/T_Props_n.png b/objects/small_warehouse/SubUSDs/textures/T_Props_n.png new file mode 100644 index 0000000000000000000000000000000000000000..bb74600d66a5ed40e7d87cdc5a39baaee1852a48 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_Props_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0e16cfdb80910640dbc8ddacabbe37095cb2798453df5cc282ecfd9d095f63e +size 2070407 diff --git a/objects/small_warehouse/SubUSDs/textures/T_RadioSet_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..15ffa627e1e9d8c9e1270694aa8c24614aca845c --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42126d1e005db2cde1b3605f4ab9621d7ac421e95edbfcea65d68cf7e533baf5 +size 787092 diff --git a/objects/small_warehouse/SubUSDs/textures/T_RadioSet_bc.png b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..e3759c5525c6e9a26c791c77d13d4ee8e2a5a347 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d170d589e0c64aa9441659dc4cb7e5c52b9b846a07b28ff374e53b02a826cc2 +size 332319 diff --git a/objects/small_warehouse/SubUSDs/textures/T_RadioSet_e.png b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_e.png new file mode 100644 index 0000000000000000000000000000000000000000..e0200a4cb1d2480b1340e2d6e851117e71dd37c8 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:758ad0b0260a79d8921695ae0e44df41b6969569b103a14094899d6a7552743a +size 59444 diff --git a/objects/small_warehouse/SubUSDs/textures/T_RadioSet_n.png b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_n.png new file mode 100644 index 0000000000000000000000000000000000000000..96cf5360746f871a6bb88e73f748096f8070c925 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_RadioSet_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:defe77528669e41b58c4439ea3f2995946dfe5d17d5c989596bd23337975671a +size 1405851 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_ao_r_m.png b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_ao_r_m.png new file mode 100644 index 0000000000000000000000000000000000000000..a00386266a70c06368c061670616679043c6c9fc --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_ao_r_m.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:904fcc482d684466fa0bb7981b02cca3c078163e8cea5745148d85f8ebf322a9 +size 4686951 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_bc.png b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_bc.png new file mode 100644 index 0000000000000000000000000000000000000000..27cb654dfd5718fd4cd0d2ae0b0f8a9ade46f730 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_bc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:808f3e9994faa844d5237a8f724242c9ff7375017514167b421b1cf9237130ce +size 4395227 diff --git a/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_n.png b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_n.png new file mode 100644 index 0000000000000000000000000000000000000000..10984a83d0d972ce919d559fdd09654ab4719ed8 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/T_ReceptionTable_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec4db7f0b57cc81706f6c63fe4aee449f5bced28a4c8372340be7ffae25387ec +size 259724 diff --git a/objects/small_warehouse/SubUSDs/textures/board.png b/objects/small_warehouse/SubUSDs/textures/board.png new file mode 100644 index 0000000000000000000000000000000000000000..bb3f08b2af7f3eddb36f477651a795399eafd9ba --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/board.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6589e82145f948398a2c256bc24521444eb7f3f840c5a56f9c7777b2c8fb8e98 +size 1509 diff --git a/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_d.png b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_d.png new file mode 100644 index 0000000000000000000000000000000000000000..37c469afc126a7ef78c40c0ed7c6da8c80bce66e --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_d.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44ff4516167b7c9600bc0575bd58954807a5e6fff23bcdff91e2d25ab793b003 +size 17459238 diff --git a/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_n.png b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_n.png new file mode 100644 index 0000000000000000000000000000000000000000..6e1e75a5a09426a96faed44a3205304386f025bc --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_n.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c9e52dba69b9e0b6e996a64f9bbafc3a425659aceab5781b4d6e4988d290c86 +size 17298101 diff --git a/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_roughness.png b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_roughness.png new file mode 100644 index 0000000000000000000000000000000000000000..d8fac3ae2ff1538a1d3c3153b226af9374a8a9d4 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/fof_map_shelf_cart_a_base_roughness.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc109b41d8b7eee53393d8b892fd1c56ced128c68bf174fbc9a8bb237b730ec5 +size 10185191 diff --git a/objects/small_warehouse/SubUSDs/textures/macbeth.png b/objects/small_warehouse/SubUSDs/textures/macbeth.png new file mode 100644 index 0000000000000000000000000000000000000000..b1034a1bbf1ec638541da179fe47125118572eb0 --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/macbeth.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b55f5c9f9558626645db9096b68568b98a8dc5a1e6ae9b2a5ba1058f058c4be +size 3998 diff --git a/objects/small_warehouse/SubUSDs/textures/tape_striping.jpg b/objects/small_warehouse/SubUSDs/textures/tape_striping.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dff01f88ab497476328e93fcecbc1ff297ea154b --- /dev/null +++ b/objects/small_warehouse/SubUSDs/textures/tape_striping.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bc9044b2cacd855ba18f05812248430005a41d2f26facb2f3b537612d4638dd +size 47125 diff --git a/objects/small_warehouse/small_warehouse_digital_twin.usd b/objects/small_warehouse/small_warehouse_digital_twin.usd new file mode 100644 index 0000000000000000000000000000000000000000..7e3d8869189b3613b6bfe86bfa58695947b93f18 --- /dev/null +++ b/objects/small_warehouse/small_warehouse_digital_twin.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:847b6370fa6226ea2920c6fed82ed49794615dd65136d42ae95607f2995b31d4 +size 1874163 diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Anodized_Black.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Anodized_Black.mdl new file mode 100644 index 0000000000000000000000000000000000000000..2177bbabd77d348a5216fbd272af0ebf10e17572 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Anodized_Black.mdl @@ -0,0 +1,43 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Aluminum_Anodized_Black(*) + = OmniPBR( + diffuse_color_constant: color(0.500000, 0.500000, 0.500000), + diffuse_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(0.05f, 0.05f, 0.05f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.000000, 1.000000, 1.000000), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.000000, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Aluminum_Anodized_Black/Aluminum_Anodized_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); + diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Polished.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..a1d1284ac52f00776ed41b612ea7793cf43ae30b --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Aluminum_Polished.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Aluminum_Polished(*) + = OmniPBR( + diffuse_color_constant: color(0.500000, 0.500000, 0.500000), + diffuse_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.000000, 1.000000, 1.000000), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.000000, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Aluminum_Polished/Aluminum_Polished_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Chain_Link_Fence.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Chain_Link_Fence.mdl new file mode 100644 index 0000000000000000000000000000000000000000..abc14674b614f1fdfbc551a729b9af506cac607c --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Chain_Link_Fence.mdl @@ -0,0 +1,45 @@ +mdl 1.4; + +import ::OmniPBR_Opacity::OmniPBR_Opacity; +import ::tex::gamma_mode; +import ::state::normal; + +export material Chain_Link_Fence(*) + = ::OmniPBR_Opacity::OmniPBR_Opacity( + diffuse_color_constant: color(1.f, 1.f, 1.f), + diffuse_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 1.f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.f, 0.f, 0.f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.f, + enable_opacity_texture: true, + opacity_constant: 1.f, + opacity_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_Opacity.png", ::tex::gamma_linear), + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Chain_Link_Fence/Chain_Link_Fence_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.3f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Clear_Glass.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Clear_Glass.mdl new file mode 100644 index 0000000000000000000000000000000000000000..d6c08a66ec3d6465474bf1e93968a42c369059a1 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Clear_Glass.mdl @@ -0,0 +1,43 @@ +mdl 1.3; + +import ::OmniGlass::OmniGlass; +import ::tex::gamma_mode; +import ::state::normal; + +export material Clear_Glass(*) + = OmniGlass::OmniGlass( + absorption_coeff: color(1.f, 1.f, 1.f), + glass_color: color(1.f, 1.f, 1.f), + use_glass_color_texture: false, + glass_color_texture: texture_2d(), + frosting_roughness: 0.f, + glass_ior: 1.52f, + thin_walled: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f)); + +/* +mdl 1.5; + +import ::Library::AEC::Materials::Templates::GlassWithVolume::GlassWithVolume; +import ::tex::gamma_mode; +import ::state::normal; + +export material Clear_Glass(*) + = ::Library::AEC::Materials::Templates::GlassWithVolume::GlassWithVolume( + thin_walled: true, + transmission_color: color(1.f, 1.f, 1.f), + roughness_texture: texture_2d(), + ior: 1.52f, + transmission_color_texture: texture_2d(), + roughness_texture_influence: 0.f, + roughness: 0.f, + reflection_color_texture: texture_2d(), + reflection_color: color(1.f, 1.f, 1.f), + depth: 0.0001f, + normal_map_texture: texture_2d()); +*/ diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Concrete_Polished.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Concrete_Polished.mdl new file mode 100644 index 0000000000000000000000000000000000000000..bda78f2668839a9a4806e090fd8255f07d1c0d37 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Concrete_Polished.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Concrete_Polished(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d("../textures/Concrete_Polished_BaseColor.png", ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.000000, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.000000, + metallic_texture_influence: 1.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Concrete_Polished_ORM.png", ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.0, 0.0, 0.0), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.0, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Concrete_Polished_Normal.png", ::tex::gamma_linear), + detail_bump_factor: 0.3f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_CeilingA_06b.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_CeilingA_06b.mdl new file mode 100644 index 0000000000000000000000000000000000000000..890073f936898383c9e7954823ff9ef3f5ca6164 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_CeilingA_06b.mdl @@ -0,0 +1,65 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function_1 import *; +using OmniUe4Base_1 import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_CeilingA_06b( + float4 MainTiling = float4(1.0,1.0,0.0,1.0), + uniform texture_2d MainNormalInput = texture_2d("../textures/T_BeamsA_N.png",::tex::gamma_linear) + [[sampler_normal()]], + float4 ColorAlbedo = float4(0.145,0.145,0.145,0.0), + uniform texture_2d AlbedoTexture = texture_2d("../textures/T_Floor_01_D.png",::tex::gamma_srgb) + [[sampler_color()]], + uniform texture_2d MaskSelection = texture_2d("../textures/T_BeamsA_M.png",::tex::gamma_linear) + [[sampler_masks()]], + uniform texture_2d MergeMapInput = texture_2d("../textures/T_BeamsA_ORM.png",::tex::gamma_linear) + [[sampler_color()]], + float RoughnessMin = 0.1, + float RoughnessMax = 0.9) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float2 Local0 = (float2(float3(MainTiling.x,MainTiling.y,MainTiling.z).x,float3(MainTiling.x,MainTiling.y,MainTiling.z).y) * CustomizedUV0_mdl); + float4 Local1 = ::unpack_normal_map(tex::lookup_float4(MainNormalInput,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local1.x,Local1.y,Local1.z); + + float4 Local2 = tex::lookup_float4(AlbedoTexture,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat); + float4 Local3 = tex::lookup_float4(MaskSelection,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local4 = math::lerp(float3(ColorAlbedo.x,ColorAlbedo.y,ColorAlbedo.z),float3(Local2.x,Local2.y,Local2.z),float3(Local3.x,Local3.y,Local3.z)); + float4 Local5 = tex::lookup_float4(MergeMapInput,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat); + float Local6 = math::lerp(RoughnessMin,RoughnessMax,float3(Local5.x,Local5.y,Local5.z).y); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local4; + float Metallic_mdl = float3(Local5.x,Local5.y,Local5.z).z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local6; + + } in + ::OmniUe4Base_1( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Clock.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Clock.mdl new file mode 100644 index 0000000000000000000000000000000000000000..5dac7222f2a2cb22e62cc0bc62be88f535105d17 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Clock.mdl @@ -0,0 +1,61 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_Clock( + uniform texture_2d Normal = texture_2d("../textures/T_Bookcase_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_Bookcase_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]], + float EmissionIntensity = 2.0, + float4 EmissionColor = float4(0.0,0.0,0.0,0.0), + uniform texture_2d BaseColor = texture_2d("../textures/T_Bookcase_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0)) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float Local2 = (Local1.w * EmissionIntensity); + float3 Local3 = (Local2 * float3(EmissionColor.x,EmissionColor.y,EmissionColor.z)); + float4 Local4 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = (float3(Local4.x,Local4.y,Local4.z) * float3(Color.x,Color.y,Color.z)); + + float3 EmissiveColor_mdl = Local3; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local5; + float Metallic_mdl = Local1.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local1.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_DoorA.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_DoorA.mdl new file mode 100644 index 0000000000000000000000000000000000000000..ee9b89eba74ea2f1910b6f5917ffdb61d2c5d7a6 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_DoorA.mdl @@ -0,0 +1,69 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_DoorA( + uniform texture_2d Normal = texture_2d("../textures/T_PanicDoor_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d BaseColor = texture_2d("../textures/T_PanicDoor_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color04 = float4(1.0,1.0,1.0,1.0), + float4 Color01 = float4(1.0,1.0,1.0,1.0), + uniform texture_2d ColorMask = texture_2d("../textures/T_PanicDoor_mask.png",::tex::gamma_linear) + [[sampler_color()]], + float4 Color02 = float4(1.0,1.0,1.0,1.0), + float4 Color03 = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_PanicDoor_ao_r_m_e.png",::tex::gamma_linear) + [[sampler_color()]]) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color04.x,Color04.y,Color04.z)); + float3 Local3 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color01.x,Color01.y,Color01.z)); + float4 Local4 = tex::lookup_float4(ColorMask,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = math::lerp(Local2,Local3,Local4.x); + float3 Local6 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color02.x,Color02.y,Color02.z)); + float3 Local7 = math::lerp(Local5,Local6,Local4.y); + float3 Local8 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color03.x,Color03.y,Color03.z)); + float3 Local9 = math::lerp(Local7,Local8,Local4.z); + float4 Local10 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local9; + float Metallic_mdl = Local10.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local10.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_LampCeilingA.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_LampCeilingA.mdl new file mode 100644 index 0000000000000000000000000000000000000000..6a1f8f89162351e2223b3c8fed9ff7cd4b83a3aa --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_LampCeilingA.mdl @@ -0,0 +1,66 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function_1 import *; +using OmniUe4Base_1 import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_LampCeilingA( + float U_Tiling = 1.0, + float V_Tiling = 1.0, + uniform texture_2d MainNormalInput = texture_2d("../textures/T_Floor_01_N.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d AlbedoTexture = texture_2d("../textures/T_Floor_01_D.png",::tex::gamma_srgb) + [[sampler_color()]], + float Desaturation = 0.0, + float4 BaseColor_Tint = float4(1.0,1.0,1.0,1.0), + uniform texture_2d MergeMapInput = texture_2d("../textures/Alum_Anodized_roughness.png",::tex::gamma_linear) + [[sampler_color()]], + float RoughnessMin = 0.1, + float RoughnessMax = 0.9) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float2 Local0 = (CustomizedUV0_mdl * float2(U_Tiling,V_Tiling)); + float4 Local1 = ::unpack_normal_map(tex::lookup_float4(MainNormalInput,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local1.x,Local1.y,Local1.z); + + float4 Local2 = tex::lookup_float4(AlbedoTexture,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat); + float Local3 = math::dot(float3(Local2.x,Local2.y,Local2.z), float3(0.3,0.59,0.11)); + float3 Local4 = math::lerp(float3(Local2.x,Local2.y,Local2.z),float3(Local3,Local3,Local3),Desaturation); + float3 Local5 = (Local4 * float3(BaseColor_Tint.x,BaseColor_Tint.y,BaseColor_Tint.z)); + float4 Local6 = tex::lookup_float4(MergeMapInput,float2(Local0.x,1.0-Local0.y),tex::wrap_repeat,tex::wrap_repeat); + float Local7 = math::lerp(RoughnessMin,RoughnessMax,float3(Local6.x,Local6.y,Local6.z).y); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local5; + float Metallic_mdl = float3(Local6.x,Local6.y,Local6.z).z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local7; + + } in + ::OmniUe4Base_1( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_PC_ON_02.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_PC_ON_02.mdl new file mode 100644 index 0000000000000000000000000000000000000000..00624f9fc960981d814dfc0a5c6973f1c256100d --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_PC_ON_02.mdl @@ -0,0 +1,64 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_PC_ON_02( + uniform texture_2d Normal = texture_2d("../textures/T_RadioSet_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d Emission = texture_2d("../textures/T_RadioSet_e.png",::tex::gamma_srgb) + [[sampler_color()]], + float EmissionIntensity = 2.0, + float4 EmissionColor = float4(1.0,1.0,1.0,1.0), + uniform texture_2d BaseColor = texture_2d("../textures/T_RadioSet_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_RadioSet_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]]) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(Emission,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * EmissionIntensity); + float3 Local3 = (Local2 * float3(EmissionColor.x,EmissionColor.y,EmissionColor.z)); + float4 Local4 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local5 = (float3(Local4.x,Local4.y,Local4.z) * float3(Color.x,Color.y,Color.z)); + float4 Local6 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = Local3; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local5; + float Metallic_mdl = Local6.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local6.y; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Props.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Props.mdl new file mode 100644 index 0000000000000000000000000000000000000000..b014f32b0b19c7782577f41a798d7058ab29e136 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/MI_Props.mdl @@ -0,0 +1,59 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function import *; +using OmniUe4Base import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material MI_Props( + uniform texture_2d Normal = texture_2d("../textures/T_Bookcase_n.png",::tex::gamma_linear) + [[sampler_normal()]], + uniform texture_2d BaseColor = texture_2d("../textures/T_Bookcase_bc.png",::tex::gamma_srgb) + [[sampler_color()]], + float4 Color = float4(1.0,1.0,1.0,1.0), + uniform texture_2d AO_R_Rough_G_Metallic_B_ = texture_2d("../textures/T_Bookcase_ao_r_m.png",::tex::gamma_linear) + [[sampler_color()]], + float RoughnessMultiplier = 1.0) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(Normal,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(BaseColor,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local2 = (float3(Local1.x,Local1.y,Local1.z) * float3(Color.x,Color.y,Color.z)); + float4 Local3 = tex::lookup_float4(AO_R_Rough_G_Metallic_B_,float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float Local4 = (Local3.y * RoughnessMultiplier); + + float3 EmissiveColor_mdl = float3(0.0,0.0,0.0); + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = Local2; + float Metallic_mdl = Local3.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local4; + + } in + ::OmniUe4Base( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/M_TrafficCone.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/M_TrafficCone.mdl new file mode 100644 index 0000000000000000000000000000000000000000..af97a9454c34a40013c9769a0fcbc7c093647cf8 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/M_TrafficCone.mdl @@ -0,0 +1,57 @@ +mdl 1.3; + +import ::math::*; +import ::state::*; +import ::tex::*; +import ::anno::*; +using OmniUe4Function_1 import *; +using OmniUe4Base_1 import *; + +export annotation sampler_color(); +export annotation sampler_normal(); +export annotation sampler_grayscale(); +export annotation sampler_alpha(); +export annotation sampler_masks(); +export annotation sampler_distancefield(); +export annotation dither_masked_off(); +export annotation world_space_normal(); + +export material M_TrafficCone( + float Param = 5.0) + = + let { + float3 WorldPositionOffset_mdl = float3(0.0,0.0,0.0); + float2 CustomizedUV0_mdl = float2(state::texture_coordinate(0).x,1.0-state::texture_coordinate(0).y); + + float4 Local0 = ::unpack_normal_map(tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_N.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat)); + + float3 Normal_mdl = float3(Local0.x,Local0.y,Local0.z); + + float4 Local1 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_D.png",::tex::gamma_srgb),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float4 Local2 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_Stripes.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + float3 Local3 = (float3(Local1.x,Local1.y,Local1.z) * float3(Local2.x,Local2.y,Local2.z)); + float3 Local4 = (Local3 * Param); + float3 Local5 = ::transform_vector_from_tangent_to_world(float3(float3(Local0.x,Local0.y,Local0.z).x,float3(Local0.x,Local0.y,Local0.z).y,float3(Local0.x,Local0.y,Local0.z).z)); + float Local6 = ::fresnel(0.05, 0.1, Local5); + float Local7 = (1.0 - Local6); + float3 Local8 = (Local4 * Local7); + float4 Local9 = tex::lookup_float4(texture_2d("../textures/M_TrafficCone/T_TrafficCone_ORM.png",::tex::gamma_linear),float2(CustomizedUV0_mdl.x,1.0-CustomizedUV0_mdl.y),tex::wrap_repeat,tex::wrap_repeat); + + float3 EmissiveColor_mdl = Local8; + float OpacityMask_mdl = 1.0; + float3 BaseColor_mdl = float3(Local1.x,Local1.y,Local1.z); + float Metallic_mdl = Local9.z; + float Specular_mdl = 0.5; + float Roughness_mdl = Local9.y; + + } in + ::OmniUe4Base_1( + base_color: BaseColor_mdl, + metallic: Metallic_mdl, + roughness: Roughness_mdl, + specular: Specular_mdl, + normal: Normal_mdl, + opacity: OpacityMask_mdl, + emissive_color: EmissiveColor_mdl, + displacement: WorldPositionOffset_mdl, + two_sided: false); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Oak_Planks.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Oak_Planks.mdl new file mode 100644 index 0000000000000000000000000000000000000000..46abf74d0672de561c5aa258ccd776938a382ea6 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Oak_Planks.mdl @@ -0,0 +1,54 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::anno::author; +import ::anno::description; +import ::anno::display_name; +import ::anno::key_words; +import ::anno::version; +import ::tex::gamma_mode; +import ::state::normal; + +export material Oak_Planks(*) +[[ + ::anno::display_name("Omni PBR "), + ::anno::description("Omni PBR, supports ORM textures"), + ::anno::version(1, 0, 0, ""), + ::anno::author("NVIDIA CORPORATION"), + ::anno::key_words(string[]("omni", "PBR", "omniverse", "generic")) +]] + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Oak_Planks/Oak_Planks_BaseColor.png" /* tag 2827, version 331885705 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Oak_Planks/Oak_Planks_ORM.png" /* tag 2831, version 3383167362 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Oak_Planks/Oak_Planks_N.png" /* tag 2829, version 1811450819 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fa6a0729f700fdb986fe6bfe544139adfc3041bd --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base.mdl @@ -0,0 +1,195 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.0 - first version +//* 1.0.1 - merge unlit template +//* 1.0.2 - Fix EDF in the back side: the EDF contained in surface is only used for the front side and not for the back side +//* 1.0.3 - UE4 normal mapping: Geometry normal shouldn't be changed +//* 1.0.4 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + +float emissive_multiplier() +[[ + anno::description("the multiplier to convert UE4 emissive to raw data"), + anno::noinline() +]] +{ + return 20.0f * 128.0f; +} + +float3 tangent_space_normal( + float3 normal = float3(0.0,0.0,1.0), + float3 tangent_u = state::texture_tangent_u(0), + float3 tangent_v = state::texture_tangent_v(0) +) +[[ + anno::description("Interprets the vector in tangent space"), + anno::noinline() +]] +{ + return math::normalize( + tangent_u * normal.x - /* flip_tangent_v */ + tangent_v * normal.y + + state::normal() * (normal.z)); +} + +export material OmniUe4Base( + float3 base_color = float3(0.0, 0.0, 0.0), + float metallic = 0.0, + float roughness = 0.5, + float specular = 0.5, + float3 normal = float3(0.0,0.0,1.0), + float clearcoat_weight = 0.0, + float clearcoat_roughness = 0.0, + float3 clearcoat_normal = float3(0.0,0.0,1.0), + uniform bool enable_opacity = true, + float opacity = 1.0, + float3 emissive_color = float3(0.0, 0.0, 0.0), + float3 displacement = float3(0.0), + uniform bool is_tangent_space_normal = true, + uniform bool two_sided = false, + uniform bool is_unlit = false +) +[[ + anno::display_name("Omni UE4 Base"), + anno::description("Omni UE4 Base, supports UE4 default lit and clearcoat shading model"), + anno::version( 1, 0, 0), + anno::author("NVIDIA CORPORATION"), + anno::key_words(string[]("omni", "UE4", "omniverse", "lit", "clearcoat", "generic")) +]] + = let { + color final_base_color = math::saturate(base_color); + float final_metallic = math::saturate(metallic); + float final_roughness = math::saturate(roughness); + float final_specular = math::saturate(specular); + color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/ + float final_clearcoat_weight = math::saturate(clearcoat_weight); + float final_clearcoat_roughness = math::saturate(clearcoat_roughness); + float3 final_normal = math::normalize(normal); + float3 final_clearcoat_normal = math::normalize(clearcoat_normal); + + // - compute final roughness by squaring the "roughness" parameter + float alpha = final_roughness * final_roughness; + // reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering + float grazing_refl = math::max((1.0 - final_roughness), 0.0); + + float3 the_normal = is_unlit ? state::normal() : + (is_tangent_space_normal ? tangent_space_normal( + normal: final_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_normal); + + // for the dielectric component we layer the glossy component on top of the diffuse one, + // the glossy layer has no color tint + + bsdf dielectric_component = df::custom_curve_layer( + weight: final_specular, + normal_reflectivity: 0.08, + grazing_reflectivity: grazing_refl, + layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha), + base: df::diffuse_reflection_bsdf(tint: final_base_color), + normal: the_normal); + + // the metallic component doesn't have a diffuse component, it's only glossy + // base_color is applied to tint it + bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha); + + // final BSDF is a linear blend between dielectric and metallic component + bsdf dielectric_metal_mix = + df::normalized_mix( + components: + df::bsdf_component[]( + df::bsdf_component( + component: metallic_component, + weight: final_metallic), + df::bsdf_component( + component: dielectric_component, + weight: 1.0-final_metallic) + ) + ); + + // clearcoat layer + float clearcoat_grazing_refl = math::max((1.0 - final_clearcoat_roughness), 0.0); + float clearcoat_alpha = final_clearcoat_roughness * final_clearcoat_roughness; + + float3 the_clearcoat_normal = is_tangent_space_normal ? tangent_space_normal( + normal: final_clearcoat_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_clearcoat_normal; + + + bsdf clearcoat = + df::custom_curve_layer( + base: df::weighted_layer( + layer: dielectric_metal_mix, + weight: 1.0, + normal: final_clearcoat_weight == 0.0 ? state::normal() : the_normal + ), + layer: df::microfacet_ggx_smith_bsdf( + roughness_u: clearcoat_alpha, + tint: color(1.0) + ), + normal_reflectivity: 0.04, + grazing_reflectivity: clearcoat_grazing_refl, + normal: the_clearcoat_normal, + weight: final_clearcoat_weight + ); + bsdf surface = is_unlit ? bsdf() : clearcoat; +} +in material( + thin_walled: two_sided, // Graphene? + surface: material_surface( + scattering: surface, + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + backface: material_surface( + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + geometry: material_geometry( + displacement: displacement, + normal: final_clearcoat_weight == 0.0 ? the_normal : state::normal(), + cutout_opacity: enable_opacity ? opacity : 1.0 + ) +); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base_1.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base_1.mdl new file mode 100644 index 0000000000000000000000000000000000000000..fa6a0729f700fdb986fe6bfe544139adfc3041bd --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Base_1.mdl @@ -0,0 +1,195 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.0 - first version +//* 1.0.1 - merge unlit template +//* 1.0.2 - Fix EDF in the back side: the EDF contained in surface is only used for the front side and not for the back side +//* 1.0.3 - UE4 normal mapping: Geometry normal shouldn't be changed +//* 1.0.4 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + +float emissive_multiplier() +[[ + anno::description("the multiplier to convert UE4 emissive to raw data"), + anno::noinline() +]] +{ + return 20.0f * 128.0f; +} + +float3 tangent_space_normal( + float3 normal = float3(0.0,0.0,1.0), + float3 tangent_u = state::texture_tangent_u(0), + float3 tangent_v = state::texture_tangent_v(0) +) +[[ + anno::description("Interprets the vector in tangent space"), + anno::noinline() +]] +{ + return math::normalize( + tangent_u * normal.x - /* flip_tangent_v */ + tangent_v * normal.y + + state::normal() * (normal.z)); +} + +export material OmniUe4Base( + float3 base_color = float3(0.0, 0.0, 0.0), + float metallic = 0.0, + float roughness = 0.5, + float specular = 0.5, + float3 normal = float3(0.0,0.0,1.0), + float clearcoat_weight = 0.0, + float clearcoat_roughness = 0.0, + float3 clearcoat_normal = float3(0.0,0.0,1.0), + uniform bool enable_opacity = true, + float opacity = 1.0, + float3 emissive_color = float3(0.0, 0.0, 0.0), + float3 displacement = float3(0.0), + uniform bool is_tangent_space_normal = true, + uniform bool two_sided = false, + uniform bool is_unlit = false +) +[[ + anno::display_name("Omni UE4 Base"), + anno::description("Omni UE4 Base, supports UE4 default lit and clearcoat shading model"), + anno::version( 1, 0, 0), + anno::author("NVIDIA CORPORATION"), + anno::key_words(string[]("omni", "UE4", "omniverse", "lit", "clearcoat", "generic")) +]] + = let { + color final_base_color = math::saturate(base_color); + float final_metallic = math::saturate(metallic); + float final_roughness = math::saturate(roughness); + float final_specular = math::saturate(specular); + color final_emissive_color = math::max(emissive_color, 0.0f) * emissive_multiplier(); /*factor for converting ue4 emissive to raw value*/ + float final_clearcoat_weight = math::saturate(clearcoat_weight); + float final_clearcoat_roughness = math::saturate(clearcoat_roughness); + float3 final_normal = math::normalize(normal); + float3 final_clearcoat_normal = math::normalize(clearcoat_normal); + + // - compute final roughness by squaring the "roughness" parameter + float alpha = final_roughness * final_roughness; + // reduce the reflectivity at grazing angles to avoid "dark edges" for high roughness due to the layering + float grazing_refl = math::max((1.0 - final_roughness), 0.0); + + float3 the_normal = is_unlit ? state::normal() : + (is_tangent_space_normal ? tangent_space_normal( + normal: final_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_normal); + + // for the dielectric component we layer the glossy component on top of the diffuse one, + // the glossy layer has no color tint + + bsdf dielectric_component = df::custom_curve_layer( + weight: final_specular, + normal_reflectivity: 0.08, + grazing_reflectivity: grazing_refl, + layer: df::microfacet_ggx_smith_bsdf(roughness_u: alpha), + base: df::diffuse_reflection_bsdf(tint: final_base_color), + normal: the_normal); + + // the metallic component doesn't have a diffuse component, it's only glossy + // base_color is applied to tint it + bsdf metallic_component = df::microfacet_ggx_smith_bsdf(tint: final_base_color, roughness_u: alpha); + + // final BSDF is a linear blend between dielectric and metallic component + bsdf dielectric_metal_mix = + df::normalized_mix( + components: + df::bsdf_component[]( + df::bsdf_component( + component: metallic_component, + weight: final_metallic), + df::bsdf_component( + component: dielectric_component, + weight: 1.0-final_metallic) + ) + ); + + // clearcoat layer + float clearcoat_grazing_refl = math::max((1.0 - final_clearcoat_roughness), 0.0); + float clearcoat_alpha = final_clearcoat_roughness * final_clearcoat_roughness; + + float3 the_clearcoat_normal = is_tangent_space_normal ? tangent_space_normal( + normal: final_clearcoat_normal, + tangent_u: state::texture_tangent_u(0), + tangent_v: state::texture_tangent_v(0) + ) : final_clearcoat_normal; + + + bsdf clearcoat = + df::custom_curve_layer( + base: df::weighted_layer( + layer: dielectric_metal_mix, + weight: 1.0, + normal: final_clearcoat_weight == 0.0 ? state::normal() : the_normal + ), + layer: df::microfacet_ggx_smith_bsdf( + roughness_u: clearcoat_alpha, + tint: color(1.0) + ), + normal_reflectivity: 0.04, + grazing_reflectivity: clearcoat_grazing_refl, + normal: the_clearcoat_normal, + weight: final_clearcoat_weight + ); + bsdf surface = is_unlit ? bsdf() : clearcoat; +} +in material( + thin_walled: two_sided, // Graphene? + surface: material_surface( + scattering: surface, + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + backface: material_surface( + emission: + material_emission ( + emission: df::diffuse_edf (), + intensity: final_emissive_color + ) + ), + geometry: material_geometry( + displacement: displacement, + normal: final_clearcoat_weight == 0.0 ? the_normal : state::normal(), + cutout_opacity: enable_opacity ? opacity : 1.0 + ) +); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function.mdl new file mode 100644 index 0000000000000000000000000000000000000000..dd9f564d26a9915db37e4eea65b0a56709a2af98 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function.mdl @@ -0,0 +1,1163 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.1 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + + +export float3x3 matrix_inverse(float3x3 matrix) +[[ + anno::description("Inverse the 3x3 matrix"), + anno::noinline() +]] +{ + float determinant = (matrix[0][0] * matrix[1][1] * matrix[2][2] + matrix[1][0] * matrix[2][1] * matrix[0][2] + matrix[2][0] * matrix[0][1] * matrix[1][2]) - (matrix[0][2] * matrix[1][1] * matrix[2][0] + matrix[1][2] * matrix[2][1] * matrix[0][0] + matrix[2][2] * matrix[0][1] * matrix[1][0]); + float rdet = 1.0f / determinant; + + float3x3 result; + + result[0][0] = rdet * (matrix[1][1] * matrix[2][2] - matrix[1][2] * matrix[2][1]); + result[0][1] = -rdet * (matrix[0][1] * matrix[2][2] - matrix[0][2] * matrix[2][1]); + result[0][2] = rdet * (matrix[0][1] * matrix[1][2] - matrix[0][2] * matrix[1][1]); + + result[1][0] = -rdet * (matrix[1][0] * matrix[2][2] - matrix[1][2] * matrix[2][0]); + result[1][1] = rdet * (matrix[0][0] * matrix[2][2] - matrix[0][2] * matrix[2][0]); + result[1][2] = -rdet * (matrix[0][0] * matrix[1][2] - matrix[0][2] * matrix[1][0]); + + result[2][0] = rdet * (matrix[1][0] * matrix[2][1] - matrix[1][1] * matrix[2][0]); + result[2][1] = -rdet * (matrix[0][0] * matrix[2][1] - matrix[0][1] * matrix[2][0]); + result[2][2] = rdet * (matrix[0][0] * matrix[1][1] - matrix[0][1] * matrix[1][0]); + + return result; +} + +export float3 transform_vector_from_tangent_to_world(float3 vector) +[[ + anno::description("Transform vector from tangent space to world space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + return tangent_to_world * vector; +} + +export float3 transform_vector_from_world_to_tangent(float3 vector) +[[ + anno::description("Transform vector from world space to tangent space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + + // inverse tangent to world matrix + float3x3 world_to_tangent = matrix_inverse(tangent_to_world); + + return world_to_tangent * vector; +} + +export float4 unpack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Unpack a normal stored in a normal map"), + anno::noinline() +]] +{ + float2 normal_xy = float2(texture_sample.x, texture_sample.y); + + normal_xy = normal_xy * float2(2.0,2.0) - float2(1.0,1.0); + float normal_z = math::sqrt( math::saturate( 1.0 - math::dot( normal_xy, normal_xy ) ) ); + return float4( normal_xy.x, normal_xy.y, normal_z, 1.0 ); +} + +// for get color value from normal. +export float4 pack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Pack to color from a normal") +]] +{ + float2 return_xy = float2(texture_sample.x, texture_sample.y); + + return_xy = (return_xy + float2(1.0,1.0)) / float2(2.0,2.0); + + return float4( return_xy.x, return_xy.y, 0.0, 1.0 ); +} + +export float4 greyscale_texture_lookup( + float4 texture_sample = float4(0.0, 0.0, 0.0, 1.0) + ) +[[ + anno::description("Sampling a greyscale texture"), + anno::noinline() +]] +{ + return float4(texture_sample.x, texture_sample.x, texture_sample.x, texture_sample.x); +} + +export float3 pixel_normal_world_space() +[[ + anno::description("Pixel normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 vertex_normal_world_space() +[[ + anno::description("Vertex normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 landscape_normal_world_space() +[[ + anno::description("Landscape normal in world space") +]] +{ + float3 normalFromNormalmap = math::floor((::vertex_normal_world_space() * 0.5 + 0.5) * 255.0) / 255.0 * 2.0 - 1.0; + + float2 normalXY = float2(normalFromNormalmap.x, normalFromNormalmap.y); + return float3(normalXY.x, normalXY.y, math::sqrt(math::saturate(1.0 - math::dot(normalXY, normalXY)))); +} + +// Different implementation specific between mdl and hlsl for smoothstep +export float smoothstep(float a, float b, float l) +{ + if (a < b) + { + return math::smoothstep(a, b, l); + } + else if (a > b) + { + return 1.0 - math::smoothstep(b, a, l); + } + else + { + return l <= a ? 0.0 : 1.0; + } +} + +export float2 smoothstep(float2 a, float2 b, float2 l) +{ + return float2(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y)); +} + +export float3 smoothstep(float3 a, float3 b, float3 l) +{ + return float3(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z)); +} + +export float4 smoothstep(float4 a, float4 b, float4 l) +{ + return float4(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z), smoothstep(a.w, b.w, l.w)); +} + +export float2 smoothstep(float2 a, float2 b, float l) +{ + return float2(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l)); +} + +export float3 smoothstep(float3 a, float3 b, float l) +{ + return float3(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l)); +} + +export float4 smoothstep(float4 a, float4 b, float l) +{ + return float4(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l), smoothstep(a.w, b.w, l)); +} + +//------------------ Random from UE4 ----------------------- +float length2(float3 v) +{ + return math::dot(v, v); +} + +float3 GetPerlinNoiseGradientTextureAt(uniform texture_2d PerlinNoiseGradientTexture, float3 v) +{ + const float2 ZShear = float2(17.0f, 89.0f); + + float2 OffsetA = v.z * ZShear; + float2 TexA = (float2(v.x, v.y) + OffsetA + 0.5f) / 128.0f; + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA.x,1.0-TexA.y),tex::wrap_repeat,tex::wrap_repeat); + return float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z) * 2.0 - 1.0; +} + +float3 SkewSimplex(float3 In) +{ + return In + math::dot(In, float3(1.0 / 3.0f) ); +} +float3 UnSkewSimplex(float3 In) +{ + return In - math::dot(In, float3(1.0 / 6.0f) ); +} + +// 3D random number generator inspired by PCGs (permuted congruential generator) +// Using a **simple** Feistel cipher in place of the usual xor shift permutation step +// @param v = 3D integer coordinate +// @return three elements w/ 16 random bits each (0-0xffff). +// ~8 ALU operations for result.x (7 mad, 1 >>) +// ~10 ALU operations for result.xy (8 mad, 2 >>) +// ~12 ALU operations for result.xyz (9 mad, 3 >>) + +//TODO: uint3 +int3 Rand3DPCG16(int3 p) +{ + // taking a signed int then reinterpreting as unsigned gives good behavior for negatives + //TODO: uint3 + int3 v = int3(p); + + // Linear congruential step. These LCG constants are from Numerical Recipies + // For additional #'s, PCG would do multiple LCG steps and scramble each on output + // So v here is the RNG state + v = v * 1664525 + 1013904223; + + // PCG uses xorshift for the final shuffle, but it is expensive (and cheap + // versions of xorshift have visible artifacts). Instead, use simple MAD Feistel steps + // + // Feistel ciphers divide the state into separate parts (usually by bits) + // then apply a series of permutation steps one part at a time. The permutations + // use a reversible operation (usually ^) to part being updated with the result of + // a permutation function on the other parts and the key. + // + // In this case, I'm using v.x, v.y and v.z as the parts, using + instead of ^ for + // the combination function, and just multiplying the other two parts (no key) for + // the permutation function. + // + // That gives a simple mad per round. + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + + // only top 16 bits are well shuffled + return v >> 16; +} + +// Wraps noise for tiling texture creation +// @param v = unwrapped texture parameter +// @param bTiling = true to tile, false to not tile +// @param RepeatSize = number of units before repeating +// @return either original or wrapped coord +float3 NoiseTileWrap(float3 v, bool bTiling, float RepeatSize) +{ + return bTiling ? (math::frac(v / RepeatSize) * RepeatSize) : v; +} + +// Evaluate polynomial to get smooth transitions for Perlin noise +// only needed by Perlin functions in this file +// scalar(per component): 2 add, 5 mul +float4 PerlinRamp(float4 t) +{ + return t * t * t * (t * (t * 6 - 15) + 10); +} + +// Blum-Blum-Shub-inspired pseudo random number generator +// http://www.umbc.edu/~olano/papers/mNoise.pdf +// real BBS uses ((s*s) mod M) with bignums and M as the product of two huge Blum primes +// instead, we use a single prime M just small enough not to overflow +// note that the above paper used 61, which fits in a half, but is unusably bad +// @param Integer valued floating point seed +// @return random number in range [0,1) +// ~8 ALU operations (5 *, 3 frac) +float RandBBSfloat(float seed) +{ + float BBS_PRIME24 = 4093.0; + float s = math::frac(seed / BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + return s; +} + +// Modified noise gradient term +// @param seed - random seed for integer lattice position +// @param offset - [-1,1] offset of evaluation point from lattice point +// @return gradient direction (xyz) and contribution (w) from this lattice point +float4 MGradient(int seed, float3 offset) +{ + //TODO uint + int rand = Rand3DPCG16(int3(seed,0,0)).x; + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1.0 / 0x4000, 1.0 / 0x2000, 1.0 / 0x1000); + float3 direction = float3(int3(rand, rand, rand) & MGradientMask) * MGradientScale - 1; + return float4(direction.x, direction.y, direction.z, math::dot(direction, offset)); +} + +// compute Perlin and related noise corner seed values +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = true to return seed values for a repeating noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @param seed000-seed111 = hash function seeds for the eight corners +// @return fractional part of v +struct SeedValue +{ + float3 fv = float3(0); + float seed000 = 0; + float seed001 = 0; + float seed010 = 0; + float seed011 = 0; + float seed100 = 0; + float seed101 = 0; + float seed110 = 0; + float seed111 = 0; +}; + +SeedValue NoiseSeeds(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds; + seeds.fv = math::frac(v); + float3 iv = math::floor(v); + + const float3 primes = float3(19, 47, 101); + + if (bTiling) + { // can't algebraically combine with primes + seeds.seed000 = math::dot(primes, NoiseTileWrap(iv, true, RepeatSize)); + seeds.seed100 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 0), true, RepeatSize)); + seeds.seed010 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 0), true, RepeatSize)); + seeds.seed110 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 0), true, RepeatSize)); + seeds.seed001 = math::dot(primes, NoiseTileWrap(iv + float3(0, 0, 1), true, RepeatSize)); + seeds.seed101 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 1), true, RepeatSize)); + seeds.seed011 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 1), true, RepeatSize)); + seeds.seed111 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 1), true, RepeatSize)); + } + else + { // get to combine offsets with multiplication by primes in this case + seeds.seed000 = math::dot(iv, primes); + seeds.seed100 = seeds.seed000 + primes.x; + seeds.seed010 = seeds.seed000 + primes.y; + seeds.seed110 = seeds.seed100 + primes.y; + seeds.seed001 = seeds.seed000 + primes.z; + seeds.seed101 = seeds.seed100 + primes.z; + seeds.seed011 = seeds.seed010 + primes.z; + seeds.seed111 = seeds.seed110 + primes.z; + } + + return seeds; +} + +struct SimplexWeights +{ + float4 Result = float4(0); + float3 PosA = float3(0); + float3 PosB = float3(0); + float3 PosC = float3(0); + float3 PosD = float3(0); +}; + +// Computed weights and sample positions for simplex interpolation +// @return float4(a,b,c, d) Barycentric coordinate defined as Filtered = Tex(PosA) * a + Tex(PosB) * b + Tex(PosC) * c + Tex(PosD) * d +SimplexWeights ComputeSimplexWeights3D(float3 OrthogonalPos) +{ + SimplexWeights weights; + float3 OrthogonalPosFloor = math::floor(OrthogonalPos); + + weights.PosA = OrthogonalPosFloor; + weights.PosB = weights.PosA + float3(1, 1, 1); + + OrthogonalPos -= OrthogonalPosFloor; + + float Largest = math::max(OrthogonalPos.x, math::max(OrthogonalPos.y, OrthogonalPos.z)); + float Smallest = math::min(OrthogonalPos.x, math::min(OrthogonalPos.y, OrthogonalPos.z)); + + weights.PosC = weights.PosA + float3(Largest == OrthogonalPos.x, Largest == OrthogonalPos.y, Largest == OrthogonalPos.z); + weights.PosD = weights.PosA + float3(Smallest != OrthogonalPos.x, Smallest != OrthogonalPos.y, Smallest != OrthogonalPos.z); + + float RG = OrthogonalPos.x - OrthogonalPos.y; + float RB = OrthogonalPos.x - OrthogonalPos.z; + float GB = OrthogonalPos.y - OrthogonalPos.z; + + weights.Result.z = + math::min(math::max(0, RG), math::max(0, RB)) // X + + math::min(math::max(0, -RG), math::max(0, GB)) // Y + + math::min(math::max(0, -RB), math::max(0, -GB)); // Z + + weights.Result.w = + math::min(math::max(0, -RG), math::max(0, -RB)) // X + + math::min(math::max(0, RG), math::max(0, -GB)) // Y + + math::min(math::max(0, RB), math::max(0, GB)); // Z + + weights.Result.y = Smallest; + weights.Result.x = 1.0f - weights.Result.y - weights.Result.z - weights.Result.w; + + return weights; +} + +// filtered 3D gradient simple noise (few texture lookups, high quality) +// @param v >0 +// @return random number in the range -1 .. 1 +float SimplexNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 EvalPos) +{ + float3 OrthogonalPos = SkewSimplex(EvalPos); + + SimplexWeights Weights = ComputeSimplexWeights3D(OrthogonalPos); + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 32 bit) + float3 A = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosA); + float3 B = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosB); + float3 C = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosC); + float3 D = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosD); + + Weights.PosA = UnSkewSimplex(Weights.PosA); + Weights.PosB = UnSkewSimplex(Weights.PosB); + Weights.PosC = UnSkewSimplex(Weights.PosC); + Weights.PosD = UnSkewSimplex(Weights.PosD); + + float DistanceWeight; + + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosA)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float a = math::dot(A, EvalPos - Weights.PosA) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosB)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float b = math::dot(B, EvalPos - Weights.PosB) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosC)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float c = math::dot(C, EvalPos - Weights.PosC) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosD)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float d = math::dot(D, EvalPos - Weights.PosD) * DistanceWeight; + + return 32 * (a + b + c + d); +} + +// filtered 3D noise, can be optimized +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 v, bool bTiling, float RepeatSize) +{ + bTiling = true; + float3 fv = math::frac(v); + float3 iv0 = NoiseTileWrap(math::floor(v), bTiling, RepeatSize); + float3 iv1 = NoiseTileWrap(iv0 + 1, bTiling, RepeatSize); + + const int2 ZShear = int2(17, 89); + + float2 OffsetA = iv0.z * ZShear; + float2 OffsetB = OffsetA + ZShear; // non-tiling, use relative offset + if (bTiling) // tiling, have to compute from wrapped coordinates + { + OffsetB = iv1.z * ZShear; + } + + // Texture size scale factor + float ts = 1 / 128.0f; + + // texture coordinates for iv0.xy, as offset for both z slices + float2 TexA0 = (float2(iv0.x, iv0.y) + OffsetA + 0.5f) * ts; + float2 TexB0 = (float2(iv0.x, iv0.y) + OffsetB + 0.5f) * ts; + + // texture coordinates for iv1.xy, as offset for both z slices + float2 TexA1 = TexA0 + ts; // for non-tiling, can compute relative to existing coordinates + float2 TexB1 = TexB0 + ts; + if (bTiling) // for tiling, need to compute from wrapped coordinates + { + TexA1 = (float2(iv1.x, iv1.y) + OffsetA + 0.5f) * ts; + TexB1 = (float2(iv1.x, iv1.y) + OffsetB + 0.5f) * ts; + } + + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 8, 16 or 32 bit) + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + float3 PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 A = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 B = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 C = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 D = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 E = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 F = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 G = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 H = PerlinNoiseColor * 2 - 1; + + float a = math::dot(A, fv - float3(0, 0, 0)); + float b = math::dot(B, fv - float3(1, 0, 0)); + float c = math::dot(C, fv - float3(0, 1, 0)); + float d = math::dot(D, fv - float3(1, 1, 0)); + float e = math::dot(E, fv - float3(0, 0, 1)); + float f = math::dot(F, fv - float3(1, 0, 1)); + float g = math::dot(G, fv - float3(0, 1, 1)); + float h = math::dot(H, fv - float3(1, 1, 1)); + + float4 Weights = PerlinRamp(math::frac(float4(fv.x, fv.y, fv.z, 0))); + + float i = math::lerp(math::lerp(a, b, Weights.x), math::lerp(c, d, Weights.x), Weights.y); + float j = math::lerp(math::lerp(e, f, Weights.x), math::lerp(g, h, Weights.x), Weights.y); + + return math::lerp(i, j, Weights.z); +} + +// @return random number in the range -1 .. 1 +// scalar: 6 frac, 31 mul/mad, 15 add, +float FastGradientPerlinNoise3D_TEX(uniform texture_3d PerlinNoise3DTexture, float3 xyz) +{ + // needs to be the same value when creating the PerlinNoise3D texture + float Extent = 16; + + // last texel replicated and needed for filtering + // scalar: 3 frac, 6 mul + xyz = math::frac(xyz / (Extent - 1)) * (Extent - 1); + + // scalar: 3 frac + float3 uvw = math::frac(xyz); + // = floor(xyz); + // scalar: 3 add + float3 p0 = xyz - uvw; +// float3 f = math::pow(uvw, 2) * 3.0f - math::pow(uvw, 3) * 2.0f; // original perlin hermite (ok when used without bump mapping) + // scalar: 2*3 add 5*3 mul + float4 pr = PerlinRamp(float4(uvw.x, uvw.y, uvw.z, 0)); + float3 f = float3(pr.x, pr.y, pr.z); // new, better with continues second derivative for bump mapping + // scalar: 3 add + float3 p = p0 + f; + // scalar: 3 mad + // TODO: need reverse??? + float4 NoiseSample = tex::lookup_float4(PerlinNoise3DTexture, p / Extent + 0.5f / Extent); // +0.5f to get rid of bilinear offset + + // reconstruct from 8bit (using mad with 2 constants and dot4 was same instruction count) + // scalar: 4 mad, 3 mul, 3 add + float3 n = float3(NoiseSample.x, NoiseSample.y, NoiseSample.z) * 255.0f / 127.0f - 1.0f; + float d = NoiseSample.w * 255.f - 127; + return math::dot(xyz, n) - d; +} + +// Perlin-style "Modified Noise" +// http://www.umbc.edu/~olano/papers/index.html#mNoise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = MGradient(int(seeds.seed000), seeds.fv - float3(0, 0, 0)).w; + float rand100 = MGradient(int(seeds.seed100), seeds.fv - float3(1, 0, 0)).w; + float rand010 = MGradient(int(seeds.seed010), seeds.fv - float3(0, 1, 0)).w; + float rand110 = MGradient(int(seeds.seed110), seeds.fv - float3(1, 1, 0)).w; + float rand001 = MGradient(int(seeds.seed001), seeds.fv - float3(0, 0, 1)).w; + float rand101 = MGradient(int(seeds.seed101), seeds.fv - float3(1, 0, 1)).w; + float rand011 = MGradient(int(seeds.seed011), seeds.fv - float3(0, 1, 1)).w; + float rand111 = MGradient(int(seeds.seed111), seeds.fv - float3(1, 1, 1)).w; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D value noise - used to be incorrectly called Perlin noise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float ValueNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = RandBBSfloat(seeds.seed000) * 2 - 1; + float rand100 = RandBBSfloat(seeds.seed100) * 2 - 1; + float rand010 = RandBBSfloat(seeds.seed010) * 2 - 1; + float rand110 = RandBBSfloat(seeds.seed110) * 2 - 1; + float rand001 = RandBBSfloat(seeds.seed001) * 2 - 1; + float rand101 = RandBBSfloat(seeds.seed101) * 2 - 1; + float rand011 = RandBBSfloat(seeds.seed011) * 2 - 1; + float rand111 = RandBBSfloat(seeds.seed111) * 2 - 1; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D jitter offset within a voronoi noise cell +// @param pos - integer lattice corner +// @return random offsets vector +float3 VoronoiCornerSample(float3 pos, int Quality) +{ + // random values in [-0.5, 0.5] + float3 noise = float3(Rand3DPCG16(int3(pos))) / 0xffff - 0.5; + + // quality level 1 or 2: searches a 2x2x2 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 2x2x2 search + if (Quality <= 2) + { + return math::normalize(noise) * 0.2588; + } + + // quality level 3: searches a 3x3x3 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 3x3x3 search + if (Quality == 3) + { + return math::normalize(noise) * 0.3090; + } + + // quality level 4: jitter to anywhere in the cell, needs 4x4x4 search + return noise; +} + +// compare previous best with a new candidate +// not producing point locations makes it easier for compiler to eliminate calculations when they're not needed +// @param minval = location and distance of best candidate seed point before the new one +// @param candidate = candidate seed point +// @param offset = 3D offset to new candidate seed point +// @param bDistanceOnly = if true, only set maxval.w with distance, otherwise maxval.w is distance and maxval.xyz is position +// @return position (if bDistanceOnly is false) and distance to closest seed point so far +float4 VoronoiCompare(float4 minval, float3 candidate, float3 offset, bool bDistanceOnly) +{ + if (bDistanceOnly) + { + return float4(0, 0, 0, math::min(minval.w, math::dot(offset, offset))); + } + else + { + float newdist = math::dot(offset, offset); + return newdist > minval.w ? minval : float4(candidate.x, candidate.y, candidate.z, newdist); + } +} + +// 220 instruction Worley noise +float4 VoronoiNoise3D_ALU(float3 v, int Quality, bool bTiling, float RepeatSize, bool bDistanceOnly) +{ + float3 fv = math::frac(v), fv2 = math::frac(v + 0.5); + float3 iv = math::floor(v), iv2 = math::floor(v + 0.5); + + // with initial minimum distance = infinity (or at least bigger than 4), first min is optimized away + float4 mindist = float4(0,0,0,100); + float3 p, offset; + + // quality level 3: do a 3x3x3 search + if (Quality == 3) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 1; ++offset_x) + { + for (offset_y = -1; offset_y <= 1; ++offset_y) + { + for (offset_z = -1; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + + // everybody else searches a base 2x2x2 neighborhood + else + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = 0; offset_x <= 1; ++offset_x) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // quality level 2, do extra set of points, offset by half a cell + if (Quality == 2) + { + // 467 is just an offset to a different area in the random number field to avoid similar neighbor artifacts + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize) + 467, Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + } + + // quality level 4: add extra sets of four cells in each direction + if (Quality >= 4) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 2; offset_x += 3) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + // along x axis + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along y axis + p = float3(offset.y, offset.z, offset.x) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.y, offset.z, offset.x), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along z axis + p = float3(offset.z, offset.x, offset.y) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.z, offset.x, offset.y), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + } + } + } + } + + // transform squared distance to real distance + return float4(mindist.x, mindist.y, mindist.z, math::sqrt(mindist.w)); +} + +// Coordinates for corners of a Simplex tetrahedron +// Based on McEwan et al., Efficient computation of noise in GLSL, JGT 2011 +// @param v = 3D noise argument +// @return 4 corner locations +float4x3 SimplexCorners(float3 v) +{ + // find base corner by skewing to tetrahedral space and back + float3 tet = math::floor(v + v.x/3 + v.y/3 + v.z/3); + float3 base = tet - tet.x/6 - tet.y/6 - tet.z/6; + float3 f = v - base; + + // Find offsets to other corners (McEwan did this in tetrahedral space, + // but since skew is along x=y=z axis, this works in Euclidean space too.) + float3 g = math::step(float3(f.y,f.z,f.x), float3(f.x,f.y,f.z)), h = 1 - float3(g.z, g.x, g.y); + float3 a1 = math::min(g, h) - 1.0 / 6.0, a2 = math::max(g, h) - 1.0 / 3.0; + + // four corners + return float4x3(base, base + a1, base + a2, base + 0.5); +} + +// Improved smoothing function for simplex noise +// @param f = fractional distance to four tetrahedral corners +// @return weight for each corner +float4 SimplexSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + return (1 * scale + s*(-3 * scale + s*(3 * scale - s*scale))); +} + +// Derivative of simplex noise smoothing function +// @param f = fractional distanc eto four tetrahedral corners +// @return derivative of smoothing function for each corner by x, y and z +float3x4 SimplexDSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + s = -12 * scale + s*(24 * scale - s * 12 * scale); + + return float3x4( + s * float4(f[0][0], f[1][0], f[2][0], f[3][0]), + s * float4(f[0][1], f[1][1], f[2][1], f[3][1]), + s * float4(f[0][2], f[1][2], f[2][2], f[3][2])); +} + +// Simplex noise and its Jacobian derivative +// @param v = 3D noise argument +// @param bTiling = whether to repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension, must be a multiple of 3 +// @return float3x3 Jacobian in J[*].xyz, vector noise in J[*].w +// J[0].w, J[1].w, J[2].w is a Perlin-style simplex noise with vector output, e.g. (Nx, Ny, Nz) +// J[i].x is X derivative of the i'th component of the noise so J[2].x is dNz/dx +// You can use this to compute the noise, gradient, curl, or divergence: +// float3x4 J = JacobianSimplex_ALU(...); +// float3 VNoise = float3(J[0].w, J[1].w, J[2].w); // 3D noise +// float3 Grad = J[0].xyz; // gradient of J[0].w +// float3 Curl = float3(J[1][2]-J[2][1], J[2][0]-J[0][2], J[0][1]-J[1][2]); +// float Div = J[0][0]+J[1][1]+J[2][2]; +// All of these are confirmed to compile out all unneeded terms. +// So Grad of X doesn't compute Y or Z components, and VNoise doesn't do any of the derivative computation. +float3x4 JacobianSimplex_ALU(float3 v, bool bTiling, float RepeatSize) +{ + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1. / 0x4000, 1. / 0x2000, 1. / 0x1000); + + // corners of tetrahedron + float4x3 T = SimplexCorners(v); + // TODO: uint3 + int3 rand = int3(0); + float4x3 gvec0 = float4x3(1.0); + float4x3 gvec1 = float4x3(1.0); + float4x3 gvec2 = float4x3(1.0); + float4x3 fv = float4x3(1.0); + float3x4 grad = float3x4(1.0); + + // processing of tetrahedral vertices, unrolled + // to compute gradient at each corner + fv[0] = v - T[0]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[0] + 0.5, bTiling, RepeatSize)))); + gvec0[0] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[0] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[0] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][0] = math::dot(gvec0[0], fv[0]); + grad[1][0] = math::dot(gvec1[0], fv[0]); + grad[2][0] = math::dot(gvec2[0], fv[0]); + + fv[1] = v - T[1]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[1] + 0.5, bTiling, RepeatSize)))); + gvec0[1] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][1] = math::dot(gvec0[1], fv[1]); + grad[1][1] = math::dot(gvec1[1], fv[1]); + grad[2][1] = math::dot(gvec2[1], fv[1]); + + fv[2] = v - T[2]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[2] + 0.5, bTiling, RepeatSize)))); + gvec0[2] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[2] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[2] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][2] = math::dot(gvec0[2], fv[2]); + grad[1][2] = math::dot(gvec1[2], fv[2]); + grad[2][2] = math::dot(gvec2[2], fv[2]); + + fv[3] = v - T[3]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[3] + 0.5, bTiling, RepeatSize)))); + gvec0[3] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[3] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[3] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][3] = math::dot(gvec0[3], fv[3]); + grad[1][3] = math::dot(gvec1[3], fv[3]); + grad[2][3] = math::dot(gvec2[3], fv[3]); + + // blend gradients + float4 sv = SimplexSmooth(fv); + float3x4 ds = SimplexDSmooth(fv); + + float3x4 jacobian = float3x4(1.0); + float3 vec0 = gvec0*sv + grad[0]*ds; // NOTE: mdl is column major, convert from UE4 (row major) + jacobian[0] = float4(vec0.x, vec0.y, vec0.z, math::dot(sv, grad[0])); + float3 vec1 = gvec1*sv + grad[1]*ds; + jacobian[1] = float4(vec1.x, vec1.y, vec1.z, math::dot(sv, grad[1])); + float3 vec2 = gvec2*sv + grad[2]*ds; + jacobian[2] = float4(vec2.x, vec2.y, vec2.z, math::dot(sv, grad[2])); + + return jacobian; +} + +// While RepeatSize is a float here, the expectation is that it would be largely integer values coming in from the UI. The downstream logic assumes +// floats for all called functions (NoiseTileWrap) and this prevents any float-to-int conversion errors from automatic type conversion. +float Noise3D_Multiplexer(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, int Function, float3 Position, int Quality, bool bTiling, float RepeatSize) +{ + // verified, HLSL compiled out the switch if Function is a constant + switch(Function) + { + case 0: + return SimplexNoise3D_TEX(PerlinNoiseGradientTexture, Position); + case 1: + return GradientNoise3D_TEX(PerlinNoiseGradientTexture, Position, bTiling, RepeatSize); + case 2: + return FastGradientPerlinNoise3D_TEX(PerlinNoise3DTexture, Position); + case 3: + return GradientNoise3D_ALU(Position, bTiling, RepeatSize); + case 4: + return ValueNoise3D_ALU(Position, bTiling, RepeatSize); + case 5: + return VoronoiNoise3D_ALU(Position, Quality, bTiling, RepeatSize, true).w * 2.0 - 1.0; + } + return 0; +} +//---------------------------------------------------------- + +export float noise(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, float3 Position, float Scale, float Quality, float Function, float Turbulence, float Levels, float OutputMin, float OutputMax, float LevelScale, float FilterWidth, float Tiling, float RepeatSize) +[[ + anno::description("Noise"), + anno::noinline() +]] +{ + Position *= Scale; + FilterWidth *= Scale; + + float Out = 0.0f; + float OutScale = 1.0f; + float InvLevelScale = 1.0f / LevelScale; + + int iFunction(Function); + int iQuality(Quality); + int iLevels(Levels); + bool bTurbulence(Turbulence); + bool bTiling(Tiling); + + for(int i = 0; i < iLevels; ++i) + { + // fade out noise level that are too high frequent (not done through dynamic branching as it usually requires gradient instructions) + OutScale *= math::saturate(1.0 - FilterWidth); + + if(bTurbulence) + { + Out += math::abs(Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize)) * OutScale; + } + else + { + Out += Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize) * OutScale; + } + + Position *= LevelScale; + RepeatSize *= LevelScale; + OutScale *= InvLevelScale; + FilterWidth *= LevelScale; + } + + if(!bTurbulence) + { + // bring -1..1 to 0..1 range + Out = Out * 0.5f + 0.5f; + } + + // Out is in 0..1 range + return math::lerp(OutputMin, OutputMax, Out); +} + +// Material node for noise functions returning a vector value +// @param LevelScale usually 2 but higher values allow efficient use of few levels +// @return in user defined range (OutputMin..OutputMax) +export float4 vector4_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise"), + anno::noinline() +]] +{ + float4 result = float4(0,0,0,1); + float3 ret = float3(0); + int iQuality = int(Quality); + int iFunction = int(Function); + bool bTiling = Tiling > 0.0; + + float3x4 Jacobian = JacobianSimplex_ALU(Position, bTiling, TileSize); // compiled out if not used + + // verified, HLSL compiled out the switch if Function is a constant + switch (iFunction) + { + case 0: // Cellnoise + ret = float3(Rand3DPCG16(int3(math::floor(NoiseTileWrap(Position, bTiling, TileSize))))) / 0xffff; + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 1: // Color noise + ret = float3(Jacobian[0].w, Jacobian[1].w, Jacobian[2].w); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 2: // Gradient + result = Jacobian[0]; + break; + case 3: // Curl + ret = float3(Jacobian[2][1] - Jacobian[1][2], Jacobian[0][2] - Jacobian[2][0], Jacobian[1][0] - Jacobian[0][1]); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 4: // Voronoi + result = VoronoiNoise3D_ALU(Position, iQuality, bTiling, TileSize, false); + break; + } + return result; +} + +export float3 vector3_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise float3 version"), + anno::noinline() +]] +{ + float4 noise = vector4_noise(Position, Quality, Function, Tiling, TileSize); + return float3(noise.x, noise.y, noise.z); +} + + +// workaround for ue4 fresnel (without supporting for camera vector) : replacing it with 0.0, means facing to the view +export float fresnel(float exponent [[anno::unused()]], float base_reflect_fraction [[anno::unused()]], float3 normal [[anno::unused()]]) +[[ + anno::description("Fresnel"), + anno::noinline() +]] +{ + return 0.0; +} + +export float fresnel_function(float3 normal_vector [[anno::unused()]], float3 camera_vector [[anno::unused()]], + bool invert_fresnel [[anno::unused()]], float power [[anno::unused()]], + bool use_cheap_contrast [[anno::unused()]], float cheap_contrast_dark [[anno::unused()]], float cheap_contrast_bright [[anno::unused()]], + bool clamp_fresnel_dot_product [[anno::unused()]]) +[[ + anno::description("Fresnel Function"), + anno::noinline() +]] +{ + return 0.0; +} + +export float3 camera_vector() +[[ + anno::description("Camera Vector"), + anno::noinline() +]] +{ + // assume camera postion is 0,0,0 + return math::normalize(float3(0) - state::transform_point(state::coordinate_internal,state::coordinate_world,state::position())); +} + +export float pixel_depth() +[[ + anno::description("Pixel Depth"), + anno::noinline() +]] +{ + return 256.0f; +} + +export float scene_depth() +[[ + anno::description("Scene Depth") +]] +{ + return 65500.0f; +} + +export float3 scene_color() +[[ + anno::description("Scene Color") +]] +{ + return float3(1.0f); +} + +export float4 vertex_color() +[[ + anno::description("Vertex Color"), + anno::noinline() +]] +{ + return float4(1.0f); +} + +export float4 vertex_color_from_coordinate(int VertexColorCoordinateIndex) +[[ + anno::description("Vertex Color for float2 PrimVar"), + anno::noinline() +]] +{ + // Kit only supports 4 uv sets, 2 uvs are available to vertex color. if vertex color index is invalid, output the constant WHITE color intead + return (VertexColorCoordinateIndex > 2) ? float4(1.0f) : float4(state::texture_coordinate(VertexColorCoordinateIndex).x, state::texture_coordinate(VertexColorCoordinateIndex).y, state::texture_coordinate(VertexColorCoordinateIndex+1).x, state::texture_coordinate(VertexColorCoordinateIndex+1).y); +} + +export float3 camera_position() +[[ + anno::description("Camera Position"), + anno::noinline() +]] +{ + return float3(1000.0f, 0, 0); +} + +export float3 rotate_about_axis(float4 NormalizedRotationAxisAndAngle, float3 PositionOnAxis, float3 Position) +[[ + anno::description("Rotates Position about the given axis by the given angle") +]] +{ + // Project Position onto the rotation axis and find the closest point on the axis to Position + float3 NormalizedRotationAxis = float3(NormalizedRotationAxisAndAngle.x,NormalizedRotationAxisAndAngle.y,NormalizedRotationAxisAndAngle.z); + float3 ClosestPointOnAxis = PositionOnAxis + NormalizedRotationAxis * math::dot(NormalizedRotationAxis, Position - PositionOnAxis); + // Construct orthogonal axes in the plane of the rotation + float3 UAxis = Position - ClosestPointOnAxis; + float3 VAxis = math::cross(NormalizedRotationAxis, UAxis); + float[2] SinCosAngle = math::sincos(NormalizedRotationAxisAndAngle.w); + // Rotate using the orthogonal axes + float3 R = UAxis * SinCosAngle[1] + VAxis * SinCosAngle[0]; + // Reconstruct the rotated world space position + float3 RotatedPosition = ClosestPointOnAxis + R; + // Convert from position to a position offset + return RotatedPosition - Position; +} + +export float2 rotate_scale_offset_texcoords(float2 InTexCoords, float4 InRotationScale, float2 InOffset) +[[ + anno::description("Returns a float2 texture coordinate after 2x2 transform and offset applied") +]] +{ + return float2(math::dot(InTexCoords, float2(InRotationScale.x, InRotationScale.y)), math::dot(InTexCoords, float2(InRotationScale.z, InRotationScale.w))) + InOffset; +} + +export float3 reflection_custom_world_normal(float3 WorldNormal, bool bNormalizeInputNormal) +[[ + anno::description("Reflection vector about the specified world space normal") +]] +{ + if (bNormalizeInputNormal) + { + WorldNormal = math::normalize(WorldNormal); + } + + return -camera_vector() + WorldNormal * math::dot(WorldNormal, camera_vector()) * 2.0; +} + +export float3 reflection_vector() +[[ + anno::description("Reflection Vector"), + anno::noinline() +]] +{ + float3 normal = state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); + return reflection_custom_world_normal(normal, false); +} + +export float dither_temporalAA(float AlphaThreshold = 0.5f, float Random = 1.0f [[anno::unused()]]) +[[ + anno::description("Dither TemporalAA"), + anno::noinline() +]] +{ + return AlphaThreshold; +} + diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function_1.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function_1.mdl new file mode 100644 index 0000000000000000000000000000000000000000..dd9f564d26a9915db37e4eea65b0a56709a2af98 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/OmniUe4Function_1.mdl @@ -0,0 +1,1163 @@ +/*************************************************************************************************** + * Copyright 2020 NVIDIA Corporation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of NVIDIA CORPORATION nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **************************************************************************************************/ + +//* 1.0.1 - using absolute import paths when importing standard modules + +mdl 1.3; + +import ::df::*; +import ::state::*; +import ::math::*; +import ::tex::*; +import ::anno::*; + + +export float3x3 matrix_inverse(float3x3 matrix) +[[ + anno::description("Inverse the 3x3 matrix"), + anno::noinline() +]] +{ + float determinant = (matrix[0][0] * matrix[1][1] * matrix[2][2] + matrix[1][0] * matrix[2][1] * matrix[0][2] + matrix[2][0] * matrix[0][1] * matrix[1][2]) - (matrix[0][2] * matrix[1][1] * matrix[2][0] + matrix[1][2] * matrix[2][1] * matrix[0][0] + matrix[2][2] * matrix[0][1] * matrix[1][0]); + float rdet = 1.0f / determinant; + + float3x3 result; + + result[0][0] = rdet * (matrix[1][1] * matrix[2][2] - matrix[1][2] * matrix[2][1]); + result[0][1] = -rdet * (matrix[0][1] * matrix[2][2] - matrix[0][2] * matrix[2][1]); + result[0][2] = rdet * (matrix[0][1] * matrix[1][2] - matrix[0][2] * matrix[1][1]); + + result[1][0] = -rdet * (matrix[1][0] * matrix[2][2] - matrix[1][2] * matrix[2][0]); + result[1][1] = rdet * (matrix[0][0] * matrix[2][2] - matrix[0][2] * matrix[2][0]); + result[1][2] = -rdet * (matrix[0][0] * matrix[1][2] - matrix[0][2] * matrix[1][0]); + + result[2][0] = rdet * (matrix[1][0] * matrix[2][1] - matrix[1][1] * matrix[2][0]); + result[2][1] = -rdet * (matrix[0][0] * matrix[2][1] - matrix[0][1] * matrix[2][0]); + result[2][2] = rdet * (matrix[0][0] * matrix[1][1] - matrix[0][1] * matrix[1][0]); + + return result; +} + +export float3 transform_vector_from_tangent_to_world(float3 vector) +[[ + anno::description("Transform vector from tangent space to world space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + return tangent_to_world * vector; +} + +export float3 transform_vector_from_world_to_tangent(float3 vector) +[[ + anno::description("Transform vector from world space to tangent space"), + anno::noinline() +]] +{ + /* flip_tangent_v */ + float3x3 tangent_to_world = float3x3(state::texture_tangent_u(0), -state::texture_tangent_v(0), state::normal()); + + // inverse tangent to world matrix + float3x3 world_to_tangent = matrix_inverse(tangent_to_world); + + return world_to_tangent * vector; +} + +export float4 unpack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Unpack a normal stored in a normal map"), + anno::noinline() +]] +{ + float2 normal_xy = float2(texture_sample.x, texture_sample.y); + + normal_xy = normal_xy * float2(2.0,2.0) - float2(1.0,1.0); + float normal_z = math::sqrt( math::saturate( 1.0 - math::dot( normal_xy, normal_xy ) ) ); + return float4( normal_xy.x, normal_xy.y, normal_z, 1.0 ); +} + +// for get color value from normal. +export float4 pack_normal_map( + float4 texture_sample = float4(0.0, 0.0, 1.0, 1.0) + ) +[[ + anno::description("Pack to color from a normal") +]] +{ + float2 return_xy = float2(texture_sample.x, texture_sample.y); + + return_xy = (return_xy + float2(1.0,1.0)) / float2(2.0,2.0); + + return float4( return_xy.x, return_xy.y, 0.0, 1.0 ); +} + +export float4 greyscale_texture_lookup( + float4 texture_sample = float4(0.0, 0.0, 0.0, 1.0) + ) +[[ + anno::description("Sampling a greyscale texture"), + anno::noinline() +]] +{ + return float4(texture_sample.x, texture_sample.x, texture_sample.x, texture_sample.x); +} + +export float3 pixel_normal_world_space() +[[ + anno::description("Pixel normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 vertex_normal_world_space() +[[ + anno::description("Vertex normal in world space"), + anno::noinline() +]] +{ + return state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); +} + +export float3 landscape_normal_world_space() +[[ + anno::description("Landscape normal in world space") +]] +{ + float3 normalFromNormalmap = math::floor((::vertex_normal_world_space() * 0.5 + 0.5) * 255.0) / 255.0 * 2.0 - 1.0; + + float2 normalXY = float2(normalFromNormalmap.x, normalFromNormalmap.y); + return float3(normalXY.x, normalXY.y, math::sqrt(math::saturate(1.0 - math::dot(normalXY, normalXY)))); +} + +// Different implementation specific between mdl and hlsl for smoothstep +export float smoothstep(float a, float b, float l) +{ + if (a < b) + { + return math::smoothstep(a, b, l); + } + else if (a > b) + { + return 1.0 - math::smoothstep(b, a, l); + } + else + { + return l <= a ? 0.0 : 1.0; + } +} + +export float2 smoothstep(float2 a, float2 b, float2 l) +{ + return float2(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y)); +} + +export float3 smoothstep(float3 a, float3 b, float3 l) +{ + return float3(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z)); +} + +export float4 smoothstep(float4 a, float4 b, float4 l) +{ + return float4(smoothstep(a.x, b.x, l.x), smoothstep(a.y, b.y, l.y), smoothstep(a.z, b.z, l.z), smoothstep(a.w, b.w, l.w)); +} + +export float2 smoothstep(float2 a, float2 b, float l) +{ + return float2(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l)); +} + +export float3 smoothstep(float3 a, float3 b, float l) +{ + return float3(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l)); +} + +export float4 smoothstep(float4 a, float4 b, float l) +{ + return float4(smoothstep(a.x, b.x, l), smoothstep(a.y, b.y, l), smoothstep(a.z, b.z, l), smoothstep(a.w, b.w, l)); +} + +//------------------ Random from UE4 ----------------------- +float length2(float3 v) +{ + return math::dot(v, v); +} + +float3 GetPerlinNoiseGradientTextureAt(uniform texture_2d PerlinNoiseGradientTexture, float3 v) +{ + const float2 ZShear = float2(17.0f, 89.0f); + + float2 OffsetA = v.z * ZShear; + float2 TexA = (float2(v.x, v.y) + OffsetA + 0.5f) / 128.0f; + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA.x,1.0-TexA.y),tex::wrap_repeat,tex::wrap_repeat); + return float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z) * 2.0 - 1.0; +} + +float3 SkewSimplex(float3 In) +{ + return In + math::dot(In, float3(1.0 / 3.0f) ); +} +float3 UnSkewSimplex(float3 In) +{ + return In - math::dot(In, float3(1.0 / 6.0f) ); +} + +// 3D random number generator inspired by PCGs (permuted congruential generator) +// Using a **simple** Feistel cipher in place of the usual xor shift permutation step +// @param v = 3D integer coordinate +// @return three elements w/ 16 random bits each (0-0xffff). +// ~8 ALU operations for result.x (7 mad, 1 >>) +// ~10 ALU operations for result.xy (8 mad, 2 >>) +// ~12 ALU operations for result.xyz (9 mad, 3 >>) + +//TODO: uint3 +int3 Rand3DPCG16(int3 p) +{ + // taking a signed int then reinterpreting as unsigned gives good behavior for negatives + //TODO: uint3 + int3 v = int3(p); + + // Linear congruential step. These LCG constants are from Numerical Recipies + // For additional #'s, PCG would do multiple LCG steps and scramble each on output + // So v here is the RNG state + v = v * 1664525 + 1013904223; + + // PCG uses xorshift for the final shuffle, but it is expensive (and cheap + // versions of xorshift have visible artifacts). Instead, use simple MAD Feistel steps + // + // Feistel ciphers divide the state into separate parts (usually by bits) + // then apply a series of permutation steps one part at a time. The permutations + // use a reversible operation (usually ^) to part being updated with the result of + // a permutation function on the other parts and the key. + // + // In this case, I'm using v.x, v.y and v.z as the parts, using + instead of ^ for + // the combination function, and just multiplying the other two parts (no key) for + // the permutation function. + // + // That gives a simple mad per round. + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + v.x += v.y*v.z; + v.y += v.z*v.x; + v.z += v.x*v.y; + + // only top 16 bits are well shuffled + return v >> 16; +} + +// Wraps noise for tiling texture creation +// @param v = unwrapped texture parameter +// @param bTiling = true to tile, false to not tile +// @param RepeatSize = number of units before repeating +// @return either original or wrapped coord +float3 NoiseTileWrap(float3 v, bool bTiling, float RepeatSize) +{ + return bTiling ? (math::frac(v / RepeatSize) * RepeatSize) : v; +} + +// Evaluate polynomial to get smooth transitions for Perlin noise +// only needed by Perlin functions in this file +// scalar(per component): 2 add, 5 mul +float4 PerlinRamp(float4 t) +{ + return t * t * t * (t * (t * 6 - 15) + 10); +} + +// Blum-Blum-Shub-inspired pseudo random number generator +// http://www.umbc.edu/~olano/papers/mNoise.pdf +// real BBS uses ((s*s) mod M) with bignums and M as the product of two huge Blum primes +// instead, we use a single prime M just small enough not to overflow +// note that the above paper used 61, which fits in a half, but is unusably bad +// @param Integer valued floating point seed +// @return random number in range [0,1) +// ~8 ALU operations (5 *, 3 frac) +float RandBBSfloat(float seed) +{ + float BBS_PRIME24 = 4093.0; + float s = math::frac(seed / BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + s = math::frac(s * s * BBS_PRIME24); + return s; +} + +// Modified noise gradient term +// @param seed - random seed for integer lattice position +// @param offset - [-1,1] offset of evaluation point from lattice point +// @return gradient direction (xyz) and contribution (w) from this lattice point +float4 MGradient(int seed, float3 offset) +{ + //TODO uint + int rand = Rand3DPCG16(int3(seed,0,0)).x; + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1.0 / 0x4000, 1.0 / 0x2000, 1.0 / 0x1000); + float3 direction = float3(int3(rand, rand, rand) & MGradientMask) * MGradientScale - 1; + return float4(direction.x, direction.y, direction.z, math::dot(direction, offset)); +} + +// compute Perlin and related noise corner seed values +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = true to return seed values for a repeating noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @param seed000-seed111 = hash function seeds for the eight corners +// @return fractional part of v +struct SeedValue +{ + float3 fv = float3(0); + float seed000 = 0; + float seed001 = 0; + float seed010 = 0; + float seed011 = 0; + float seed100 = 0; + float seed101 = 0; + float seed110 = 0; + float seed111 = 0; +}; + +SeedValue NoiseSeeds(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds; + seeds.fv = math::frac(v); + float3 iv = math::floor(v); + + const float3 primes = float3(19, 47, 101); + + if (bTiling) + { // can't algebraically combine with primes + seeds.seed000 = math::dot(primes, NoiseTileWrap(iv, true, RepeatSize)); + seeds.seed100 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 0), true, RepeatSize)); + seeds.seed010 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 0), true, RepeatSize)); + seeds.seed110 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 0), true, RepeatSize)); + seeds.seed001 = math::dot(primes, NoiseTileWrap(iv + float3(0, 0, 1), true, RepeatSize)); + seeds.seed101 = math::dot(primes, NoiseTileWrap(iv + float3(1, 0, 1), true, RepeatSize)); + seeds.seed011 = math::dot(primes, NoiseTileWrap(iv + float3(0, 1, 1), true, RepeatSize)); + seeds.seed111 = math::dot(primes, NoiseTileWrap(iv + float3(1, 1, 1), true, RepeatSize)); + } + else + { // get to combine offsets with multiplication by primes in this case + seeds.seed000 = math::dot(iv, primes); + seeds.seed100 = seeds.seed000 + primes.x; + seeds.seed010 = seeds.seed000 + primes.y; + seeds.seed110 = seeds.seed100 + primes.y; + seeds.seed001 = seeds.seed000 + primes.z; + seeds.seed101 = seeds.seed100 + primes.z; + seeds.seed011 = seeds.seed010 + primes.z; + seeds.seed111 = seeds.seed110 + primes.z; + } + + return seeds; +} + +struct SimplexWeights +{ + float4 Result = float4(0); + float3 PosA = float3(0); + float3 PosB = float3(0); + float3 PosC = float3(0); + float3 PosD = float3(0); +}; + +// Computed weights and sample positions for simplex interpolation +// @return float4(a,b,c, d) Barycentric coordinate defined as Filtered = Tex(PosA) * a + Tex(PosB) * b + Tex(PosC) * c + Tex(PosD) * d +SimplexWeights ComputeSimplexWeights3D(float3 OrthogonalPos) +{ + SimplexWeights weights; + float3 OrthogonalPosFloor = math::floor(OrthogonalPos); + + weights.PosA = OrthogonalPosFloor; + weights.PosB = weights.PosA + float3(1, 1, 1); + + OrthogonalPos -= OrthogonalPosFloor; + + float Largest = math::max(OrthogonalPos.x, math::max(OrthogonalPos.y, OrthogonalPos.z)); + float Smallest = math::min(OrthogonalPos.x, math::min(OrthogonalPos.y, OrthogonalPos.z)); + + weights.PosC = weights.PosA + float3(Largest == OrthogonalPos.x, Largest == OrthogonalPos.y, Largest == OrthogonalPos.z); + weights.PosD = weights.PosA + float3(Smallest != OrthogonalPos.x, Smallest != OrthogonalPos.y, Smallest != OrthogonalPos.z); + + float RG = OrthogonalPos.x - OrthogonalPos.y; + float RB = OrthogonalPos.x - OrthogonalPos.z; + float GB = OrthogonalPos.y - OrthogonalPos.z; + + weights.Result.z = + math::min(math::max(0, RG), math::max(0, RB)) // X + + math::min(math::max(0, -RG), math::max(0, GB)) // Y + + math::min(math::max(0, -RB), math::max(0, -GB)); // Z + + weights.Result.w = + math::min(math::max(0, -RG), math::max(0, -RB)) // X + + math::min(math::max(0, RG), math::max(0, -GB)) // Y + + math::min(math::max(0, RB), math::max(0, GB)); // Z + + weights.Result.y = Smallest; + weights.Result.x = 1.0f - weights.Result.y - weights.Result.z - weights.Result.w; + + return weights; +} + +// filtered 3D gradient simple noise (few texture lookups, high quality) +// @param v >0 +// @return random number in the range -1 .. 1 +float SimplexNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 EvalPos) +{ + float3 OrthogonalPos = SkewSimplex(EvalPos); + + SimplexWeights Weights = ComputeSimplexWeights3D(OrthogonalPos); + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 32 bit) + float3 A = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosA); + float3 B = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosB); + float3 C = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosC); + float3 D = GetPerlinNoiseGradientTextureAt(PerlinNoiseGradientTexture, Weights.PosD); + + Weights.PosA = UnSkewSimplex(Weights.PosA); + Weights.PosB = UnSkewSimplex(Weights.PosB); + Weights.PosC = UnSkewSimplex(Weights.PosC); + Weights.PosD = UnSkewSimplex(Weights.PosD); + + float DistanceWeight; + + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosA)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float a = math::dot(A, EvalPos - Weights.PosA) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosB)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float b = math::dot(B, EvalPos - Weights.PosB) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosC)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float c = math::dot(C, EvalPos - Weights.PosC) * DistanceWeight; + DistanceWeight = math::saturate(0.6f - length2(EvalPos - Weights.PosD)); DistanceWeight *= DistanceWeight; DistanceWeight *= DistanceWeight; + float d = math::dot(D, EvalPos - Weights.PosD) * DistanceWeight; + + return 32 * (a + b + c + d); +} + +// filtered 3D noise, can be optimized +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_TEX(uniform texture_2d PerlinNoiseGradientTexture, float3 v, bool bTiling, float RepeatSize) +{ + bTiling = true; + float3 fv = math::frac(v); + float3 iv0 = NoiseTileWrap(math::floor(v), bTiling, RepeatSize); + float3 iv1 = NoiseTileWrap(iv0 + 1, bTiling, RepeatSize); + + const int2 ZShear = int2(17, 89); + + float2 OffsetA = iv0.z * ZShear; + float2 OffsetB = OffsetA + ZShear; // non-tiling, use relative offset + if (bTiling) // tiling, have to compute from wrapped coordinates + { + OffsetB = iv1.z * ZShear; + } + + // Texture size scale factor + float ts = 1 / 128.0f; + + // texture coordinates for iv0.xy, as offset for both z slices + float2 TexA0 = (float2(iv0.x, iv0.y) + OffsetA + 0.5f) * ts; + float2 TexB0 = (float2(iv0.x, iv0.y) + OffsetB + 0.5f) * ts; + + // texture coordinates for iv1.xy, as offset for both z slices + float2 TexA1 = TexA0 + ts; // for non-tiling, can compute relative to existing coordinates + float2 TexB1 = TexB0 + ts; + if (bTiling) // for tiling, need to compute from wrapped coordinates + { + TexA1 = (float2(iv1.x, iv1.y) + OffsetA + 0.5f) * ts; + TexB1 = (float2(iv1.x, iv1.y) + OffsetB + 0.5f) * ts; + } + + + // can be optimized to 1 or 2 texture lookups (4 or 8 channel encoded in 8, 16 or 32 bit) + float4 PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + float3 PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 A = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 B = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA0.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 C = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexA1.x,1.0-TexA1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 D = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 E = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB0.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 F = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB0.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 G = PerlinNoiseColor * 2 - 1; + PerlinNoise = tex::lookup_float4(PerlinNoiseGradientTexture,float2(TexB1.x,1.0-TexB1.y),tex::wrap_repeat,tex::wrap_repeat); + PerlinNoiseColor = float3(PerlinNoise.x, PerlinNoise.y, PerlinNoise.z); + float3 H = PerlinNoiseColor * 2 - 1; + + float a = math::dot(A, fv - float3(0, 0, 0)); + float b = math::dot(B, fv - float3(1, 0, 0)); + float c = math::dot(C, fv - float3(0, 1, 0)); + float d = math::dot(D, fv - float3(1, 1, 0)); + float e = math::dot(E, fv - float3(0, 0, 1)); + float f = math::dot(F, fv - float3(1, 0, 1)); + float g = math::dot(G, fv - float3(0, 1, 1)); + float h = math::dot(H, fv - float3(1, 1, 1)); + + float4 Weights = PerlinRamp(math::frac(float4(fv.x, fv.y, fv.z, 0))); + + float i = math::lerp(math::lerp(a, b, Weights.x), math::lerp(c, d, Weights.x), Weights.y); + float j = math::lerp(math::lerp(e, f, Weights.x), math::lerp(g, h, Weights.x), Weights.y); + + return math::lerp(i, j, Weights.z); +} + +// @return random number in the range -1 .. 1 +// scalar: 6 frac, 31 mul/mad, 15 add, +float FastGradientPerlinNoise3D_TEX(uniform texture_3d PerlinNoise3DTexture, float3 xyz) +{ + // needs to be the same value when creating the PerlinNoise3D texture + float Extent = 16; + + // last texel replicated and needed for filtering + // scalar: 3 frac, 6 mul + xyz = math::frac(xyz / (Extent - 1)) * (Extent - 1); + + // scalar: 3 frac + float3 uvw = math::frac(xyz); + // = floor(xyz); + // scalar: 3 add + float3 p0 = xyz - uvw; +// float3 f = math::pow(uvw, 2) * 3.0f - math::pow(uvw, 3) * 2.0f; // original perlin hermite (ok when used without bump mapping) + // scalar: 2*3 add 5*3 mul + float4 pr = PerlinRamp(float4(uvw.x, uvw.y, uvw.z, 0)); + float3 f = float3(pr.x, pr.y, pr.z); // new, better with continues second derivative for bump mapping + // scalar: 3 add + float3 p = p0 + f; + // scalar: 3 mad + // TODO: need reverse??? + float4 NoiseSample = tex::lookup_float4(PerlinNoise3DTexture, p / Extent + 0.5f / Extent); // +0.5f to get rid of bilinear offset + + // reconstruct from 8bit (using mad with 2 constants and dot4 was same instruction count) + // scalar: 4 mad, 3 mul, 3 add + float3 n = float3(NoiseSample.x, NoiseSample.y, NoiseSample.z) * 255.0f / 127.0f - 1.0f; + float d = NoiseSample.w * 255.f - 127; + return math::dot(xyz, n) - d; +} + +// Perlin-style "Modified Noise" +// http://www.umbc.edu/~olano/papers/index.html#mNoise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float GradientNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = MGradient(int(seeds.seed000), seeds.fv - float3(0, 0, 0)).w; + float rand100 = MGradient(int(seeds.seed100), seeds.fv - float3(1, 0, 0)).w; + float rand010 = MGradient(int(seeds.seed010), seeds.fv - float3(0, 1, 0)).w; + float rand110 = MGradient(int(seeds.seed110), seeds.fv - float3(1, 1, 0)).w; + float rand001 = MGradient(int(seeds.seed001), seeds.fv - float3(0, 0, 1)).w; + float rand101 = MGradient(int(seeds.seed101), seeds.fv - float3(1, 0, 1)).w; + float rand011 = MGradient(int(seeds.seed011), seeds.fv - float3(0, 1, 1)).w; + float rand111 = MGradient(int(seeds.seed111), seeds.fv - float3(1, 1, 1)).w; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D value noise - used to be incorrectly called Perlin noise +// @param v = 3D noise argument, use float3(x,y,0) for 2D or float3(x,0,0) for 1D +// @param bTiling = repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension +// @return random number in the range -1 .. 1 +float ValueNoise3D_ALU(float3 v, bool bTiling, float RepeatSize) +{ + SeedValue seeds = NoiseSeeds(v, bTiling, RepeatSize); + + float rand000 = RandBBSfloat(seeds.seed000) * 2 - 1; + float rand100 = RandBBSfloat(seeds.seed100) * 2 - 1; + float rand010 = RandBBSfloat(seeds.seed010) * 2 - 1; + float rand110 = RandBBSfloat(seeds.seed110) * 2 - 1; + float rand001 = RandBBSfloat(seeds.seed001) * 2 - 1; + float rand101 = RandBBSfloat(seeds.seed101) * 2 - 1; + float rand011 = RandBBSfloat(seeds.seed011) * 2 - 1; + float rand111 = RandBBSfloat(seeds.seed111) * 2 - 1; + + float4 Weights = PerlinRamp(float4(seeds.fv.x, seeds.fv.y, seeds.fv.z, 0)); + + float i = math::lerp(math::lerp(rand000, rand100, Weights.x), math::lerp(rand010, rand110, Weights.x), Weights.y); + float j = math::lerp(math::lerp(rand001, rand101, Weights.x), math::lerp(rand011, rand111, Weights.x), Weights.y); + return math::lerp(i, j, Weights.z); +} + +// 3D jitter offset within a voronoi noise cell +// @param pos - integer lattice corner +// @return random offsets vector +float3 VoronoiCornerSample(float3 pos, int Quality) +{ + // random values in [-0.5, 0.5] + float3 noise = float3(Rand3DPCG16(int3(pos))) / 0xffff - 0.5; + + // quality level 1 or 2: searches a 2x2x2 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 2x2x2 search + if (Quality <= 2) + { + return math::normalize(noise) * 0.2588; + } + + // quality level 3: searches a 3x3x3 neighborhood with points distributed on a sphere + // scale factor to guarantee jittered points will be found within a 3x3x3 search + if (Quality == 3) + { + return math::normalize(noise) * 0.3090; + } + + // quality level 4: jitter to anywhere in the cell, needs 4x4x4 search + return noise; +} + +// compare previous best with a new candidate +// not producing point locations makes it easier for compiler to eliminate calculations when they're not needed +// @param minval = location and distance of best candidate seed point before the new one +// @param candidate = candidate seed point +// @param offset = 3D offset to new candidate seed point +// @param bDistanceOnly = if true, only set maxval.w with distance, otherwise maxval.w is distance and maxval.xyz is position +// @return position (if bDistanceOnly is false) and distance to closest seed point so far +float4 VoronoiCompare(float4 minval, float3 candidate, float3 offset, bool bDistanceOnly) +{ + if (bDistanceOnly) + { + return float4(0, 0, 0, math::min(minval.w, math::dot(offset, offset))); + } + else + { + float newdist = math::dot(offset, offset); + return newdist > minval.w ? minval : float4(candidate.x, candidate.y, candidate.z, newdist); + } +} + +// 220 instruction Worley noise +float4 VoronoiNoise3D_ALU(float3 v, int Quality, bool bTiling, float RepeatSize, bool bDistanceOnly) +{ + float3 fv = math::frac(v), fv2 = math::frac(v + 0.5); + float3 iv = math::floor(v), iv2 = math::floor(v + 0.5); + + // with initial minimum distance = infinity (or at least bigger than 4), first min is optimized away + float4 mindist = float4(0,0,0,100); + float3 p, offset; + + // quality level 3: do a 3x3x3 search + if (Quality == 3) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 1; ++offset_x) + { + for (offset_y = -1; offset_y <= 1; ++offset_y) + { + for (offset_z = -1; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + + // everybody else searches a base 2x2x2 neighborhood + else + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = 0; offset_x <= 1; ++offset_x) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // quality level 2, do extra set of points, offset by half a cell + if (Quality == 2) + { + // 467 is just an offset to a different area in the random number field to avoid similar neighbor artifacts + p = offset + VoronoiCornerSample(NoiseTileWrap(iv2 + offset, bTiling, RepeatSize) + 467, Quality); + mindist = VoronoiCompare(mindist, iv2 + p, fv2 - p, bDistanceOnly); + } + } + } + } + } + + // quality level 4: add extra sets of four cells in each direction + if (Quality >= 4) + { + int offset_x; + int offset_y; + int offset_z; + for (offset_x = -1; offset_x <= 2; offset_x += 3) + { + for (offset_y = 0; offset_y <= 1; ++offset_y) + { + for (offset_z = 0; offset_z <= 1; ++offset_z) + { + offset = float3(offset_x, offset_y, offset_z); + // along x axis + p = offset + VoronoiCornerSample(NoiseTileWrap(iv + offset, bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along y axis + p = float3(offset.y, offset.z, offset.x) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.y, offset.z, offset.x), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + + // along z axis + p = float3(offset.z, offset.x, offset.y) + VoronoiCornerSample(NoiseTileWrap(iv + float3(offset.z, offset.x, offset.y), bTiling, RepeatSize), Quality); + mindist = VoronoiCompare(mindist, iv + p, fv - p, bDistanceOnly); + } + } + } + } + + // transform squared distance to real distance + return float4(mindist.x, mindist.y, mindist.z, math::sqrt(mindist.w)); +} + +// Coordinates for corners of a Simplex tetrahedron +// Based on McEwan et al., Efficient computation of noise in GLSL, JGT 2011 +// @param v = 3D noise argument +// @return 4 corner locations +float4x3 SimplexCorners(float3 v) +{ + // find base corner by skewing to tetrahedral space and back + float3 tet = math::floor(v + v.x/3 + v.y/3 + v.z/3); + float3 base = tet - tet.x/6 - tet.y/6 - tet.z/6; + float3 f = v - base; + + // Find offsets to other corners (McEwan did this in tetrahedral space, + // but since skew is along x=y=z axis, this works in Euclidean space too.) + float3 g = math::step(float3(f.y,f.z,f.x), float3(f.x,f.y,f.z)), h = 1 - float3(g.z, g.x, g.y); + float3 a1 = math::min(g, h) - 1.0 / 6.0, a2 = math::max(g, h) - 1.0 / 3.0; + + // four corners + return float4x3(base, base + a1, base + a2, base + 0.5); +} + +// Improved smoothing function for simplex noise +// @param f = fractional distance to four tetrahedral corners +// @return weight for each corner +float4 SimplexSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + return (1 * scale + s*(-3 * scale + s*(3 * scale - s*scale))); +} + +// Derivative of simplex noise smoothing function +// @param f = fractional distanc eto four tetrahedral corners +// @return derivative of smoothing function for each corner by x, y and z +float3x4 SimplexDSmooth(float4x3 f) +{ + const float scale = 1024. / 375.; // scale factor to make noise -1..1 + float4 d = float4(math::dot(f[0], f[0]), math::dot(f[1], f[1]), math::dot(f[2], f[2]), math::dot(f[3], f[3])); + float4 s = math::saturate(2 * d); + s = -12 * scale + s*(24 * scale - s * 12 * scale); + + return float3x4( + s * float4(f[0][0], f[1][0], f[2][0], f[3][0]), + s * float4(f[0][1], f[1][1], f[2][1], f[3][1]), + s * float4(f[0][2], f[1][2], f[2][2], f[3][2])); +} + +// Simplex noise and its Jacobian derivative +// @param v = 3D noise argument +// @param bTiling = whether to repeat noise pattern +// @param RepeatSize = integer units before tiling in each dimension, must be a multiple of 3 +// @return float3x3 Jacobian in J[*].xyz, vector noise in J[*].w +// J[0].w, J[1].w, J[2].w is a Perlin-style simplex noise with vector output, e.g. (Nx, Ny, Nz) +// J[i].x is X derivative of the i'th component of the noise so J[2].x is dNz/dx +// You can use this to compute the noise, gradient, curl, or divergence: +// float3x4 J = JacobianSimplex_ALU(...); +// float3 VNoise = float3(J[0].w, J[1].w, J[2].w); // 3D noise +// float3 Grad = J[0].xyz; // gradient of J[0].w +// float3 Curl = float3(J[1][2]-J[2][1], J[2][0]-J[0][2], J[0][1]-J[1][2]); +// float Div = J[0][0]+J[1][1]+J[2][2]; +// All of these are confirmed to compile out all unneeded terms. +// So Grad of X doesn't compute Y or Z components, and VNoise doesn't do any of the derivative computation. +float3x4 JacobianSimplex_ALU(float3 v, bool bTiling, float RepeatSize) +{ + int3 MGradientMask = int3(0x8000, 0x4000, 0x2000); + float3 MGradientScale = float3(1. / 0x4000, 1. / 0x2000, 1. / 0x1000); + + // corners of tetrahedron + float4x3 T = SimplexCorners(v); + // TODO: uint3 + int3 rand = int3(0); + float4x3 gvec0 = float4x3(1.0); + float4x3 gvec1 = float4x3(1.0); + float4x3 gvec2 = float4x3(1.0); + float4x3 fv = float4x3(1.0); + float3x4 grad = float3x4(1.0); + + // processing of tetrahedral vertices, unrolled + // to compute gradient at each corner + fv[0] = v - T[0]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[0] + 0.5, bTiling, RepeatSize)))); + gvec0[0] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[0] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[0] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][0] = math::dot(gvec0[0], fv[0]); + grad[1][0] = math::dot(gvec1[0], fv[0]); + grad[2][0] = math::dot(gvec2[0], fv[0]); + + fv[1] = v - T[1]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[1] + 0.5, bTiling, RepeatSize)))); + gvec0[1] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec1[1] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][1] = math::dot(gvec0[1], fv[1]); + grad[1][1] = math::dot(gvec1[1], fv[1]); + grad[2][1] = math::dot(gvec2[1], fv[1]); + + fv[2] = v - T[2]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[2] + 0.5, bTiling, RepeatSize)))); + gvec0[2] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[2] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[2] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][2] = math::dot(gvec0[2], fv[2]); + grad[1][2] = math::dot(gvec1[2], fv[2]); + grad[2][2] = math::dot(gvec2[2], fv[2]); + + fv[3] = v - T[3]; + rand = Rand3DPCG16(int3(math::floor(NoiseTileWrap(6 * T[3] + 0.5, bTiling, RepeatSize)))); + gvec0[3] = float3(int3(rand.x,rand.x,rand.x) & MGradientMask) * MGradientScale - 1; + gvec1[3] = float3(int3(rand.y,rand.y,rand.y) & MGradientMask) * MGradientScale - 1; + gvec2[3] = float3(int3(rand.z,rand.z,rand.z) & MGradientMask) * MGradientScale - 1; + grad[0][3] = math::dot(gvec0[3], fv[3]); + grad[1][3] = math::dot(gvec1[3], fv[3]); + grad[2][3] = math::dot(gvec2[3], fv[3]); + + // blend gradients + float4 sv = SimplexSmooth(fv); + float3x4 ds = SimplexDSmooth(fv); + + float3x4 jacobian = float3x4(1.0); + float3 vec0 = gvec0*sv + grad[0]*ds; // NOTE: mdl is column major, convert from UE4 (row major) + jacobian[0] = float4(vec0.x, vec0.y, vec0.z, math::dot(sv, grad[0])); + float3 vec1 = gvec1*sv + grad[1]*ds; + jacobian[1] = float4(vec1.x, vec1.y, vec1.z, math::dot(sv, grad[1])); + float3 vec2 = gvec2*sv + grad[2]*ds; + jacobian[2] = float4(vec2.x, vec2.y, vec2.z, math::dot(sv, grad[2])); + + return jacobian; +} + +// While RepeatSize is a float here, the expectation is that it would be largely integer values coming in from the UI. The downstream logic assumes +// floats for all called functions (NoiseTileWrap) and this prevents any float-to-int conversion errors from automatic type conversion. +float Noise3D_Multiplexer(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, int Function, float3 Position, int Quality, bool bTiling, float RepeatSize) +{ + // verified, HLSL compiled out the switch if Function is a constant + switch(Function) + { + case 0: + return SimplexNoise3D_TEX(PerlinNoiseGradientTexture, Position); + case 1: + return GradientNoise3D_TEX(PerlinNoiseGradientTexture, Position, bTiling, RepeatSize); + case 2: + return FastGradientPerlinNoise3D_TEX(PerlinNoise3DTexture, Position); + case 3: + return GradientNoise3D_ALU(Position, bTiling, RepeatSize); + case 4: + return ValueNoise3D_ALU(Position, bTiling, RepeatSize); + case 5: + return VoronoiNoise3D_ALU(Position, Quality, bTiling, RepeatSize, true).w * 2.0 - 1.0; + } + return 0; +} +//---------------------------------------------------------- + +export float noise(uniform texture_2d PerlinNoiseGradientTexture, uniform texture_3d PerlinNoise3DTexture, float3 Position, float Scale, float Quality, float Function, float Turbulence, float Levels, float OutputMin, float OutputMax, float LevelScale, float FilterWidth, float Tiling, float RepeatSize) +[[ + anno::description("Noise"), + anno::noinline() +]] +{ + Position *= Scale; + FilterWidth *= Scale; + + float Out = 0.0f; + float OutScale = 1.0f; + float InvLevelScale = 1.0f / LevelScale; + + int iFunction(Function); + int iQuality(Quality); + int iLevels(Levels); + bool bTurbulence(Turbulence); + bool bTiling(Tiling); + + for(int i = 0; i < iLevels; ++i) + { + // fade out noise level that are too high frequent (not done through dynamic branching as it usually requires gradient instructions) + OutScale *= math::saturate(1.0 - FilterWidth); + + if(bTurbulence) + { + Out += math::abs(Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize)) * OutScale; + } + else + { + Out += Noise3D_Multiplexer(PerlinNoiseGradientTexture, PerlinNoise3DTexture, iFunction, Position, iQuality, bTiling, RepeatSize) * OutScale; + } + + Position *= LevelScale; + RepeatSize *= LevelScale; + OutScale *= InvLevelScale; + FilterWidth *= LevelScale; + } + + if(!bTurbulence) + { + // bring -1..1 to 0..1 range + Out = Out * 0.5f + 0.5f; + } + + // Out is in 0..1 range + return math::lerp(OutputMin, OutputMax, Out); +} + +// Material node for noise functions returning a vector value +// @param LevelScale usually 2 but higher values allow efficient use of few levels +// @return in user defined range (OutputMin..OutputMax) +export float4 vector4_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise"), + anno::noinline() +]] +{ + float4 result = float4(0,0,0,1); + float3 ret = float3(0); + int iQuality = int(Quality); + int iFunction = int(Function); + bool bTiling = Tiling > 0.0; + + float3x4 Jacobian = JacobianSimplex_ALU(Position, bTiling, TileSize); // compiled out if not used + + // verified, HLSL compiled out the switch if Function is a constant + switch (iFunction) + { + case 0: // Cellnoise + ret = float3(Rand3DPCG16(int3(math::floor(NoiseTileWrap(Position, bTiling, TileSize))))) / 0xffff; + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 1: // Color noise + ret = float3(Jacobian[0].w, Jacobian[1].w, Jacobian[2].w); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 2: // Gradient + result = Jacobian[0]; + break; + case 3: // Curl + ret = float3(Jacobian[2][1] - Jacobian[1][2], Jacobian[0][2] - Jacobian[2][0], Jacobian[1][0] - Jacobian[0][1]); + result = float4(ret.x, ret.y, ret.z, 1); + break; + case 4: // Voronoi + result = VoronoiNoise3D_ALU(Position, iQuality, bTiling, TileSize, false); + break; + } + return result; +} + +export float3 vector3_noise(float3 Position, float Quality, float Function, float Tiling, float TileSize) +[[ + anno::description("Vector Noise float3 version"), + anno::noinline() +]] +{ + float4 noise = vector4_noise(Position, Quality, Function, Tiling, TileSize); + return float3(noise.x, noise.y, noise.z); +} + + +// workaround for ue4 fresnel (without supporting for camera vector) : replacing it with 0.0, means facing to the view +export float fresnel(float exponent [[anno::unused()]], float base_reflect_fraction [[anno::unused()]], float3 normal [[anno::unused()]]) +[[ + anno::description("Fresnel"), + anno::noinline() +]] +{ + return 0.0; +} + +export float fresnel_function(float3 normal_vector [[anno::unused()]], float3 camera_vector [[anno::unused()]], + bool invert_fresnel [[anno::unused()]], float power [[anno::unused()]], + bool use_cheap_contrast [[anno::unused()]], float cheap_contrast_dark [[anno::unused()]], float cheap_contrast_bright [[anno::unused()]], + bool clamp_fresnel_dot_product [[anno::unused()]]) +[[ + anno::description("Fresnel Function"), + anno::noinline() +]] +{ + return 0.0; +} + +export float3 camera_vector() +[[ + anno::description("Camera Vector"), + anno::noinline() +]] +{ + // assume camera postion is 0,0,0 + return math::normalize(float3(0) - state::transform_point(state::coordinate_internal,state::coordinate_world,state::position())); +} + +export float pixel_depth() +[[ + anno::description("Pixel Depth"), + anno::noinline() +]] +{ + return 256.0f; +} + +export float scene_depth() +[[ + anno::description("Scene Depth") +]] +{ + return 65500.0f; +} + +export float3 scene_color() +[[ + anno::description("Scene Color") +]] +{ + return float3(1.0f); +} + +export float4 vertex_color() +[[ + anno::description("Vertex Color"), + anno::noinline() +]] +{ + return float4(1.0f); +} + +export float4 vertex_color_from_coordinate(int VertexColorCoordinateIndex) +[[ + anno::description("Vertex Color for float2 PrimVar"), + anno::noinline() +]] +{ + // Kit only supports 4 uv sets, 2 uvs are available to vertex color. if vertex color index is invalid, output the constant WHITE color intead + return (VertexColorCoordinateIndex > 2) ? float4(1.0f) : float4(state::texture_coordinate(VertexColorCoordinateIndex).x, state::texture_coordinate(VertexColorCoordinateIndex).y, state::texture_coordinate(VertexColorCoordinateIndex+1).x, state::texture_coordinate(VertexColorCoordinateIndex+1).y); +} + +export float3 camera_position() +[[ + anno::description("Camera Position"), + anno::noinline() +]] +{ + return float3(1000.0f, 0, 0); +} + +export float3 rotate_about_axis(float4 NormalizedRotationAxisAndAngle, float3 PositionOnAxis, float3 Position) +[[ + anno::description("Rotates Position about the given axis by the given angle") +]] +{ + // Project Position onto the rotation axis and find the closest point on the axis to Position + float3 NormalizedRotationAxis = float3(NormalizedRotationAxisAndAngle.x,NormalizedRotationAxisAndAngle.y,NormalizedRotationAxisAndAngle.z); + float3 ClosestPointOnAxis = PositionOnAxis + NormalizedRotationAxis * math::dot(NormalizedRotationAxis, Position - PositionOnAxis); + // Construct orthogonal axes in the plane of the rotation + float3 UAxis = Position - ClosestPointOnAxis; + float3 VAxis = math::cross(NormalizedRotationAxis, UAxis); + float[2] SinCosAngle = math::sincos(NormalizedRotationAxisAndAngle.w); + // Rotate using the orthogonal axes + float3 R = UAxis * SinCosAngle[1] + VAxis * SinCosAngle[0]; + // Reconstruct the rotated world space position + float3 RotatedPosition = ClosestPointOnAxis + R; + // Convert from position to a position offset + return RotatedPosition - Position; +} + +export float2 rotate_scale_offset_texcoords(float2 InTexCoords, float4 InRotationScale, float2 InOffset) +[[ + anno::description("Returns a float2 texture coordinate after 2x2 transform and offset applied") +]] +{ + return float2(math::dot(InTexCoords, float2(InRotationScale.x, InRotationScale.y)), math::dot(InTexCoords, float2(InRotationScale.z, InRotationScale.w))) + InOffset; +} + +export float3 reflection_custom_world_normal(float3 WorldNormal, bool bNormalizeInputNormal) +[[ + anno::description("Reflection vector about the specified world space normal") +]] +{ + if (bNormalizeInputNormal) + { + WorldNormal = math::normalize(WorldNormal); + } + + return -camera_vector() + WorldNormal * math::dot(WorldNormal, camera_vector()) * 2.0; +} + +export float3 reflection_vector() +[[ + anno::description("Reflection Vector"), + anno::noinline() +]] +{ + float3 normal = state::transform_normal(state::coordinate_internal,state::coordinate_world,state::normal()); + return reflection_custom_world_normal(normal, false); +} + +export float dither_temporalAA(float AlphaThreshold = 0.5f, float Random = 1.0f [[anno::unused()]]) +[[ + anno::description("Dither TemporalAA"), + anno::noinline() +]] +{ + return AlphaThreshold; +} + diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Gloss.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Gloss.mdl new file mode 100644 index 0000000000000000000000000000000000000000..db10d326261ace1c4b75fd85750ec7dacc579c8d --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Gloss.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Paint_Gloss(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_BaseColor.png" /* tag 2107, version 608438266 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_ORM.png" /* tag 2109, version 4089275038 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Paint_Gloss/Paint_Gloss_Finish_N.png" /* tag 2111, version 2879886466 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Satin.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Satin.mdl new file mode 100644 index 0000000000000000000000000000000000000000..acea771e33f0d944783a2b5d2cb2e16c8af66d4f --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Paint_Satin.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Paint_Satin(*) + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Paint_Satin_Finish_BaseColor.png" /* tag 2101, version 1315023839 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Paint_Satin_Finish_ORM.png" /* tag 2103, version 621268788 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Paint_Satin_Finish_N.png" /* tag 2105, version 368198679 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3699fa62fe9613b15de07edbd26fcc9b4ad3b5f0 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic.mdl @@ -0,0 +1,42 @@ +mdl 1.4; + +using ::OmniPBR import OmniPBR; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plastic(*) + = OmniPBR( + diffuse_color_constant: color(1.0, 1.0, 1.0), + diffuse_texture: texture_2d(), //"./Plastic/Plastic_BaseColor.png", ::tex::gamma_srgb + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), //0.15f, 0.15f, 0.15f + reflection_roughness_constant: 0.45, + reflection_roughness_texture_influence: 0.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.0, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d(), //"./Plastic/Plastic_ORM.png", ::tex::gamma_linear + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(0.0, 0.0, 0.0), + emissive_mask_texture: texture_2d(), + emissive_intensity: 0.0, + bump_factor: 0.5f, + normalmap_texture: texture_2d(), //"./Plastic/Plastic_Normal.png", ::tex::gamma_linear + detail_bump_factor: 1.f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic_Acrylic.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic_Acrylic.mdl new file mode 100644 index 0000000000000000000000000000000000000000..33bd1f592cc894346d3ba08a8ededbb320dd4e8e --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plastic_Acrylic.mdl @@ -0,0 +1,21 @@ +mdl 1.3; + +import ::OmniGlass::OmniGlass; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plastic_Acrylic(*) + = OmniGlass::OmniGlass( + absorption_coeff: color(1.f, 1.f, 1.f), + glass_color: color(1.f, 1.f, 1.f), + use_glass_color_texture: false, + glass_color_texture: texture_2d(), + frosting_roughness: 0.f, + glass_ior: 1.5f, + thin_walled: true, + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f)); \ No newline at end of file diff --git a/objects/small_warehouse_digital_twin/SubUSDs/materials/Plywood.mdl b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plywood.mdl new file mode 100644 index 0000000000000000000000000000000000000000..3e0fb88092dcca07b34c461cbfeaa506a69f5d31 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/materials/Plywood.mdl @@ -0,0 +1,54 @@ +mdl 1.4; + +import ::OmniPBR::OmniPBR; +import ::anno::author; +import ::anno::description; +import ::anno::display_name; +import ::anno::key_words; +import ::anno::version; +import ::tex::gamma_mode; +import ::state::normal; + +export material Plywood(*) +[[ + ::anno::display_name("Omni PBR "), + ::anno::description("Omni PBR, supports ORM textures"), + ::anno::version(1, 0, 0, ""), + ::anno::author("NVIDIA CORPORATION"), + ::anno::key_words(string[]("omni", "PBR", "omniverse", "generic")) +]] + = ::OmniPBR::OmniPBR( + diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), + diffuse_texture: texture_2d("../textures/Plywood/Plywood_BaseColor.png" /* tag 2772, version 742391292 */, ::tex::gamma_srgb), + albedo_desaturation: 0.f, + albedo_add: 0.f, + albedo_brightness: 1.f, + diffuse_tint: color(1.f, 1.f, 1.f), + reflection_roughness_constant: 0.5f, + reflection_roughness_texture_influence: 1.f, + reflectionroughness_texture: texture_2d(), + metallic_constant: 0.f, + metallic_texture_influence: 0.f, + metallic_texture: texture_2d(), + specular_level: 0.5f, + enable_ORM_texture: true, + ORM_texture: texture_2d("../textures/Plywood/Plywood_ORM.png" /* tag 2774, version 1568096850 */, ::tex::gamma_linear), + ao_to_diffuse: 0.f, + ao_texture: texture_2d(), + enable_emission: false, + emissive_color: color(1.f, 0.100000001f, 0.100000001f), + emissive_mask_texture: texture_2d(), + emissive_intensity: 40.f, + bump_factor: 1.f, + normalmap_texture: texture_2d("../textures/Plywood/Plywood_N.png" /* tag 2776, version 950067097 */, ::tex::gamma_linear), + detail_bump_factor: 0.300000012f, + detail_normalmap_texture: texture_2d(), + project_uvw: false, + world_or_object: false, + uv_space_index: 0, + texture_translate: float2(0.f), + texture_rotate: 0.f, + texture_scale: float2(1.f), + detail_texture_translate: float2(0.f), + detail_texture_rotate: 0.f, + detail_texture_scale: float2(1.f)); diff --git a/objects/small_warehouse_digital_twin/SubUSDs/textures/12.png b/objects/small_warehouse_digital_twin/SubUSDs/textures/12.png new file mode 100644 index 0000000000000000000000000000000000000000..be50e5e44f40123304fb728abed85a81f63cc4e7 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/textures/12.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345a75cd7746e04e915ae3423407ad649e35576ea4d306483d36206442366ba7 +size 20107 diff --git a/objects/small_warehouse_digital_twin/SubUSDs/textures/14.png b/objects/small_warehouse_digital_twin/SubUSDs/textures/14.png new file mode 100644 index 0000000000000000000000000000000000000000..ae7e2fa8fd4454194e36073a3b150a78167bdc01 --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/textures/14.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8e2498d1b976bfe793a254d816462354ecdd2c496e6e8633ad213ae2e77ce27 +size 19767 diff --git a/objects/small_warehouse_digital_twin/SubUSDs/textures/15.png b/objects/small_warehouse_digital_twin/SubUSDs/textures/15.png new file mode 100644 index 0000000000000000000000000000000000000000..6b42a2a0d8b381fadc6d3ff6a6b0e3c9e500f3df --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/textures/15.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98ec7df300ba337905d045cfb9aa2b0ea40d308275672c776f120fcf5f3468af +size 18585 diff --git a/objects/small_warehouse_digital_twin/SubUSDs/textures/16.png b/objects/small_warehouse_digital_twin/SubUSDs/textures/16.png new file mode 100644 index 0000000000000000000000000000000000000000..739e0afbeb6d375b9d113376d5aa9af78b035bac --- /dev/null +++ b/objects/small_warehouse_digital_twin/SubUSDs/textures/16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b456f0c04b92f35f66d20a3521220bc389d986693b12fc26f1df3059a703c231 +size 18943