Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +104 -0
- omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01.usd +0 -0
- omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01_base.usd +0 -0
- omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01_inst.usd +0 -0
- omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_base.usd +3 -0
- omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_inst_base.usd +3 -0
- omniverse_mirror/simready_props/aluminumstepstand_a02/materials/Metal_Glossy_A.mdl +16 -0
- omniverse_mirror/simready_props/aluminumstepstand_a02/materials/Rubber_New_A.mdl +52 -0
- omniverse_mirror/simready_props/bin_a01/bin_a01_inst_base.usd +3 -0
- omniverse_mirror/simready_props/bin_a04/bin_a04.usd +0 -0
- omniverse_mirror/simready_props/bin_a04/bin_a04_base.usd +0 -0
- omniverse_mirror/simready_props/bin_a04/bin_a04_inst.usd +0 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/.thumbs/256x256/blackandbrassbowl_small.usd.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/blackandbrassbowl_small_inst_base.usd +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_A.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_M.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_N.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_R.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_A.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_M.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_N.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_R.png.auto.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_A.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_M.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_N.png +3 -0
- omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_R.png +3 -0
- omniverse_mirror/simready_props/blockpallet_a03/blockpallet_a03_inst_base.usd +3 -0
- omniverse_mirror/simready_props/blockpallet_a06/blockpallet_a06_inst_base.usd +3 -0
- omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09.usd +0 -0
- omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09_base.usd +0 -0
- omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09_inst.usd +0 -0
- omniverse_mirror/simready_props/blockpallet_b01/blockpallet_b01_inst_base.usd +3 -0
- omniverse_mirror/simready_props/capricetable_yin/capricetable_yin.json +105 -0
- omniverse_mirror/simready_props/capricetable_yin/capricetable_yin.usd +0 -0
- omniverse_mirror/simready_props/capricetable_yin/capricetable_yin_base.usd +0 -0
- omniverse_mirror/simready_props/capricetable_yin/capricetable_yin_inst.usd +0 -0
- omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurface.mdl +1676 -0
- omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurfaceLite.mdl +1175 -0
- omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurfacePresets.mdl +0 -0
- omniverse_mirror/simready_props/cardbox_a1/.thumbs/256x256/cardbox_a1.usd.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_Albedo.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_Normal.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_ORM.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_Albedo.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_Normal.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_ORM.png.auto.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_Albedo.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_Normal.png +3 -0
- omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_ORM.png +3 -0
- omniverse_mirror/simready_props/cardbox_b2/.thumbs/256x256/cardbox_b2.usd.png +3 -0
.gitattributes
CHANGED
|
@@ -327,3 +327,107 @@ omniverse_mirror/simready_props/rack_a05/rack_a05_inst_base.usd filter=lfs diff=
|
|
| 327 |
omniverse_mirror/simready_props/whitecorrugatedbox_a33/whitecorrugatedbox_a33_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 328 |
omniverse_mirror/simready_props/solidtoprackablepallet_a01/solidtoprackablepallet_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 329 |
omniverse_mirror/simready_props/fiberdrum_a03/fiberdrum_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 327 |
omniverse_mirror/simready_props/whitecorrugatedbox_a33/whitecorrugatedbox_a33_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 328 |
omniverse_mirror/simready_props/solidtoprackablepallet_a01/solidtoprackablepallet_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 329 |
omniverse_mirror/simready_props/fiberdrum_a03/fiberdrum_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 330 |
+
omniverse_mirror/simready_props/whitecorrugatedbox_a25/whitecorrugatedbox_a25_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 331 |
+
omniverse_mirror/simready_props/wooddrumpallet_a06/wooddrumpallet_a06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 332 |
+
omniverse_mirror/simready_props/plywoodcrate_a03/plywoodcrate_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 333 |
+
omniverse_mirror/simready_props/tote_b09/tote_b09_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 334 |
+
omniverse_mirror/simready_props/longbox_a09/longbox_a09_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 335 |
+
omniverse_mirror/simready_props/rack_a01/rack_a01_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 336 |
+
omniverse_mirror/simready_props/rack_a01/rack_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 337 |
+
omniverse_mirror/simready_props/steeldrum_a02/steeldrum_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 338 |
+
omniverse_mirror/simready_props/container_c07/container_c07_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 339 |
+
omniverse_mirror/simready_props/whitecorrugatedbox_a22/whitecorrugatedbox_a22_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 340 |
+
omniverse_mirror/simready_props/container_d01/container_d01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 341 |
+
omniverse_mirror/simready_props/spatula_14/spatula_14_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 342 |
+
omniverse_mirror/simready_props/container_h14/container_h14_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 343 |
+
omniverse_mirror/simready_props/milkjug_a02/milkjug_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 344 |
+
omniverse_mirror/simready_props/steeldrum_a01/steeldrum_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 345 |
+
omniverse_mirror/simready_props/rack_h17/rack_h17_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 346 |
+
omniverse_mirror/simready_props/tireracksystem_c03/tireracksystem_c03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 347 |
+
omniverse_mirror/simready_props/tireracksystem_b04/tireracksystem_b04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 348 |
+
omniverse_mirror/simready_props/openindustrialsteelshelving_a18/openindustrialsteelshelving_a18_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 349 |
+
omniverse_mirror/simready_props/standardwoodcrate_a06/standardwoodcrate_a06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 350 |
+
omniverse_mirror/simready_props/sm_rack_m01/sm_rack_m01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 351 |
+
omniverse_mirror/simready_props/tote_c20/tote_c20_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 352 |
+
omniverse_mirror/simready_props/longbox_a01/longbox_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 353 |
+
omniverse_mirror/simready_props/rack_a09/rack_a09_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 354 |
+
omniverse_mirror/simready_props/blockpallet_a03/blockpallet_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 355 |
+
omniverse_mirror/simready_props/wheelriserramp_a03/wheelriserramp_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 356 |
+
omniverse_mirror/simready_props/container_b06/container_b06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 357 |
+
omniverse_mirror/simready_props/wooddrumpallet_a02/wooddrumpallet_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 358 |
+
omniverse_mirror/simready_props/rack_c08/rack_c08_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 359 |
+
omniverse_mirror/simready_props/case_d03/case_d03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 360 |
+
omniverse_mirror/simready_props/openindustrialsteelshelving_a17/openindustrialsteelshelving_a17_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 361 |
+
omniverse_mirror/simready_props/speaknoevil_skull/speaknoevil_skull_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 362 |
+
omniverse_mirror/simready_props/rack_c06/rack_c06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 363 |
+
omniverse_mirror/simready_props/tireracksystem_c08/tireracksystem_c08_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 364 |
+
omniverse_mirror/simready_props/horizontalbarrack_a01/horizontalbarrack_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 365 |
+
omniverse_mirror/simready_props/heavydutytrafficcone_a02/heavydutytrafficcone_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 366 |
+
omniverse_mirror/simready_props/container_c11/container_c11_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 367 |
+
omniverse_mirror/simready_props/bin_a01/bin_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 368 |
+
omniverse_mirror/simready_props/rack_k17/rack_k17_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 369 |
+
omniverse_mirror/simready_props/workramp_a01/workramp_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 370 |
+
omniverse_mirror/simready_props/tote_d13/tote_d13_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 371 |
+
omniverse_mirror/simready_props/zag_backless/zag_backless_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 372 |
+
omniverse_mirror/simready_props/standard_smallunit/standard_smallunit_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 373 |
+
omniverse_mirror/simready_props/tote_c06/tote_c06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 374 |
+
omniverse_mirror/simready_props/tote_b08/tote_b08_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 375 |
+
omniverse_mirror/simready_props/tote_b03/tote_b03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 376 |
+
omniverse_mirror/simready_props/blackandbrassbowl_small/blackandbrassbowl_small_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 377 |
+
omniverse_mirror/simready_props/economyplasticpallet_a01/economyplasticpallet_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 378 |
+
omniverse_mirror/simready_props/container_h06/container_h06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 379 |
+
omniverse_mirror/simready_props/sedie_chair/sedie_chair_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 380 |
+
omniverse_mirror/simready_props/container_c01/container_c01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 381 |
+
omniverse_mirror/simready_props/heavydutywoodcrate_a04/heavydutywoodcrate_a04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 382 |
+
omniverse_mirror/simready_props/multidepthbox_a09/multidepthbox_a09_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 383 |
+
omniverse_mirror/simready_props/rack_n05/rack_n05_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 384 |
+
omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 385 |
+
omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 386 |
+
omniverse_mirror/simready_props/economyplasticpallet_a03/economyplasticpallet_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 387 |
+
omniverse_mirror/simready_props/rack_f03/rack_f03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 388 |
+
omniverse_mirror/simready_props/plasticdrum_a01/plasticdrum_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 389 |
+
omniverse_mirror/simready_props/tote_e02/tote_e02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 390 |
+
omniverse_mirror/simready_props/industrialsteelshelving_a03/industrialsteelshelving_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 391 |
+
omniverse_mirror/simready_props/rack_h23/rack_h23_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 392 |
+
omniverse_mirror/simready_props/woodpalletcollar_a02/woodpalletcollar_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 393 |
+
omniverse_mirror/simready_props/fstylejug_a04/fstylejug_a04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 394 |
+
omniverse_mirror/simready_props/blockpallet_a06/blockpallet_a06_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 395 |
+
omniverse_mirror/simready_props/flatbox_a04/flatbox_a04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 396 |
+
omniverse_mirror/simready_props/recycledwoodpallet_a04/recycledwoodpallet_a04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 397 |
+
omniverse_mirror/simready_props/rack_e02/rack_e02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 398 |
+
omniverse_mirror/simready_props/plywoodcrateassembly_a03/plywoodcrateassembly_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 399 |
+
omniverse_mirror/simready_props/container_h15/container_h15_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 400 |
+
omniverse_mirror/simready_props/desperes_chair/desperes_chair_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 401 |
+
omniverse_mirror/simready_props/container_d03/container_d03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 402 |
+
omniverse_mirror/simready_props/container_h11/container_h11_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 403 |
+
omniverse_mirror/simready_props/industrialsteelshelving_a08/industrialsteelshelving_a08_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 404 |
+
omniverse_mirror/simready_props/sm_heavydutysteelshelving_a18/sm_heavydutysteelshelving_a18_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 405 |
+
omniverse_mirror/simready_props/container_h17/container_h17_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 406 |
+
omniverse_mirror/simready_props/stdwoodcrateasm_a21/stdwoodcrateasm_a21_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 407 |
+
omniverse_mirror/simready_props/plywoodcrate_a01/plywoodcrate_a01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 408 |
+
omniverse_mirror/simready_props/tirerack_a02/tirerack_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 409 |
+
omniverse_mirror/simready_props/rack_k03/rack_k03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 410 |
+
omniverse_mirror/simready_props/industrialsteelshelving_a22/industrialsteelshelving_a22_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 411 |
+
omniverse_mirror/simready_props/utilityjug_a03/utilityjug_a03_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 412 |
+
omniverse_mirror/simready_props/sm_heavydutysteelshelving_a12/sm_heavydutysteelshelving_a12_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 413 |
+
omniverse_mirror/simready_props/multidepthbox_a07/multidepthbox_a07_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 414 |
+
omniverse_mirror/simready_props/container_h13/container_h13_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 415 |
+
omniverse_mirror/simready_props/whitecorrugatedbox_a02/whitecorrugatedbox_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 416 |
+
omniverse_mirror/simready_props/rack_h01/rack_h01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 417 |
+
omniverse_mirror/simready_props/rack_b02/rack_b02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 418 |
+
omniverse_mirror/simready_props/economyplasticpallet_a02/economyplasticpallet_a02_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 419 |
+
omniverse_mirror/simready_props/recycledwoodpallet_a07/recycledwoodpallet_a07_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 420 |
+
omniverse_mirror/simready_props/dellwood_ottoman/dellwood_ottoman_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 421 |
+
omniverse_mirror/simready_props/container_c24/container_c24_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 422 |
+
omniverse_mirror/simready_props/plasticpail_a04/plasticpail_a04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 423 |
+
omniverse_mirror/simready_props/standard_largeunit/standard_largeunit_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 424 |
+
omniverse_mirror/simready_props/tote_c09/tote_c09_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 425 |
+
omniverse_mirror/simready_props/blockpallet_b01/blockpallet_b01_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 426 |
+
omniverse_mirror/simready_props/willowbench/willowbench_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 427 |
+
omniverse_mirror/simready_props/contemporary_openstorage/contemporary_openstorage_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 428 |
+
omniverse_mirror/simready_props/container_c04/container_c04_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 429 |
+
omniverse_mirror/simready_props/tireracksystem_b05/tireracksystem_b05_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 430 |
+
omniverse_mirror/simready_props/contemporary_storagecube/contemporary_storagecube_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 431 |
+
omniverse_mirror/simready_props/multidepthbox_a10/multidepthbox_a10_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 432 |
+
omniverse_mirror/simready_props/wooddrumpallet_a07/wooddrumpallet_a07_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
| 433 |
+
omniverse_mirror/simready_props/standardwoodcrate_a25/standardwoodcrate_a25_inst_base.usd filter=lfs diff=lfs merge=lfs -text
|
omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01.usd
ADDED
|
Binary file (2.82 kB). View file
|
|
|
omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01_base.usd
ADDED
|
Binary file (6.22 kB). View file
|
|
|
omniverse_mirror/simready_props/aluminumpallet_a01/aluminumpallet_a01_inst.usd
ADDED
|
Binary file (2.83 kB). View file
|
|
|
omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:118963b702c04f01b701cb60cd0a625e2d99ec0452609c74f80cf535ca35cac6
|
| 3 |
+
size 7858056
|
omniverse_mirror/simready_props/aluminumpallet_a02/aluminumpallet_a02_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5363a45a54e009fcbb51f3a7de658a3baa7e6d3d395cbd06d960f1b9edd126bf
|
| 3 |
+
size 7915100
|
omniverse_mirror/simready_props/aluminumstepstand_a02/materials/Metal_Glossy_A.mdl
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mdl 1.4;
|
| 2 |
+
|
| 3 |
+
using ::OmniPBR import OmniPBR;
|
| 4 |
+
import ::tex::gamma_mode;
|
| 5 |
+
import ::state::normal;
|
| 6 |
+
import ::base::mono_mode;
|
| 7 |
+
|
| 8 |
+
export material Metal_Glossy_A(*)
|
| 9 |
+
= OmniPBR(
|
| 10 |
+
diffuse_texture: texture_2d("../textures/T_Metal_Glossy_A_Albedo.png", ::tex::gamma_srgb),
|
| 11 |
+
enable_ORM_texture: true,
|
| 12 |
+
metallic_texture_influence: 1.0,
|
| 13 |
+
normalmap_texture: texture_2d("../textures/T_Metal_Glossy_A_Normal.png", ::tex::gamma_linear),
|
| 14 |
+
ORM_texture: texture_2d("../textures/T_Metal_Glossy_A_ORM.png", ::tex::gamma_linear),
|
| 15 |
+
reflection_roughness_texture_influence: 1.0,
|
| 16 |
+
texture_scale: float2(2, 2));
|
omniverse_mirror/simready_props/aluminumstepstand_a02/materials/Rubber_New_A.mdl
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mdl 1.4;
|
| 2 |
+
|
| 3 |
+
using ::OmniPBR import OmniPBR;
|
| 4 |
+
import ::tex::gamma_mode;
|
| 5 |
+
import ::state::normal;
|
| 6 |
+
import ::base::mono_mode;
|
| 7 |
+
|
| 8 |
+
export material Rubber_New_A(*)
|
| 9 |
+
= OmniPBR(
|
| 10 |
+
diffuse_color_constant: color(0.2, 0.2, 0.2),
|
| 11 |
+
diffuse_texture: texture_2d("../textures/T_Rubber_New_A1_Albedo.png", ::tex::gamma_srgb),
|
| 12 |
+
albedo_desaturation: 0.0,
|
| 13 |
+
albedo_add: 0.0,
|
| 14 |
+
albedo_brightness: 1.0,
|
| 15 |
+
diffuse_tint: color(1, 1, 1),
|
| 16 |
+
reflection_roughness_constant: 0.5,
|
| 17 |
+
reflection_roughness_texture_influence: 0.7599999904632568,
|
| 18 |
+
reflectionroughness_texture: texture_2d(),
|
| 19 |
+
metallic_constant: 0.0,
|
| 20 |
+
metallic_texture_influence: 1.0,
|
| 21 |
+
metallic_texture: texture_2d(),
|
| 22 |
+
specular_level: 0.5,
|
| 23 |
+
enable_ORM_texture: true,
|
| 24 |
+
ORM_texture: texture_2d("../textures/T_Rubber_New_A1_ORM.png", ::tex::gamma_srgb),
|
| 25 |
+
ao_to_diffuse: 0.0,
|
| 26 |
+
ao_texture: texture_2d(),
|
| 27 |
+
enable_emission: false,
|
| 28 |
+
emissive_color: color(1, 0.1, 0.1),
|
| 29 |
+
emissive_color_texture: texture_2d(),
|
| 30 |
+
emissive_mask_texture: texture_2d(),
|
| 31 |
+
emissive_intensity: 40.0,
|
| 32 |
+
enable_opacity: false,
|
| 33 |
+
enable_opacity_texture: false,
|
| 34 |
+
opacity_constant: 1.0,
|
| 35 |
+
opacity_texture: texture_2d(),
|
| 36 |
+
opacity_mode: ::base::mono_average,
|
| 37 |
+
opacity_threshold: 0.0,
|
| 38 |
+
bump_factor: 2.0,
|
| 39 |
+
normalmap_texture: texture_2d("../textures/T_Rubber_New_A1_Normal.png", ::tex::gamma_linear),
|
| 40 |
+
detail_bump_factor: 0.30000001192092896,
|
| 41 |
+
detail_normalmap_texture: texture_2d(),
|
| 42 |
+
flip_tangent_u: false,
|
| 43 |
+
flip_tangent_v: true,
|
| 44 |
+
project_uvw: false,
|
| 45 |
+
world_or_object: false,
|
| 46 |
+
uv_space_index: 0,
|
| 47 |
+
texture_translate: float2(0, 0),
|
| 48 |
+
texture_rotate: 0.0,
|
| 49 |
+
texture_scale: float2(3, 3),
|
| 50 |
+
detail_texture_translate: float2(0, 0),
|
| 51 |
+
detail_texture_rotate: 0.0,
|
| 52 |
+
detail_texture_scale: float2(1, 1));
|
omniverse_mirror/simready_props/bin_a01/bin_a01_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d137664da11570a49c5188aa8cd949c372369e5ff2ac2932ed09d2cd560c3e94
|
| 3 |
+
size 281337
|
omniverse_mirror/simready_props/bin_a04/bin_a04.usd
ADDED
|
Binary file (1.41 kB). View file
|
|
|
omniverse_mirror/simready_props/bin_a04/bin_a04_base.usd
ADDED
|
Binary file (4.27 kB). View file
|
|
|
omniverse_mirror/simready_props/bin_a04/bin_a04_inst.usd
ADDED
|
Binary file (669 Bytes). View file
|
|
|
omniverse_mirror/simready_props/blackandbrassbowl_small/.thumbs/256x256/blackandbrassbowl_small.usd.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/blackandbrassbowl_small_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1adf263e58f858864589cb15afbfd672b297184c29aa4cece3bf353743a6ce6
|
| 3 |
+
size 1639516
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_A.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_M.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_N.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/138x108/BlackandBrassBowl_Small_R.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_A.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_M.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_N.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/.thumbs/256x256/BlackandBrassBowl_Small_R.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_A.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_M.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_N.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/blackandbrassbowl_small/textures/BlackandBrassBowl_Small_R.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/blockpallet_a03/blockpallet_a03_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fcf4abc56259ed14d90833568a6be94d343c1980c0040b5b99425e0e2cd2ade
|
| 3 |
+
size 286743
|
omniverse_mirror/simready_props/blockpallet_a06/blockpallet_a06_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a42a37387850aec041e13ee0d75c88da9d056a2106ee1b1f87f3718bdd030c17
|
| 3 |
+
size 550840
|
omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09.usd
ADDED
|
Binary file (1.73 kB). View file
|
|
|
omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09_base.usd
ADDED
|
Binary file (4.59 kB). View file
|
|
|
omniverse_mirror/simready_props/blockpallet_a09/blockpallet_a09_inst.usd
ADDED
|
Binary file (677 Bytes). View file
|
|
|
omniverse_mirror/simready_props/blockpallet_b01/blockpallet_b01_inst_base.usd
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf2c6a53632bfcb74d2c3c7afdbb3beecd24b916b19e3ee1e3d8eeec69d1b705
|
| 3 |
+
size 130723
|
omniverse_mirror/simready_props/capricetable_yin/capricetable_yin.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool": "ingest_static_prop_headless",
|
| 3 |
+
"version": 1.0,
|
| 4 |
+
"functions": {
|
| 5 |
+
"setup": {
|
| 6 |
+
"num_passes": 1,
|
| 7 |
+
"enabled": true,
|
| 8 |
+
"parameters": [
|
| 9 |
+
{
|
| 10 |
+
"project_root": "D:/Perforce/omniverse/simready/simready/Projects",
|
| 11 |
+
"input_fbx": "D:/Perforce/omniverse/simready/simready/Projects/source_assets/_nvidia/Collected_Commercial/omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/ArchVis/Commercial/Tables/Caprice/CapriceTable_Yin.usd",
|
| 12 |
+
"output_usd": "D:/Perforce/omniverse/simready/simready/Projects/simready_content/common_assets/props/capricetable_yin/capricetable_yin.usd",
|
| 13 |
+
"tagging_info": {
|
| 14 |
+
"category": "props"
|
| 15 |
+
},
|
| 16 |
+
"prop_scale": 1.0
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
"convert_fbx_to_usd": {
|
| 21 |
+
"num_passes": 1,
|
| 22 |
+
"enabled": true,
|
| 23 |
+
"parameters": [
|
| 24 |
+
{}
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
"standardize_root_prim": {
|
| 28 |
+
"num_passes": 1,
|
| 29 |
+
"enabled": true,
|
| 30 |
+
"parameters": [
|
| 31 |
+
{}
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
"normalize_usd": {
|
| 35 |
+
"num_passes": 1,
|
| 36 |
+
"enabled": true,
|
| 37 |
+
"parameters": [
|
| 38 |
+
{}
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
"get_dependencies_from_list": {
|
| 42 |
+
"num_passes": 1,
|
| 43 |
+
"enabled": true,
|
| 44 |
+
"parameters": [
|
| 45 |
+
{
|
| 46 |
+
"usd_list": null,
|
| 47 |
+
"progress_callback": null,
|
| 48 |
+
"done_callback": null,
|
| 49 |
+
"allow_mdl_for_other_server": false
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
},
|
| 53 |
+
"fixup_material_params": {
|
| 54 |
+
"num_passes": 1,
|
| 55 |
+
"enabled": true,
|
| 56 |
+
"parameters": [
|
| 57 |
+
{}
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
"set_metadata": {
|
| 61 |
+
"num_passes": 1,
|
| 62 |
+
"enabled": true,
|
| 63 |
+
"parameters": [
|
| 64 |
+
{}
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
"remove_camera_deltas": {
|
| 68 |
+
"num_passes": 1,
|
| 69 |
+
"enabled": true,
|
| 70 |
+
"parameters": [
|
| 71 |
+
{}
|
| 72 |
+
]
|
| 73 |
+
},
|
| 74 |
+
"create_inst": {
|
| 75 |
+
"num_passes": 1,
|
| 76 |
+
"enabled": true,
|
| 77 |
+
"parameters": [
|
| 78 |
+
{}
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
"validate_material": {
|
| 82 |
+
"num_passes": 1,
|
| 83 |
+
"enabled": true,
|
| 84 |
+
"parameters": [
|
| 85 |
+
{
|
| 86 |
+
"prim": null
|
| 87 |
+
}
|
| 88 |
+
]
|
| 89 |
+
},
|
| 90 |
+
"set_root_prim_kind_to_component": {
|
| 91 |
+
"num_passes": 1,
|
| 92 |
+
"enabled": true,
|
| 93 |
+
"parameters": [
|
| 94 |
+
{}
|
| 95 |
+
]
|
| 96 |
+
},
|
| 97 |
+
"create_tagged": {
|
| 98 |
+
"num_passes": 1,
|
| 99 |
+
"enabled": true,
|
| 100 |
+
"parameters": [
|
| 101 |
+
{}
|
| 102 |
+
]
|
| 103 |
+
}
|
| 104 |
+
}
|
| 105 |
+
}
|
omniverse_mirror/simready_props/capricetable_yin/capricetable_yin.usd
ADDED
|
Binary file (1.43 kB). View file
|
|
|
omniverse_mirror/simready_props/capricetable_yin/capricetable_yin_base.usd
ADDED
|
Binary file (4.22 kB). View file
|
|
|
omniverse_mirror/simready_props/capricetable_yin/capricetable_yin_inst.usd
ADDED
|
Binary file (678 Bytes). View file
|
|
|
omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurface.mdl
ADDED
|
@@ -0,0 +1,1676 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
// Wrapper for OmniSurfaceBase material
|
| 30 |
+
|
| 31 |
+
mdl 1.7;
|
| 32 |
+
|
| 33 |
+
import ::anno::*;
|
| 34 |
+
import ::base::*;
|
| 35 |
+
import ::limits::*;
|
| 36 |
+
import ::state::*;
|
| 37 |
+
import ::tex::*;
|
| 38 |
+
|
| 39 |
+
import ::OmniSurface::OmniSurfaceBase::*;
|
| 40 |
+
import ::OmniSurface::OmniShared::*;
|
| 41 |
+
import ::OmniSurface::OmniImage::*;
|
| 42 |
+
|
| 43 |
+
export material OmniSurface(
|
| 44 |
+
|
| 45 |
+
//Diffuse reflection
|
| 46 |
+
//
|
| 47 |
+
float diffuse_reflection_weight = float(0.8) [[
|
| 48 |
+
anno::display_name("Weight"),
|
| 49 |
+
anno::in_group("Base"),
|
| 50 |
+
anno::hard_range(0.0f, 1.0f)
|
| 51 |
+
]],
|
| 52 |
+
|
| 53 |
+
uniform texture_2d diffuse_reflection_weight_image = texture_2d() [[
|
| 54 |
+
anno::display_name("Weight Image"),
|
| 55 |
+
anno::in_group("Base"),
|
| 56 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 57 |
+
]],
|
| 58 |
+
|
| 59 |
+
uniform ::OmniSurface::OmniImage::alpha_mode diffuse_reflection_weight_image_alpha_mode =
|
| 60 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 61 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 62 |
+
anno::in_group("Base")
|
| 63 |
+
]],
|
| 64 |
+
|
| 65 |
+
color diffuse_reflection_color = color(1.0) [[
|
| 66 |
+
anno::display_name("Color"),
|
| 67 |
+
anno::in_group("Base")
|
| 68 |
+
]],
|
| 69 |
+
|
| 70 |
+
uniform texture_2d diffuse_reflection_color_image = texture_2d() [[
|
| 71 |
+
anno::display_name("Color Image"),
|
| 72 |
+
anno::in_group("Base")
|
| 73 |
+
]],
|
| 74 |
+
|
| 75 |
+
float diffuse_reflection_roughness = float(0.0) [[
|
| 76 |
+
anno::display_name("Diffuse Roughness"),
|
| 77 |
+
anno::in_group("Base"),
|
| 78 |
+
anno::hard_range(0.0f, 1.0f)
|
| 79 |
+
]],
|
| 80 |
+
|
| 81 |
+
uniform texture_2d diffuse_reflection_roughness_image = texture_2d() [[
|
| 82 |
+
anno::display_name("Diffuse Roughness Image"),
|
| 83 |
+
anno::in_group("Base"),
|
| 84 |
+
anno::usage("roughness")
|
| 85 |
+
]],
|
| 86 |
+
|
| 87 |
+
uniform ::OmniSurface::OmniImage::alpha_mode diffuse_reflection_roughness_image_alpha_mode =
|
| 88 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 89 |
+
anno::display_name("Diffuse Roughness Alpha Mode"),
|
| 90 |
+
anno::in_group("Base")
|
| 91 |
+
]],
|
| 92 |
+
|
| 93 |
+
//Metal
|
| 94 |
+
//
|
| 95 |
+
float metalness = float(0.0) [[
|
| 96 |
+
anno::display_name("Metalness"),
|
| 97 |
+
anno::in_group("Base"),
|
| 98 |
+
anno::hard_range(0.0f, 1.0f)
|
| 99 |
+
]],
|
| 100 |
+
|
| 101 |
+
uniform texture_2d metalness_image = texture_2d() [[
|
| 102 |
+
anno::display_name("Metalness Image"),
|
| 103 |
+
anno::in_group("Base"),
|
| 104 |
+
anno::usage("metalness")
|
| 105 |
+
]],
|
| 106 |
+
|
| 107 |
+
uniform ::OmniSurface::OmniImage::alpha_mode metalness_image_alpha_mode =
|
| 108 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 109 |
+
anno::display_name("Metalness Image Alpha Mode"),
|
| 110 |
+
anno::in_group("Base")
|
| 111 |
+
]],
|
| 112 |
+
|
| 113 |
+
//Specular reflection
|
| 114 |
+
//
|
| 115 |
+
float specular_reflection_weight = float(1.0) [[
|
| 116 |
+
anno::display_name("Weight"),
|
| 117 |
+
anno::in_group("Specular"),
|
| 118 |
+
anno::hard_range(0.0f, 1.0f)
|
| 119 |
+
]],
|
| 120 |
+
|
| 121 |
+
uniform texture_2d specular_reflection_weight_image = texture_2d() [[
|
| 122 |
+
anno::display_name("Weight Image"),
|
| 123 |
+
anno::in_group("Specular"),
|
| 124 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 125 |
+
]],
|
| 126 |
+
|
| 127 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_weight_image_alpha_mode =
|
| 128 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 129 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 130 |
+
anno::in_group("Specular")
|
| 131 |
+
]],
|
| 132 |
+
|
| 133 |
+
color specular_reflection_color = color(1.0) [[
|
| 134 |
+
anno::display_name("Color"),
|
| 135 |
+
anno::in_group("Specular")
|
| 136 |
+
]],
|
| 137 |
+
|
| 138 |
+
uniform texture_2d specular_reflection_color_image = texture_2d() [[
|
| 139 |
+
anno::display_name("Color Image"),
|
| 140 |
+
anno::in_group("Specular")
|
| 141 |
+
]],
|
| 142 |
+
|
| 143 |
+
float specular_reflection_roughness = float(0.2) [[
|
| 144 |
+
anno::display_name("Roughness"),
|
| 145 |
+
anno::in_group("Specular"),
|
| 146 |
+
anno::hard_range(0.0f, 1.0f)
|
| 147 |
+
]],
|
| 148 |
+
|
| 149 |
+
uniform texture_2d specular_reflection_roughness_image = texture_2d() [[
|
| 150 |
+
anno::display_name("Roughness Image"),
|
| 151 |
+
anno::in_group("Specular"),
|
| 152 |
+
anno::usage("roughness")
|
| 153 |
+
]],
|
| 154 |
+
|
| 155 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_roughness_image_alpha_mode =
|
| 156 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 157 |
+
anno::display_name("Roughness Image Alpha Mode"),
|
| 158 |
+
anno::in_group("Specular")
|
| 159 |
+
]],
|
| 160 |
+
|
| 161 |
+
uniform ::OmniSurface::OmniShared::ior_presets specular_reflection_ior_preset =
|
| 162 |
+
::OmniSurface::OmniShared::ior_custom [[
|
| 163 |
+
anno::display_name("IOR Preset"),
|
| 164 |
+
anno::in_group("Specular")
|
| 165 |
+
]],
|
| 166 |
+
|
| 167 |
+
uniform float specular_reflection_ior = float(1.5) [[
|
| 168 |
+
anno::display_name("IOR"),
|
| 169 |
+
anno::in_group("Specular"),
|
| 170 |
+
anno::soft_range(1.0f, 5.0f),
|
| 171 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 172 |
+
]],
|
| 173 |
+
|
| 174 |
+
float specular_reflection_anisotropy = float(0.0) [[
|
| 175 |
+
anno::display_name("Anisotropy"),
|
| 176 |
+
anno::in_group("Specular"),
|
| 177 |
+
anno::hard_range(0.0f, 1.0f)
|
| 178 |
+
]],
|
| 179 |
+
|
| 180 |
+
uniform texture_2d specular_reflection_anisotropy_image = texture_2d() [[
|
| 181 |
+
anno::display_name("Anisotropy Image"),
|
| 182 |
+
anno::in_group("Specular"),
|
| 183 |
+
anno::usage("anisotropy")
|
| 184 |
+
]],
|
| 185 |
+
|
| 186 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_anisotropy_image_alpha_mode =
|
| 187 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 188 |
+
anno::display_name("Anisotropy Image Alpha Mode"),
|
| 189 |
+
anno::in_group("Specular")
|
| 190 |
+
]],
|
| 191 |
+
|
| 192 |
+
float specular_reflection_anisotropy_rotation = float(0.0) [[
|
| 193 |
+
anno::display_name("Rotation (radian)"),
|
| 194 |
+
anno::in_group("Specular"),
|
| 195 |
+
anno::soft_range(0.0f, 1.0f)
|
| 196 |
+
]],
|
| 197 |
+
|
| 198 |
+
uniform texture_2d specular_reflection_anisotropy_rotation_image = texture_2d() [[
|
| 199 |
+
anno::display_name("Anisotropy Rotation Image"),
|
| 200 |
+
anno::in_group("Specular"),
|
| 201 |
+
anno::usage("anisotropy_rotation")
|
| 202 |
+
]],
|
| 203 |
+
|
| 204 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_anisotropy_rotation_image_alpha_mode =
|
| 205 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 206 |
+
anno::display_name("Anisotropy Rotation Alpha Mode"),
|
| 207 |
+
anno::in_group("Specular")
|
| 208 |
+
]],
|
| 209 |
+
|
| 210 |
+
//Specular transmission
|
| 211 |
+
//
|
| 212 |
+
uniform bool enable_specular_transmission = false [[
|
| 213 |
+
anno::display_name("Enable Transmission"),
|
| 214 |
+
anno::description("Enables the use of transmission"),
|
| 215 |
+
anno::in_group("Transmission")
|
| 216 |
+
]],
|
| 217 |
+
|
| 218 |
+
float specular_transmission_weight = float(0.0) [[
|
| 219 |
+
anno::display_name("Weight"),
|
| 220 |
+
anno::in_group("Transmission"),
|
| 221 |
+
anno::hard_range(0.0f, 1.0f)
|
| 222 |
+
]],
|
| 223 |
+
|
| 224 |
+
uniform texture_2d specular_transmission_weight_image = texture_2d() [[
|
| 225 |
+
anno::display_name("Weight Image"),
|
| 226 |
+
anno::in_group("Transmission"),
|
| 227 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 228 |
+
]],
|
| 229 |
+
|
| 230 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_transmission_weight_image_alpha_mode =
|
| 231 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 232 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 233 |
+
anno::in_group("Transmission")
|
| 234 |
+
]],
|
| 235 |
+
|
| 236 |
+
color specular_transmission_color = color(1.0) [[
|
| 237 |
+
anno::display_name("Color"),
|
| 238 |
+
anno::in_group("Transmission")
|
| 239 |
+
]],
|
| 240 |
+
|
| 241 |
+
uniform texture_2d specular_transmission_color_image = texture_2d() [[
|
| 242 |
+
anno::display_name("Color Image"),
|
| 243 |
+
anno::in_group("Transmission")
|
| 244 |
+
]],
|
| 245 |
+
|
| 246 |
+
float specular_transmission_scattering_depth = float(0.0) [[
|
| 247 |
+
anno::display_name("Depth"),
|
| 248 |
+
anno::in_group("Transmission"),
|
| 249 |
+
anno::soft_range(0.0f, 100.0f),
|
| 250 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 251 |
+
]],
|
| 252 |
+
|
| 253 |
+
uniform texture_2d specular_transmission_scattering_depth_image = texture_2d() [[
|
| 254 |
+
anno::display_name("Depth Image"),
|
| 255 |
+
anno::in_group("Transmission"),
|
| 256 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 257 |
+
]],
|
| 258 |
+
|
| 259 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_transmission_scattering_depth_image_alpha_mode =
|
| 260 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 261 |
+
anno::display_name("Depth Image Alpha Mode"),
|
| 262 |
+
anno::in_group("Transmission")
|
| 263 |
+
]],
|
| 264 |
+
|
| 265 |
+
color specular_transmission_scattering_color = color(0.0) [[
|
| 266 |
+
anno::display_name("Scatter"),
|
| 267 |
+
anno::in_group("Transmission")
|
| 268 |
+
]],
|
| 269 |
+
|
| 270 |
+
uniform texture_2d specular_transmission_scattering_color_image = texture_2d() [[
|
| 271 |
+
anno::display_name("Scatter Image"),
|
| 272 |
+
anno::in_group("Transmission")
|
| 273 |
+
]],
|
| 274 |
+
|
| 275 |
+
float specular_transmission_scatter_anisotropy = float(0.0) [[
|
| 276 |
+
anno::display_name("Scatter Anisotropy"),
|
| 277 |
+
anno::in_group("Transmission"),
|
| 278 |
+
anno::hard_range(-1.0f, 1.0f)
|
| 279 |
+
]],
|
| 280 |
+
|
| 281 |
+
uniform texture_2d specular_transmission_scatter_anisotropy_image = texture_2d() [[
|
| 282 |
+
anno::display_name("Scatter Anisotropy Image"),
|
| 283 |
+
anno::in_group("Transmission")
|
| 284 |
+
]],
|
| 285 |
+
|
| 286 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_transmission_scatter_anisotropy_image_alpha_mode =
|
| 287 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 288 |
+
anno::display_name("Scatter Anisotropy Image Alpha Mode"),
|
| 289 |
+
anno::in_group("Transmission")
|
| 290 |
+
]],
|
| 291 |
+
|
| 292 |
+
uniform float specular_transmission_dispersion_abbe = float(0.0) [[
|
| 293 |
+
anno::display_name("Dispersion Abbe"),
|
| 294 |
+
anno::in_group("Transmission"),
|
| 295 |
+
anno::soft_range(0.0f, 100.0f),
|
| 296 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 297 |
+
]],
|
| 298 |
+
|
| 299 |
+
//Subsurface
|
| 300 |
+
//
|
| 301 |
+
uniform bool enable_diffuse_transmission = false [[
|
| 302 |
+
anno::display_name("Enable Subsurface"),
|
| 303 |
+
anno::description("Enables the use of subsurface"),
|
| 304 |
+
anno::in_group("Subsurface")
|
| 305 |
+
]],
|
| 306 |
+
|
| 307 |
+
float subsurface_weight = float(0.0) [[
|
| 308 |
+
anno::display_name("Weight"),
|
| 309 |
+
anno::in_group("Subsurface"),
|
| 310 |
+
anno::hard_range(0.0f, 1.0f)
|
| 311 |
+
]],
|
| 312 |
+
|
| 313 |
+
uniform texture_2d subsurface_weight_image = texture_2d() [[
|
| 314 |
+
anno::display_name("Weight Image"),
|
| 315 |
+
anno::in_group("Subsurface"),
|
| 316 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 317 |
+
]],
|
| 318 |
+
|
| 319 |
+
uniform ::OmniSurface::OmniImage::alpha_mode subsurface_weight_image_alpha_mode =
|
| 320 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 321 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 322 |
+
anno::in_group("Subsurface")
|
| 323 |
+
]],
|
| 324 |
+
|
| 325 |
+
uniform ::OmniSurface::OmniShared::scattering_colors_presets subsurface_scattering_colors_preset =
|
| 326 |
+
::OmniSurface::OmniShared::scattering_colors_custom [[
|
| 327 |
+
anno::display_name("Scattering Presets"),
|
| 328 |
+
anno::in_group("Subsurface")
|
| 329 |
+
]],
|
| 330 |
+
|
| 331 |
+
color subsurface_transmission_color = color(1.0) [[
|
| 332 |
+
anno::display_name("Color"),
|
| 333 |
+
anno::in_group("Subsurface")
|
| 334 |
+
]],
|
| 335 |
+
|
| 336 |
+
uniform texture_2d subsurface_transmission_color_image = texture_2d() [[
|
| 337 |
+
anno::display_name("Color Image"),
|
| 338 |
+
anno::in_group("Subsurface")
|
| 339 |
+
]],
|
| 340 |
+
|
| 341 |
+
color subsurface_scattering_color = color(1.0) [[
|
| 342 |
+
anno::display_name("Radius (mfp)"),
|
| 343 |
+
anno::in_group("Subsurface")
|
| 344 |
+
]],
|
| 345 |
+
|
| 346 |
+
uniform texture_2d subsurface_scattering_color_image = texture_2d() [[
|
| 347 |
+
anno::display_name("Radius Image"),
|
| 348 |
+
anno::in_group("Subsurface")
|
| 349 |
+
]],
|
| 350 |
+
|
| 351 |
+
float subsurface_scale = float(1.0) [[
|
| 352 |
+
anno::display_name("Scale"),
|
| 353 |
+
anno::in_group("Subsurface"),
|
| 354 |
+
anno::soft_range(0.0f, 10.0f),
|
| 355 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 356 |
+
]],
|
| 357 |
+
|
| 358 |
+
uniform texture_2d subsurface_scale_image = texture_2d() [[
|
| 359 |
+
anno::display_name("Scale Image"),
|
| 360 |
+
anno::in_group("Subsurface"),
|
| 361 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 362 |
+
]],
|
| 363 |
+
|
| 364 |
+
uniform ::OmniSurface::OmniImage::alpha_mode subsurface_scale_image_alpha_mode =
|
| 365 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 366 |
+
anno::display_name("Scale Image Alpha Mode"),
|
| 367 |
+
anno::in_group("Subsurface")
|
| 368 |
+
]],
|
| 369 |
+
|
| 370 |
+
float subsurface_anisotropy = float(0.0) [[
|
| 371 |
+
anno::display_name("Anisotropy"),
|
| 372 |
+
anno::in_group("Subsurface"),
|
| 373 |
+
anno::hard_range(-1.0f, 1.0f)
|
| 374 |
+
]],
|
| 375 |
+
|
| 376 |
+
uniform texture_2d subsurface_anisotropy_image = texture_2d() [[
|
| 377 |
+
anno::display_name("Anisotropy Image"),
|
| 378 |
+
anno::in_group("Subsurface"),
|
| 379 |
+
anno::usage("anisotropy")
|
| 380 |
+
]],
|
| 381 |
+
|
| 382 |
+
uniform ::OmniSurface::OmniImage::alpha_mode subsurface_anisotropy_image_alpha_mode =
|
| 383 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 384 |
+
anno::display_name("Anisotropy Image Alpha Mode"),
|
| 385 |
+
anno::in_group("Subsurface")
|
| 386 |
+
]],
|
| 387 |
+
|
| 388 |
+
//Coat
|
| 389 |
+
//
|
| 390 |
+
float coat_weight = float(0.0) [[
|
| 391 |
+
anno::display_name("Weight"),
|
| 392 |
+
anno::in_group("Coat"),
|
| 393 |
+
anno::hard_range(0.0f, 1.0f)
|
| 394 |
+
]],
|
| 395 |
+
|
| 396 |
+
uniform texture_2d coat_weight_image = texture_2d() [[
|
| 397 |
+
anno::display_name("Weight Image"),
|
| 398 |
+
anno::in_group("Coat"),
|
| 399 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 400 |
+
]],
|
| 401 |
+
|
| 402 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_weight_image_alpha_mode =
|
| 403 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 404 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 405 |
+
anno::in_group("Coat")
|
| 406 |
+
]],
|
| 407 |
+
|
| 408 |
+
color coat_color = color(1.0) [[
|
| 409 |
+
anno::display_name("Color"),
|
| 410 |
+
anno::in_group("Coat")
|
| 411 |
+
]],
|
| 412 |
+
|
| 413 |
+
uniform texture_2d coat_color_image = texture_2d() [[
|
| 414 |
+
anno::display_name("Color Image"),
|
| 415 |
+
anno::in_group("Coat")
|
| 416 |
+
]],
|
| 417 |
+
|
| 418 |
+
float coat_roughness = float(0.1) [[
|
| 419 |
+
anno::display_name("Roughness"),
|
| 420 |
+
anno::in_group("Coat"),
|
| 421 |
+
anno::hard_range(0.0f, 1.0f)
|
| 422 |
+
]],
|
| 423 |
+
|
| 424 |
+
uniform texture_2d coat_roughness_image = texture_2d() [[
|
| 425 |
+
anno::display_name("Roughness Image"),
|
| 426 |
+
anno::in_group("Coat"),
|
| 427 |
+
anno::usage("roughness")
|
| 428 |
+
]],
|
| 429 |
+
|
| 430 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_roughness_image_alpha_mode =
|
| 431 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 432 |
+
anno::display_name("Roughness Image Alpha Mode"),
|
| 433 |
+
anno::in_group("Coat")
|
| 434 |
+
]],
|
| 435 |
+
|
| 436 |
+
uniform ::OmniSurface::OmniShared::ior_presets coat_ior_preset =
|
| 437 |
+
::OmniSurface::OmniShared::ior_custom [[
|
| 438 |
+
anno::display_name("IOR Preset"),
|
| 439 |
+
anno::in_group("Coat")
|
| 440 |
+
]],
|
| 441 |
+
|
| 442 |
+
uniform float coat_ior = float(1.5) [[
|
| 443 |
+
anno::display_name("IOR"),
|
| 444 |
+
anno::in_group("Coat"),
|
| 445 |
+
anno::soft_range(1.0f, 5.0f),
|
| 446 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 447 |
+
]],
|
| 448 |
+
|
| 449 |
+
float coat_anisotropy = float(0.0) [[
|
| 450 |
+
anno::display_name("Anisotropy"),
|
| 451 |
+
anno::in_group("Coat"),
|
| 452 |
+
anno::hard_range(0.0f, 1.0f)
|
| 453 |
+
]],
|
| 454 |
+
|
| 455 |
+
uniform texture_2d coat_anisotropy_image = texture_2d() [[
|
| 456 |
+
anno::display_name("Anisotropy Image"),
|
| 457 |
+
anno::in_group("Coat"),
|
| 458 |
+
anno::usage("anisotropy")
|
| 459 |
+
]],
|
| 460 |
+
|
| 461 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_anisotropy_image_alpha_mode =
|
| 462 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 463 |
+
anno::display_name("Anisotropy Image Alpha Mode"),
|
| 464 |
+
anno::in_group("Coat")
|
| 465 |
+
]],
|
| 466 |
+
|
| 467 |
+
float coat_anisotropy_rotation = float(0.0) [[
|
| 468 |
+
anno::display_name("Rotation (radian)"),
|
| 469 |
+
anno::in_group("Coat"),
|
| 470 |
+
anno::soft_range(0.0f, 1.0f)
|
| 471 |
+
]],
|
| 472 |
+
|
| 473 |
+
uniform texture_2d coat_anisotropy_rotation_image = texture_2d() [[
|
| 474 |
+
anno::display_name("Anisotropy Rotation Image"),
|
| 475 |
+
anno::in_group("Coat"),
|
| 476 |
+
anno::usage("anisotropy_rotation")
|
| 477 |
+
]],
|
| 478 |
+
|
| 479 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_anisotropy_rotation_image_alpha_mode =
|
| 480 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 481 |
+
anno::display_name("Anisotropy Rotation Image Alpha Mode"),
|
| 482 |
+
anno::in_group("Coat")
|
| 483 |
+
]],
|
| 484 |
+
|
| 485 |
+
float coat_affect_color = float(0.0) [[
|
| 486 |
+
anno::display_name("Affect Color"),
|
| 487 |
+
anno::in_group("Coat"),
|
| 488 |
+
anno::hard_range(0.0f, 1.0f)
|
| 489 |
+
]],
|
| 490 |
+
|
| 491 |
+
uniform texture_2d coat_affect_color_image = texture_2d() [[
|
| 492 |
+
anno::display_name("Affect Color Image"),
|
| 493 |
+
anno::in_group("Coat")
|
| 494 |
+
]],
|
| 495 |
+
|
| 496 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_affect_color_image_alpha_mode =
|
| 497 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 498 |
+
anno::display_name("Affect Color Image Alpha Mode"),
|
| 499 |
+
anno::in_group("Coat")
|
| 500 |
+
]],
|
| 501 |
+
|
| 502 |
+
float coat_affect_roughness = float(0.0) [[
|
| 503 |
+
anno::display_name("Affect Roughness"),
|
| 504 |
+
anno::in_group("Coat"),
|
| 505 |
+
anno::hard_range(0.0f, 1.0f)
|
| 506 |
+
]],
|
| 507 |
+
|
| 508 |
+
uniform texture_2d coat_affect_roughness_image = texture_2d() [[
|
| 509 |
+
anno::display_name("Affect Roughness Image"),
|
| 510 |
+
anno::in_group("Coat"),
|
| 511 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 512 |
+
]],
|
| 513 |
+
|
| 514 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_affect_roughness_image_alpha_mode =
|
| 515 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 516 |
+
anno::display_name("Affect Roughness Alpha Mode"),
|
| 517 |
+
anno::in_group("Coat")
|
| 518 |
+
]],
|
| 519 |
+
|
| 520 |
+
uniform float coat_normal_strength = float(1.0) [[
|
| 521 |
+
anno::display_name("Normal Strength"),
|
| 522 |
+
anno::in_group("Coat"),
|
| 523 |
+
anno::soft_range(0.0f, 1.0f),
|
| 524 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 525 |
+
]],
|
| 526 |
+
|
| 527 |
+
float3 coat_normal = state::normal() [[
|
| 528 |
+
anno::display_name("Normal"),
|
| 529 |
+
anno::in_group("Coat"),
|
| 530 |
+
anno::usage("normal")
|
| 531 |
+
]],
|
| 532 |
+
|
| 533 |
+
uniform texture_2d coat_normal_image = texture_2d() [[
|
| 534 |
+
anno::display_name("Normal Map Image"),
|
| 535 |
+
anno::in_group("Coat"),
|
| 536 |
+
anno::usage("normal")
|
| 537 |
+
]],
|
| 538 |
+
|
| 539 |
+
uniform bool coat_normal_image_flip_r_channel = false [[
|
| 540 |
+
anno::display_name("Normal Map Flip R Channel"),
|
| 541 |
+
anno::in_group("Coat")
|
| 542 |
+
]],
|
| 543 |
+
|
| 544 |
+
uniform bool coat_normal_image_flip_g_channel = false [[
|
| 545 |
+
anno::display_name("Normal Map Flip G Channel"),
|
| 546 |
+
anno::in_group("Coat")
|
| 547 |
+
]],
|
| 548 |
+
|
| 549 |
+
uniform bool coat_normal_image_flip_b_channel = false [[
|
| 550 |
+
anno::display_name("Normal Map Flip B Channel"),
|
| 551 |
+
anno::in_group("Coat")
|
| 552 |
+
]],
|
| 553 |
+
|
| 554 |
+
//Specular retro-reflection
|
| 555 |
+
//
|
| 556 |
+
float specular_retro_reflection_weight = float(0.0) [[
|
| 557 |
+
anno::display_name("Weight"),
|
| 558 |
+
anno::in_group("Sheen"),
|
| 559 |
+
anno::hard_range(0.0f, 1.0f)
|
| 560 |
+
]],
|
| 561 |
+
|
| 562 |
+
uniform texture_2d specular_retro_reflection_weight_image = texture_2d() [[
|
| 563 |
+
anno::display_name("Weight Image"),
|
| 564 |
+
anno::in_group("Sheen"),
|
| 565 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 566 |
+
]],
|
| 567 |
+
|
| 568 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_retro_reflection_weight_image_alpha_mode =
|
| 569 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 570 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 571 |
+
anno::in_group("Sheen")
|
| 572 |
+
]],
|
| 573 |
+
|
| 574 |
+
color specular_retro_reflection_color = color(1.0) [[
|
| 575 |
+
anno::display_name("Color"),
|
| 576 |
+
anno::in_group("Sheen")
|
| 577 |
+
]],
|
| 578 |
+
|
| 579 |
+
uniform texture_2d specular_retro_reflection_color_image = texture_2d() [[
|
| 580 |
+
anno::display_name("Color Image"),
|
| 581 |
+
anno::in_group("Sheen")
|
| 582 |
+
]],
|
| 583 |
+
|
| 584 |
+
float specular_retro_reflection_roughness = float(0.3) [[
|
| 585 |
+
anno::display_name("Roughness"),
|
| 586 |
+
anno::in_group("Sheen"),
|
| 587 |
+
anno::hard_range(0.0f, 1.0f)
|
| 588 |
+
]],
|
| 589 |
+
|
| 590 |
+
uniform texture_2d specular_retro_reflection_roughness_image = texture_2d() [[
|
| 591 |
+
anno::display_name("Roughness Image"),
|
| 592 |
+
anno::in_group("Sheen"),
|
| 593 |
+
anno::usage("roughness")
|
| 594 |
+
]],
|
| 595 |
+
|
| 596 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_retro_reflection_roughness_image_alpha_mode =
|
| 597 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 598 |
+
anno::display_name("Roughness Image Alpha Mode"),
|
| 599 |
+
anno::in_group("Sheen")
|
| 600 |
+
]],
|
| 601 |
+
|
| 602 |
+
//Emission
|
| 603 |
+
//
|
| 604 |
+
float emission_weight = float(0.0) [[
|
| 605 |
+
anno::display_name("Weight"),
|
| 606 |
+
anno::in_group("Emission"),
|
| 607 |
+
anno::hard_range(0.0f, 1.0f)
|
| 608 |
+
]],
|
| 609 |
+
|
| 610 |
+
uniform texture_2d emission_weight_image = texture_2d() [[
|
| 611 |
+
anno::display_name("Weight Image"),
|
| 612 |
+
anno::in_group("Emission"),
|
| 613 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 614 |
+
]],
|
| 615 |
+
|
| 616 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_weight_image_alpha_mode =
|
| 617 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 618 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 619 |
+
anno::in_group("Emission")
|
| 620 |
+
]],
|
| 621 |
+
|
| 622 |
+
uniform ::OmniSurface::OmniShared::emission_mode emission_mode =
|
| 623 |
+
::OmniSurface::OmniShared::emission_lx [[
|
| 624 |
+
anno::display_name("Emission Mode"),
|
| 625 |
+
anno::in_group("Emission")
|
| 626 |
+
]],
|
| 627 |
+
|
| 628 |
+
float emission_intensity = float(1.0) [[
|
| 629 |
+
anno::display_name("Intensity"),
|
| 630 |
+
anno::in_group("Emission"),
|
| 631 |
+
anno::soft_range(0.0f, 1000.0f)
|
| 632 |
+
]],
|
| 633 |
+
|
| 634 |
+
uniform texture_2d emission_intensity_image = texture_2d() [[
|
| 635 |
+
anno::display_name("Intensity Image"),
|
| 636 |
+
anno::in_group("Emission"),
|
| 637 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 638 |
+
]],
|
| 639 |
+
|
| 640 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_intensity_image_alpha_mode =
|
| 641 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 642 |
+
anno::display_name("Intensity Image Alpha Mode"),
|
| 643 |
+
anno::in_group("Emission")
|
| 644 |
+
]],
|
| 645 |
+
|
| 646 |
+
color emission_color = color(1.0) [[
|
| 647 |
+
anno::display_name("Color"),
|
| 648 |
+
anno::in_group("Emission")
|
| 649 |
+
]],
|
| 650 |
+
|
| 651 |
+
uniform texture_2d emission_color_image = texture_2d() [[
|
| 652 |
+
anno::display_name("Color Image"),
|
| 653 |
+
anno::in_group("Emission")
|
| 654 |
+
]],
|
| 655 |
+
|
| 656 |
+
uniform bool emission_use_temperature = false [[
|
| 657 |
+
anno::display_name("Use Temperature"),
|
| 658 |
+
anno::in_group("Emission")
|
| 659 |
+
]],
|
| 660 |
+
|
| 661 |
+
float emission_temperature = float(6500.0) [[
|
| 662 |
+
anno::display_name("Temperature (kelvin)"),
|
| 663 |
+
anno::in_group("Emission"),
|
| 664 |
+
anno::soft_range(0.0f, 10000.0f)
|
| 665 |
+
]],
|
| 666 |
+
|
| 667 |
+
uniform texture_2d emission_temperature_image = texture_2d() [[
|
| 668 |
+
anno::display_name("Temperature Image"),
|
| 669 |
+
anno::in_group("Emission"),
|
| 670 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 671 |
+
]],
|
| 672 |
+
|
| 673 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_temperature_image_alpha_mode =
|
| 674 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 675 |
+
anno::display_name("Temperature Image Alpha Mode"),
|
| 676 |
+
anno::in_group("Emission")
|
| 677 |
+
]],
|
| 678 |
+
|
| 679 |
+
//Thin Film
|
| 680 |
+
//
|
| 681 |
+
uniform bool enable_thin_film = false [[
|
| 682 |
+
anno::display_name("Enable Thin Film"),
|
| 683 |
+
anno::description("Enable the use of thin film"),
|
| 684 |
+
anno::in_group("Thin Film")
|
| 685 |
+
]],
|
| 686 |
+
|
| 687 |
+
float thin_film_thickness = float(400.0) [[
|
| 688 |
+
anno::display_name("Thickness (nm)"),
|
| 689 |
+
anno::in_group("Thin Film"),
|
| 690 |
+
anno::soft_range(0.0f, 2000.0f),
|
| 691 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 692 |
+
]],
|
| 693 |
+
|
| 694 |
+
uniform texture_2d thin_film_thickness_image = texture_2d() [[
|
| 695 |
+
anno::display_name("Thickness Image"),
|
| 696 |
+
anno::in_group("Thin Film"),
|
| 697 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 698 |
+
]],
|
| 699 |
+
|
| 700 |
+
uniform ::OmniSurface::OmniImage::alpha_mode thin_film_thickness_image_alpha_mode =
|
| 701 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 702 |
+
anno::display_name("Thickness Image Alpha Mode"),
|
| 703 |
+
anno::in_group("Thin Film")
|
| 704 |
+
]],
|
| 705 |
+
|
| 706 |
+
uniform ::OmniSurface::OmniShared::ior_presets thin_film_ior_preset =
|
| 707 |
+
::OmniSurface::OmniShared::ior_custom [[
|
| 708 |
+
anno::display_name("IOR Preset"),
|
| 709 |
+
anno::in_group("Thin Film")
|
| 710 |
+
]],
|
| 711 |
+
|
| 712 |
+
uniform float thin_film_ior = float(1.5) [[
|
| 713 |
+
anno::display_name("IOR"),
|
| 714 |
+
anno::in_group("Thin Film"),
|
| 715 |
+
anno::soft_range(1.0f, 3.0f),
|
| 716 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 717 |
+
]],
|
| 718 |
+
|
| 719 |
+
//Geometry
|
| 720 |
+
//
|
| 721 |
+
uniform bool thin_walled = false [[
|
| 722 |
+
anno::display_name("Thin Walled"),
|
| 723 |
+
anno::description("Thin surface with no interior."),
|
| 724 |
+
anno::in_group("Geometry")
|
| 725 |
+
]],
|
| 726 |
+
|
| 727 |
+
uniform bool enable_opacity = false [[
|
| 728 |
+
anno::display_name("Enable Opacity"),
|
| 729 |
+
anno::description("Enables the use of cutout opacity"),
|
| 730 |
+
anno::in_group("Geometry")
|
| 731 |
+
]],
|
| 732 |
+
|
| 733 |
+
float geometry_opacity = float(1.0) [[
|
| 734 |
+
anno::display_name("Opacity"),
|
| 735 |
+
anno::in_group("Geometry"),
|
| 736 |
+
anno::hard_range(0.0f, 1.0f)
|
| 737 |
+
]],
|
| 738 |
+
|
| 739 |
+
uniform texture_2d geometry_opacity_image = texture_2d() [[
|
| 740 |
+
anno::display_name("Opacity Image"),
|
| 741 |
+
anno::in_group("Geometry"),
|
| 742 |
+
anno::usage("opacity")
|
| 743 |
+
]],
|
| 744 |
+
|
| 745 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_opacity_image_alpha_mode =
|
| 746 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 747 |
+
anno::display_name("Opacity Image Alpha Mode"),
|
| 748 |
+
anno::in_group("Geometry")
|
| 749 |
+
]],
|
| 750 |
+
|
| 751 |
+
uniform float geometry_opacity_threshold = float(0.0) [[
|
| 752 |
+
anno::display_name("Opacity Threshold"),
|
| 753 |
+
anno::description("If > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 754 |
+
anno::in_group("Geometry"),
|
| 755 |
+
anno::hard_range(0.0f, 1.0f)
|
| 756 |
+
]],
|
| 757 |
+
|
| 758 |
+
uniform float geometry_normal_strength = float(1.0) [[
|
| 759 |
+
anno::display_name("Geometry Normal Strength"),
|
| 760 |
+
anno::in_group("Geometry"),
|
| 761 |
+
anno::soft_range(0.0f, 1.0f),
|
| 762 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 763 |
+
]],
|
| 764 |
+
|
| 765 |
+
float3 geometry_normal = state::normal() [[
|
| 766 |
+
anno::display_name("Geometry Normal"),
|
| 767 |
+
anno::in_group("Geometry"),
|
| 768 |
+
anno::usage("normal")
|
| 769 |
+
]],
|
| 770 |
+
|
| 771 |
+
uniform texture_2d geometry_normal_image = texture_2d() [[
|
| 772 |
+
anno::display_name("Geometry Normal Map Image"),
|
| 773 |
+
anno::in_group("Geometry"),
|
| 774 |
+
anno::usage("normal")
|
| 775 |
+
]],
|
| 776 |
+
|
| 777 |
+
uniform bool geometry_normal_image_flip_r_channel = false [[
|
| 778 |
+
anno::display_name("Normal Map Flip R Channel"),
|
| 779 |
+
anno::in_group("Geometry")
|
| 780 |
+
]],
|
| 781 |
+
|
| 782 |
+
uniform bool geometry_normal_image_flip_g_channel = false [[
|
| 783 |
+
anno::display_name("Normal Map Flip G Channel"),
|
| 784 |
+
anno::in_group("Geometry")
|
| 785 |
+
]],
|
| 786 |
+
|
| 787 |
+
uniform bool geometry_normal_image_flip_b_channel = false [[
|
| 788 |
+
anno::display_name("Normal Map Flip B Channel"),
|
| 789 |
+
anno::in_group("Geometry")
|
| 790 |
+
]],
|
| 791 |
+
|
| 792 |
+
uniform ::OmniSurface::OmniImage::tangent_bitangent_mapping geometry_tangent_bitangent_mapping =
|
| 793 |
+
::OmniSurface::OmniImage::red_green [[
|
| 794 |
+
anno::display_name("Tangent Bitangent Mapping"),
|
| 795 |
+
anno::in_group("Geometry")
|
| 796 |
+
]],
|
| 797 |
+
|
| 798 |
+
//Displacement
|
| 799 |
+
float3 geometry_displacement = float3(0.0) [[
|
| 800 |
+
anno::display_name("Displacement"),
|
| 801 |
+
anno::in_group("Geometry")
|
| 802 |
+
]],
|
| 803 |
+
|
| 804 |
+
uniform ::OmniSurface::OmniShared::displacement_mode geometry_displacement_mode =
|
| 805 |
+
::OmniSurface::OmniShared::displacement_height [[
|
| 806 |
+
anno::display_name("Displacement Mode"),
|
| 807 |
+
anno::in_group("Geometry")
|
| 808 |
+
]],
|
| 809 |
+
|
| 810 |
+
uniform texture_2d geometry_displacement_image = texture_2d() [[
|
| 811 |
+
anno::display_name("Displacement Image"),
|
| 812 |
+
anno::in_group("Geometry"),
|
| 813 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 814 |
+
]],
|
| 815 |
+
|
| 816 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_displacement_image_alpha_mode =
|
| 817 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 818 |
+
anno::display_name("Displacement Image Alpha Mode"),
|
| 819 |
+
anno::in_group("Geometry")
|
| 820 |
+
]],
|
| 821 |
+
|
| 822 |
+
float geometry_displacement_scale = float(1.0) [[
|
| 823 |
+
anno::display_name("Displacement Scale"),
|
| 824 |
+
anno::in_group("Geometry"),
|
| 825 |
+
anno::soft_range(0.0f, 1.0f)
|
| 826 |
+
]],
|
| 827 |
+
|
| 828 |
+
uniform texture_2d geometry_displacement_scale_image = texture_2d() [[
|
| 829 |
+
anno::display_name("Displacement Scale Image"),
|
| 830 |
+
anno::in_group("Geometry"),
|
| 831 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 832 |
+
]],
|
| 833 |
+
|
| 834 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_displacement_scale_image_alpha_mode =
|
| 835 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 836 |
+
anno::display_name("Displacement Scale Image Alpha Mode"),
|
| 837 |
+
anno::in_group("Geometry")
|
| 838 |
+
]],
|
| 839 |
+
|
| 840 |
+
float geometry_displacement_scalar_zero_value = float(0.0) [[
|
| 841 |
+
anno::display_name("Displacement Scalar Zero Value"),
|
| 842 |
+
anno::in_group("Geometry"),
|
| 843 |
+
anno::soft_range(0.0f, 1.0f)
|
| 844 |
+
]],
|
| 845 |
+
|
| 846 |
+
//UVW
|
| 847 |
+
//
|
| 848 |
+
uniform base::texture_coordinate_system uvw_texture_coordinate_system =
|
| 849 |
+
base::texture_coordinate_uvw [[
|
| 850 |
+
anno::display_name("Texture Coordinate"),
|
| 851 |
+
anno::in_group("UVW Coordinates")
|
| 852 |
+
]],
|
| 853 |
+
|
| 854 |
+
uniform int uvw_uv_set = 0 [[
|
| 855 |
+
anno::display_name("UV Set"),
|
| 856 |
+
anno::in_group("UVW Coordinates"),
|
| 857 |
+
anno::hard_range(0, 4)
|
| 858 |
+
]],
|
| 859 |
+
|
| 860 |
+
uniform bool uvw_ignore_missing_textures = false [[
|
| 861 |
+
anno::display_name("Ignore Missing Images"),
|
| 862 |
+
anno::in_group("UVW Coordinates")
|
| 863 |
+
]],
|
| 864 |
+
|
| 865 |
+
color uvw_missing_texture_color = color(0.0, 0.0, 0.0) [[
|
| 866 |
+
anno::display_name("Missing Image Color"),
|
| 867 |
+
anno::in_group("UVW Coordinates")
|
| 868 |
+
]],
|
| 869 |
+
|
| 870 |
+
uniform bool uvw_use_uv_coords = false [[
|
| 871 |
+
anno::display_name("Use UV Coords"),
|
| 872 |
+
anno::in_group("UVW Coordinates")
|
| 873 |
+
]],
|
| 874 |
+
|
| 875 |
+
float2 uvw_uv_coords = float2(0.0) [[
|
| 876 |
+
anno::display_name("UV Coords"),
|
| 877 |
+
anno::in_group("UVW Coordinates")
|
| 878 |
+
]],
|
| 879 |
+
|
| 880 |
+
uniform float uvw_s_offset = 0.0f [[
|
| 881 |
+
anno::display_name("Offset U"),
|
| 882 |
+
anno::in_group("UVW Coordinates"),
|
| 883 |
+
anno::soft_range(-1.0f, 1.0f)
|
| 884 |
+
]],
|
| 885 |
+
|
| 886 |
+
uniform float uvw_t_offset = 0.0f [[
|
| 887 |
+
anno::display_name("Offset V"),
|
| 888 |
+
anno::in_group("UVW Coordinates"),
|
| 889 |
+
anno::soft_range(-1.0f, 1.0f)
|
| 890 |
+
]],
|
| 891 |
+
|
| 892 |
+
uniform ::OmniSurface::OmniImage::wrap_mode uvw_s_wrap =
|
| 893 |
+
::OmniSurface::OmniImage::wrap_periodic [[
|
| 894 |
+
anno::display_name("Wrap U"),
|
| 895 |
+
anno::in_group("UVW Coordinates")
|
| 896 |
+
]],
|
| 897 |
+
|
| 898 |
+
uniform ::OmniSurface::OmniImage::wrap_mode uvw_t_wrap =
|
| 899 |
+
::OmniSurface::OmniImage::wrap_periodic [[
|
| 900 |
+
anno::display_name("Wrap V"),
|
| 901 |
+
anno::in_group("UVW Coordinates")
|
| 902 |
+
]],
|
| 903 |
+
|
| 904 |
+
uniform float uvw_s_scale = 1.0f [[
|
| 905 |
+
anno::display_name("Scale U"),
|
| 906 |
+
anno::in_group("UVW Coordinates"),
|
| 907 |
+
anno::soft_range(0.0f, 100.0f)
|
| 908 |
+
]],
|
| 909 |
+
|
| 910 |
+
uniform float uvw_t_scale = 1.0f [[
|
| 911 |
+
anno::display_name("Scale V"),
|
| 912 |
+
anno::in_group("UVW Coordinates"),
|
| 913 |
+
anno::soft_range(0.0f, 100.0f)
|
| 914 |
+
]],
|
| 915 |
+
|
| 916 |
+
uniform bool uvw_s_flip = false [[
|
| 917 |
+
anno::display_name("Flip U"),
|
| 918 |
+
anno::in_group("UVW Coordinates")
|
| 919 |
+
]],
|
| 920 |
+
|
| 921 |
+
uniform bool uvw_t_flip = false [[
|
| 922 |
+
anno::display_name("Flip V"),
|
| 923 |
+
anno::in_group("UVW Coordinates")
|
| 924 |
+
]],
|
| 925 |
+
|
| 926 |
+
uniform bool uvw_swap_st = false [[
|
| 927 |
+
anno::display_name("Swap UV"),
|
| 928 |
+
anno::in_group("UVW Coordinates")
|
| 929 |
+
]],
|
| 930 |
+
|
| 931 |
+
//Projection Coordinates (Local / World)
|
| 932 |
+
uniform ::OmniSurface::OmniImage::projection_mode uvw_projection_mode =
|
| 933 |
+
::OmniSurface::OmniImage::projection_cubic [[
|
| 934 |
+
anno::display_name("Projection Mode"),
|
| 935 |
+
anno::in_group("UVW Coordinates")
|
| 936 |
+
]],
|
| 937 |
+
|
| 938 |
+
uniform float3 uvw_projection_translate = float3(0.0) [[
|
| 939 |
+
anno::display_name("Translate"),
|
| 940 |
+
anno::description("Translate the projected texture."),
|
| 941 |
+
anno::in_group("UVW Coordinates")
|
| 942 |
+
]],
|
| 943 |
+
|
| 944 |
+
uniform float3 uvw_projection_rotate = float3(0.0) [[
|
| 945 |
+
anno::display_name("Rotate"),
|
| 946 |
+
anno::description("Rotate the projected texture."),
|
| 947 |
+
anno::in_group("UVW Coordinates")
|
| 948 |
+
]],
|
| 949 |
+
|
| 950 |
+
uniform float3 uvw_projection_scale = float3(1.0) [[
|
| 951 |
+
anno::display_name("Scale"),
|
| 952 |
+
anno::description("Scale the projected texture."),
|
| 953 |
+
anno::in_group("UVW Coordinates")
|
| 954 |
+
]]
|
| 955 |
+
)
|
| 956 |
+
[[
|
| 957 |
+
anno::display_name("OmniSurface"),
|
| 958 |
+
anno::description("A base material for modeling a variety of surfaces."),
|
| 959 |
+
anno::author("NVIDIA Corporation"),
|
| 960 |
+
anno::key_words(string[]("generic", "surface")),
|
| 961 |
+
anno::version(1, 0, 0, ""),
|
| 962 |
+
anno::in_group("Advanced")
|
| 963 |
+
]] = let {
|
| 964 |
+
|
| 965 |
+
base::texture_coordinate_info texture_coordinate_info =
|
| 966 |
+
::OmniSurface::OmniImage::compute_texture_coordinate_2(
|
| 967 |
+
uvw_texture_coordinate_system,
|
| 968 |
+
uvw_uv_set,
|
| 969 |
+
uvw_s_offset,
|
| 970 |
+
uvw_t_offset,
|
| 971 |
+
uvw_s_scale,
|
| 972 |
+
uvw_t_scale,
|
| 973 |
+
uvw_s_flip,
|
| 974 |
+
uvw_t_flip,
|
| 975 |
+
uvw_swap_st,
|
| 976 |
+
uvw_projection_mode,
|
| 977 |
+
uvw_projection_translate,
|
| 978 |
+
uvw_projection_rotate,
|
| 979 |
+
uvw_projection_scale);
|
| 980 |
+
|
| 981 |
+
material base = ::OmniSurface::OmniSurfaceBase::OmniSurfaceBase(
|
| 982 |
+
|
| 983 |
+
//Base
|
| 984 |
+
//
|
| 985 |
+
diffuse_reflection_weight: tex::texture_isvalid(diffuse_reflection_weight_image) ?
|
| 986 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 987 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 988 |
+
diffuse_reflection_weight_image,
|
| 989 |
+
uvw_ignore_missing_textures,
|
| 990 |
+
uvw_missing_texture_color,
|
| 991 |
+
uvw_use_uv_coords,
|
| 992 |
+
uvw_uv_coords,
|
| 993 |
+
uvw_s_wrap,
|
| 994 |
+
uvw_t_wrap,
|
| 995 |
+
texture_coordinate_info
|
| 996 |
+
),
|
| 997 |
+
diffuse_reflection_weight_image_alpha_mode
|
| 998 |
+
).mono :
|
| 999 |
+
diffuse_reflection_weight,
|
| 1000 |
+
|
| 1001 |
+
diffuse_reflection_color: tex::texture_isvalid(diffuse_reflection_color_image) ?
|
| 1002 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1003 |
+
diffuse_reflection_color_image,
|
| 1004 |
+
uvw_ignore_missing_textures,
|
| 1005 |
+
uvw_missing_texture_color,
|
| 1006 |
+
uvw_use_uv_coords,
|
| 1007 |
+
uvw_uv_coords,
|
| 1008 |
+
uvw_s_wrap,
|
| 1009 |
+
uvw_t_wrap,
|
| 1010 |
+
texture_coordinate_info
|
| 1011 |
+
).tint :
|
| 1012 |
+
diffuse_reflection_color,
|
| 1013 |
+
|
| 1014 |
+
diffuse_reflection_roughness: tex::texture_isvalid(diffuse_reflection_roughness_image) ?
|
| 1015 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1016 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1017 |
+
diffuse_reflection_roughness_image,
|
| 1018 |
+
uvw_ignore_missing_textures,
|
| 1019 |
+
uvw_missing_texture_color,
|
| 1020 |
+
uvw_use_uv_coords,
|
| 1021 |
+
uvw_uv_coords,
|
| 1022 |
+
uvw_s_wrap,
|
| 1023 |
+
uvw_t_wrap,
|
| 1024 |
+
texture_coordinate_info
|
| 1025 |
+
),
|
| 1026 |
+
diffuse_reflection_roughness_image_alpha_mode
|
| 1027 |
+
).mono :
|
| 1028 |
+
diffuse_reflection_roughness,
|
| 1029 |
+
|
| 1030 |
+
//Metalness
|
| 1031 |
+
//
|
| 1032 |
+
metalness: tex::texture_isvalid(metalness_image) ?
|
| 1033 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1034 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1035 |
+
metalness_image,
|
| 1036 |
+
uvw_ignore_missing_textures,
|
| 1037 |
+
uvw_missing_texture_color,
|
| 1038 |
+
uvw_use_uv_coords,
|
| 1039 |
+
uvw_uv_coords,
|
| 1040 |
+
uvw_s_wrap,
|
| 1041 |
+
uvw_t_wrap,
|
| 1042 |
+
texture_coordinate_info
|
| 1043 |
+
),
|
| 1044 |
+
metalness_image_alpha_mode
|
| 1045 |
+
).mono :
|
| 1046 |
+
metalness,
|
| 1047 |
+
|
| 1048 |
+
//Specular reflection
|
| 1049 |
+
//
|
| 1050 |
+
specular_reflection_weight: tex::texture_isvalid(specular_reflection_weight_image) ?
|
| 1051 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1052 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1053 |
+
specular_reflection_weight_image,
|
| 1054 |
+
uvw_ignore_missing_textures,
|
| 1055 |
+
uvw_missing_texture_color,
|
| 1056 |
+
uvw_use_uv_coords,
|
| 1057 |
+
uvw_uv_coords,
|
| 1058 |
+
uvw_s_wrap,
|
| 1059 |
+
uvw_t_wrap,
|
| 1060 |
+
texture_coordinate_info
|
| 1061 |
+
),
|
| 1062 |
+
specular_reflection_weight_image_alpha_mode
|
| 1063 |
+
).mono :
|
| 1064 |
+
specular_reflection_weight,
|
| 1065 |
+
|
| 1066 |
+
specular_reflection_color: tex::texture_isvalid(specular_reflection_color_image) ?
|
| 1067 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1068 |
+
specular_reflection_color_image,
|
| 1069 |
+
uvw_ignore_missing_textures,
|
| 1070 |
+
uvw_missing_texture_color,
|
| 1071 |
+
uvw_use_uv_coords,
|
| 1072 |
+
uvw_uv_coords,
|
| 1073 |
+
uvw_s_wrap,
|
| 1074 |
+
uvw_t_wrap,
|
| 1075 |
+
texture_coordinate_info
|
| 1076 |
+
).tint :
|
| 1077 |
+
specular_reflection_color,
|
| 1078 |
+
|
| 1079 |
+
specular_reflection_roughness: tex::texture_isvalid(specular_reflection_roughness_image) ?
|
| 1080 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1081 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1082 |
+
specular_reflection_roughness_image,
|
| 1083 |
+
uvw_ignore_missing_textures,
|
| 1084 |
+
uvw_missing_texture_color,
|
| 1085 |
+
uvw_use_uv_coords,
|
| 1086 |
+
uvw_uv_coords,
|
| 1087 |
+
uvw_s_wrap,
|
| 1088 |
+
uvw_t_wrap,
|
| 1089 |
+
texture_coordinate_info
|
| 1090 |
+
),
|
| 1091 |
+
specular_reflection_roughness_image_alpha_mode
|
| 1092 |
+
).mono :
|
| 1093 |
+
specular_reflection_roughness,
|
| 1094 |
+
|
| 1095 |
+
specular_reflection_ior_preset: specular_reflection_ior_preset,
|
| 1096 |
+
specular_reflection_ior: specular_reflection_ior,
|
| 1097 |
+
|
| 1098 |
+
specular_reflection_anisotropy: tex::texture_isvalid(specular_reflection_anisotropy_image) ?
|
| 1099 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1100 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1101 |
+
specular_reflection_anisotropy_image,
|
| 1102 |
+
uvw_ignore_missing_textures,
|
| 1103 |
+
uvw_missing_texture_color,
|
| 1104 |
+
uvw_use_uv_coords,
|
| 1105 |
+
uvw_uv_coords,
|
| 1106 |
+
uvw_s_wrap,
|
| 1107 |
+
uvw_t_wrap,
|
| 1108 |
+
texture_coordinate_info
|
| 1109 |
+
),
|
| 1110 |
+
specular_reflection_anisotropy_image_alpha_mode
|
| 1111 |
+
).mono :
|
| 1112 |
+
specular_reflection_anisotropy,
|
| 1113 |
+
|
| 1114 |
+
specular_reflection_anisotropy_rotation: tex::texture_isvalid(specular_reflection_anisotropy_rotation_image) ?
|
| 1115 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1116 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1117 |
+
specular_reflection_anisotropy_rotation_image,
|
| 1118 |
+
uvw_ignore_missing_textures,
|
| 1119 |
+
uvw_missing_texture_color,
|
| 1120 |
+
uvw_use_uv_coords,
|
| 1121 |
+
uvw_uv_coords,
|
| 1122 |
+
uvw_s_wrap,
|
| 1123 |
+
uvw_t_wrap,
|
| 1124 |
+
texture_coordinate_info
|
| 1125 |
+
),
|
| 1126 |
+
specular_reflection_anisotropy_rotation_image_alpha_mode
|
| 1127 |
+
).mono :
|
| 1128 |
+
specular_reflection_anisotropy_rotation,
|
| 1129 |
+
|
| 1130 |
+
//Specular transmission
|
| 1131 |
+
//
|
| 1132 |
+
enable_specular_transmission: enable_specular_transmission,
|
| 1133 |
+
|
| 1134 |
+
specular_transmission_weight: tex::texture_isvalid(specular_transmission_weight_image) ?
|
| 1135 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1136 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1137 |
+
specular_transmission_weight_image,
|
| 1138 |
+
uvw_ignore_missing_textures,
|
| 1139 |
+
uvw_missing_texture_color,
|
| 1140 |
+
uvw_use_uv_coords,
|
| 1141 |
+
uvw_uv_coords,
|
| 1142 |
+
uvw_s_wrap,
|
| 1143 |
+
uvw_t_wrap,
|
| 1144 |
+
texture_coordinate_info
|
| 1145 |
+
),
|
| 1146 |
+
specular_transmission_weight_image_alpha_mode
|
| 1147 |
+
).mono :
|
| 1148 |
+
specular_transmission_weight,
|
| 1149 |
+
|
| 1150 |
+
specular_transmission_color: tex::texture_isvalid(specular_transmission_color_image) ?
|
| 1151 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1152 |
+
specular_transmission_color_image,
|
| 1153 |
+
uvw_ignore_missing_textures,
|
| 1154 |
+
uvw_missing_texture_color,
|
| 1155 |
+
uvw_use_uv_coords,
|
| 1156 |
+
uvw_uv_coords,
|
| 1157 |
+
uvw_s_wrap,
|
| 1158 |
+
uvw_t_wrap,
|
| 1159 |
+
texture_coordinate_info
|
| 1160 |
+
).tint :
|
| 1161 |
+
specular_transmission_color,
|
| 1162 |
+
|
| 1163 |
+
specular_transmission_scattering_depth: tex::texture_isvalid(specular_transmission_scattering_depth_image) ?
|
| 1164 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1165 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1166 |
+
specular_transmission_scattering_depth_image,
|
| 1167 |
+
uvw_ignore_missing_textures,
|
| 1168 |
+
uvw_missing_texture_color,
|
| 1169 |
+
uvw_use_uv_coords,
|
| 1170 |
+
uvw_uv_coords,
|
| 1171 |
+
uvw_s_wrap,
|
| 1172 |
+
uvw_t_wrap,
|
| 1173 |
+
texture_coordinate_info
|
| 1174 |
+
),
|
| 1175 |
+
specular_transmission_scattering_depth_image_alpha_mode
|
| 1176 |
+
).mono :
|
| 1177 |
+
specular_transmission_scattering_depth,
|
| 1178 |
+
|
| 1179 |
+
specular_transmission_scattering_color: tex::texture_isvalid(specular_transmission_scattering_color_image) ?
|
| 1180 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1181 |
+
specular_transmission_scattering_color_image,
|
| 1182 |
+
uvw_ignore_missing_textures,
|
| 1183 |
+
uvw_missing_texture_color,
|
| 1184 |
+
uvw_use_uv_coords,
|
| 1185 |
+
uvw_uv_coords,
|
| 1186 |
+
uvw_s_wrap,
|
| 1187 |
+
uvw_t_wrap,
|
| 1188 |
+
texture_coordinate_info
|
| 1189 |
+
).tint :
|
| 1190 |
+
specular_transmission_scattering_color,
|
| 1191 |
+
|
| 1192 |
+
specular_transmission_scatter_anisotropy: tex::texture_isvalid(specular_transmission_scatter_anisotropy_image) ?
|
| 1193 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1194 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1195 |
+
specular_transmission_scatter_anisotropy_image,
|
| 1196 |
+
uvw_ignore_missing_textures,
|
| 1197 |
+
uvw_missing_texture_color,
|
| 1198 |
+
uvw_use_uv_coords,
|
| 1199 |
+
uvw_uv_coords,
|
| 1200 |
+
uvw_s_wrap,
|
| 1201 |
+
uvw_t_wrap,
|
| 1202 |
+
texture_coordinate_info
|
| 1203 |
+
),
|
| 1204 |
+
specular_transmission_scatter_anisotropy_image_alpha_mode
|
| 1205 |
+
).mono :
|
| 1206 |
+
specular_transmission_scatter_anisotropy,
|
| 1207 |
+
|
| 1208 |
+
specular_transmission_dispersion_abbe: specular_transmission_dispersion_abbe,
|
| 1209 |
+
|
| 1210 |
+
//Subsurface
|
| 1211 |
+
//
|
| 1212 |
+
enable_diffuse_transmission: enable_diffuse_transmission,
|
| 1213 |
+
|
| 1214 |
+
subsurface_weight: tex::texture_isvalid(subsurface_weight_image) ?
|
| 1215 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1216 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1217 |
+
subsurface_weight_image,
|
| 1218 |
+
uvw_ignore_missing_textures,
|
| 1219 |
+
uvw_missing_texture_color,
|
| 1220 |
+
uvw_use_uv_coords,
|
| 1221 |
+
uvw_uv_coords,
|
| 1222 |
+
uvw_s_wrap,
|
| 1223 |
+
uvw_t_wrap,
|
| 1224 |
+
texture_coordinate_info
|
| 1225 |
+
),
|
| 1226 |
+
subsurface_weight_image_alpha_mode
|
| 1227 |
+
).mono :
|
| 1228 |
+
subsurface_weight,
|
| 1229 |
+
|
| 1230 |
+
subsurface_scattering_colors_preset: subsurface_scattering_colors_preset,
|
| 1231 |
+
|
| 1232 |
+
subsurface_transmission_color: tex::texture_isvalid(subsurface_transmission_color_image) ?
|
| 1233 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1234 |
+
subsurface_transmission_color_image,
|
| 1235 |
+
uvw_ignore_missing_textures,
|
| 1236 |
+
uvw_missing_texture_color,
|
| 1237 |
+
uvw_use_uv_coords,
|
| 1238 |
+
uvw_uv_coords,
|
| 1239 |
+
uvw_s_wrap,
|
| 1240 |
+
uvw_t_wrap,
|
| 1241 |
+
texture_coordinate_info
|
| 1242 |
+
).tint :
|
| 1243 |
+
subsurface_transmission_color,
|
| 1244 |
+
|
| 1245 |
+
subsurface_scattering_color: tex::texture_isvalid(subsurface_scattering_color_image) ?
|
| 1246 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1247 |
+
subsurface_scattering_color_image,
|
| 1248 |
+
uvw_ignore_missing_textures,
|
| 1249 |
+
uvw_missing_texture_color,
|
| 1250 |
+
uvw_use_uv_coords,
|
| 1251 |
+
uvw_uv_coords,
|
| 1252 |
+
uvw_s_wrap,
|
| 1253 |
+
uvw_t_wrap,
|
| 1254 |
+
texture_coordinate_info
|
| 1255 |
+
).tint :
|
| 1256 |
+
subsurface_scattering_color,
|
| 1257 |
+
|
| 1258 |
+
subsurface_scale: tex::texture_isvalid(subsurface_scale_image) ?
|
| 1259 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1260 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1261 |
+
subsurface_scale_image,
|
| 1262 |
+
uvw_ignore_missing_textures,
|
| 1263 |
+
uvw_missing_texture_color,
|
| 1264 |
+
uvw_use_uv_coords,
|
| 1265 |
+
uvw_uv_coords,
|
| 1266 |
+
uvw_s_wrap,
|
| 1267 |
+
uvw_t_wrap,
|
| 1268 |
+
texture_coordinate_info
|
| 1269 |
+
),
|
| 1270 |
+
subsurface_scale_image_alpha_mode
|
| 1271 |
+
).mono :
|
| 1272 |
+
subsurface_scale,
|
| 1273 |
+
|
| 1274 |
+
subsurface_anisotropy: tex::texture_isvalid(subsurface_anisotropy_image) ?
|
| 1275 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1276 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1277 |
+
subsurface_anisotropy_image,
|
| 1278 |
+
uvw_ignore_missing_textures,
|
| 1279 |
+
uvw_missing_texture_color,
|
| 1280 |
+
uvw_use_uv_coords,
|
| 1281 |
+
uvw_uv_coords,
|
| 1282 |
+
uvw_s_wrap,
|
| 1283 |
+
uvw_t_wrap,
|
| 1284 |
+
texture_coordinate_info
|
| 1285 |
+
),
|
| 1286 |
+
subsurface_anisotropy_image_alpha_mode
|
| 1287 |
+
).mono :
|
| 1288 |
+
subsurface_anisotropy,
|
| 1289 |
+
|
| 1290 |
+
//Coat
|
| 1291 |
+
//
|
| 1292 |
+
coat_weight: tex::texture_isvalid(coat_weight_image) ?
|
| 1293 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1294 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1295 |
+
coat_weight_image,
|
| 1296 |
+
uvw_ignore_missing_textures,
|
| 1297 |
+
uvw_missing_texture_color,
|
| 1298 |
+
uvw_use_uv_coords,
|
| 1299 |
+
uvw_uv_coords,
|
| 1300 |
+
uvw_s_wrap,
|
| 1301 |
+
uvw_t_wrap,
|
| 1302 |
+
texture_coordinate_info
|
| 1303 |
+
),
|
| 1304 |
+
coat_weight_image_alpha_mode
|
| 1305 |
+
).mono :
|
| 1306 |
+
coat_weight,
|
| 1307 |
+
|
| 1308 |
+
coat_color: tex::texture_isvalid(coat_color_image) ?
|
| 1309 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1310 |
+
coat_color_image,
|
| 1311 |
+
uvw_ignore_missing_textures,
|
| 1312 |
+
uvw_missing_texture_color,
|
| 1313 |
+
uvw_use_uv_coords,
|
| 1314 |
+
uvw_uv_coords,
|
| 1315 |
+
uvw_s_wrap,
|
| 1316 |
+
uvw_t_wrap,
|
| 1317 |
+
texture_coordinate_info
|
| 1318 |
+
).tint :
|
| 1319 |
+
coat_color,
|
| 1320 |
+
|
| 1321 |
+
coat_roughness: tex::texture_isvalid(coat_roughness_image) ?
|
| 1322 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1323 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1324 |
+
coat_roughness_image,
|
| 1325 |
+
uvw_ignore_missing_textures,
|
| 1326 |
+
uvw_missing_texture_color,
|
| 1327 |
+
uvw_use_uv_coords,
|
| 1328 |
+
uvw_uv_coords,
|
| 1329 |
+
uvw_s_wrap,
|
| 1330 |
+
uvw_t_wrap,
|
| 1331 |
+
texture_coordinate_info
|
| 1332 |
+
),
|
| 1333 |
+
coat_roughness_image_alpha_mode
|
| 1334 |
+
).mono :
|
| 1335 |
+
coat_roughness,
|
| 1336 |
+
|
| 1337 |
+
coat_ior_preset: coat_ior_preset,
|
| 1338 |
+
coat_ior: coat_ior,
|
| 1339 |
+
|
| 1340 |
+
coat_anisotropy: tex::texture_isvalid(coat_anisotropy_image) ?
|
| 1341 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1342 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1343 |
+
coat_anisotropy_image,
|
| 1344 |
+
uvw_ignore_missing_textures,
|
| 1345 |
+
uvw_missing_texture_color,
|
| 1346 |
+
uvw_use_uv_coords,
|
| 1347 |
+
uvw_uv_coords,
|
| 1348 |
+
uvw_s_wrap,
|
| 1349 |
+
uvw_t_wrap,
|
| 1350 |
+
texture_coordinate_info
|
| 1351 |
+
),
|
| 1352 |
+
coat_anisotropy_image_alpha_mode
|
| 1353 |
+
).mono :
|
| 1354 |
+
coat_anisotropy,
|
| 1355 |
+
|
| 1356 |
+
coat_anisotropy_rotation: tex::texture_isvalid(coat_anisotropy_rotation_image) ?
|
| 1357 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1358 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1359 |
+
coat_anisotropy_rotation_image,
|
| 1360 |
+
uvw_ignore_missing_textures,
|
| 1361 |
+
uvw_missing_texture_color,
|
| 1362 |
+
uvw_use_uv_coords,
|
| 1363 |
+
uvw_uv_coords,
|
| 1364 |
+
uvw_s_wrap,
|
| 1365 |
+
uvw_t_wrap,
|
| 1366 |
+
texture_coordinate_info
|
| 1367 |
+
),
|
| 1368 |
+
coat_anisotropy_rotation_image_alpha_mode
|
| 1369 |
+
).mono :
|
| 1370 |
+
coat_anisotropy_rotation,
|
| 1371 |
+
|
| 1372 |
+
coat_affect_color: tex::texture_isvalid(coat_affect_color_image) ?
|
| 1373 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1374 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1375 |
+
coat_affect_color_image,
|
| 1376 |
+
uvw_ignore_missing_textures,
|
| 1377 |
+
uvw_missing_texture_color,
|
| 1378 |
+
uvw_use_uv_coords,
|
| 1379 |
+
uvw_uv_coords,
|
| 1380 |
+
uvw_s_wrap,
|
| 1381 |
+
uvw_t_wrap,
|
| 1382 |
+
texture_coordinate_info
|
| 1383 |
+
),
|
| 1384 |
+
coat_affect_color_image_alpha_mode
|
| 1385 |
+
).mono :
|
| 1386 |
+
coat_affect_color,
|
| 1387 |
+
|
| 1388 |
+
coat_affect_roughness: tex::texture_isvalid(coat_affect_roughness_image) ?
|
| 1389 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1390 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1391 |
+
coat_affect_roughness_image,
|
| 1392 |
+
uvw_ignore_missing_textures,
|
| 1393 |
+
uvw_missing_texture_color,
|
| 1394 |
+
uvw_use_uv_coords,
|
| 1395 |
+
uvw_uv_coords,
|
| 1396 |
+
uvw_s_wrap,
|
| 1397 |
+
uvw_t_wrap,
|
| 1398 |
+
texture_coordinate_info
|
| 1399 |
+
),
|
| 1400 |
+
coat_affect_roughness_image_alpha_mode
|
| 1401 |
+
).mono :
|
| 1402 |
+
coat_affect_roughness,
|
| 1403 |
+
|
| 1404 |
+
coat_normal: tex::texture_isvalid(coat_normal_image) ?
|
| 1405 |
+
::OmniSurface::OmniImage::normal_mapping(
|
| 1406 |
+
::OmniSurface::OmniImage::tangent_space_normal_lookup_2(
|
| 1407 |
+
coat_normal_image,
|
| 1408 |
+
uvw_ignore_missing_textures,
|
| 1409 |
+
uvw_use_uv_coords,
|
| 1410 |
+
uvw_uv_coords,
|
| 1411 |
+
uvw_s_wrap,
|
| 1412 |
+
uvw_t_wrap,
|
| 1413 |
+
uvw_s_flip,
|
| 1414 |
+
uvw_t_flip,
|
| 1415 |
+
coat_normal_strength,
|
| 1416 |
+
coat_normal_image_flip_r_channel,
|
| 1417 |
+
coat_normal_image_flip_g_channel,
|
| 1418 |
+
coat_normal_image_flip_b_channel,
|
| 1419 |
+
texture_coordinate_info
|
| 1420 |
+
),
|
| 1421 |
+
geometry_tangent_bitangent_mapping,
|
| 1422 |
+
coat_normal
|
| 1423 |
+
):
|
| 1424 |
+
coat_normal,
|
| 1425 |
+
|
| 1426 |
+
//Specular retro reflection
|
| 1427 |
+
//
|
| 1428 |
+
specular_retro_reflection_weight: tex::texture_isvalid(specular_retro_reflection_weight_image) ?
|
| 1429 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1430 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1431 |
+
specular_retro_reflection_weight_image,
|
| 1432 |
+
uvw_ignore_missing_textures,
|
| 1433 |
+
uvw_missing_texture_color,
|
| 1434 |
+
uvw_use_uv_coords,
|
| 1435 |
+
uvw_uv_coords,
|
| 1436 |
+
uvw_s_wrap,
|
| 1437 |
+
uvw_t_wrap,
|
| 1438 |
+
texture_coordinate_info
|
| 1439 |
+
),
|
| 1440 |
+
specular_retro_reflection_weight_image_alpha_mode
|
| 1441 |
+
).mono :
|
| 1442 |
+
specular_retro_reflection_weight,
|
| 1443 |
+
|
| 1444 |
+
specular_retro_reflection_color: tex::texture_isvalid(specular_retro_reflection_color_image) ?
|
| 1445 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1446 |
+
specular_retro_reflection_color_image,
|
| 1447 |
+
uvw_ignore_missing_textures,
|
| 1448 |
+
uvw_missing_texture_color,
|
| 1449 |
+
uvw_use_uv_coords,
|
| 1450 |
+
uvw_uv_coords,
|
| 1451 |
+
uvw_s_wrap,
|
| 1452 |
+
uvw_t_wrap,
|
| 1453 |
+
texture_coordinate_info
|
| 1454 |
+
).tint :
|
| 1455 |
+
specular_retro_reflection_color,
|
| 1456 |
+
|
| 1457 |
+
specular_retro_reflection_roughness: tex::texture_isvalid(specular_retro_reflection_roughness_image) ?
|
| 1458 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1459 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1460 |
+
specular_retro_reflection_roughness_image,
|
| 1461 |
+
uvw_ignore_missing_textures,
|
| 1462 |
+
uvw_missing_texture_color,
|
| 1463 |
+
uvw_use_uv_coords,
|
| 1464 |
+
uvw_uv_coords,
|
| 1465 |
+
uvw_s_wrap,
|
| 1466 |
+
uvw_t_wrap,
|
| 1467 |
+
texture_coordinate_info
|
| 1468 |
+
),
|
| 1469 |
+
specular_retro_reflection_roughness_image_alpha_mode
|
| 1470 |
+
).mono :
|
| 1471 |
+
specular_retro_reflection_roughness,
|
| 1472 |
+
|
| 1473 |
+
//Emission
|
| 1474 |
+
//
|
| 1475 |
+
emission_weight: tex::texture_isvalid(emission_weight_image) ?
|
| 1476 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1477 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1478 |
+
emission_weight_image,
|
| 1479 |
+
uvw_ignore_missing_textures,
|
| 1480 |
+
uvw_missing_texture_color,
|
| 1481 |
+
uvw_use_uv_coords,
|
| 1482 |
+
uvw_uv_coords,
|
| 1483 |
+
uvw_s_wrap,
|
| 1484 |
+
uvw_t_wrap,
|
| 1485 |
+
texture_coordinate_info
|
| 1486 |
+
),
|
| 1487 |
+
emission_weight_image_alpha_mode
|
| 1488 |
+
).mono :
|
| 1489 |
+
emission_weight,
|
| 1490 |
+
|
| 1491 |
+
emission_mode: emission_mode,
|
| 1492 |
+
|
| 1493 |
+
emission_intensity: tex::texture_isvalid(emission_intensity_image) ?
|
| 1494 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1495 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1496 |
+
emission_intensity_image,
|
| 1497 |
+
uvw_ignore_missing_textures,
|
| 1498 |
+
uvw_missing_texture_color,
|
| 1499 |
+
uvw_use_uv_coords,
|
| 1500 |
+
uvw_uv_coords,
|
| 1501 |
+
uvw_s_wrap,
|
| 1502 |
+
uvw_t_wrap,
|
| 1503 |
+
texture_coordinate_info
|
| 1504 |
+
),
|
| 1505 |
+
emission_intensity_image_alpha_mode
|
| 1506 |
+
).mono :
|
| 1507 |
+
emission_intensity,
|
| 1508 |
+
|
| 1509 |
+
emission_color: tex::texture_isvalid(emission_color_image) ?
|
| 1510 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1511 |
+
emission_color_image,
|
| 1512 |
+
uvw_ignore_missing_textures,
|
| 1513 |
+
uvw_missing_texture_color,
|
| 1514 |
+
uvw_use_uv_coords,
|
| 1515 |
+
uvw_uv_coords,
|
| 1516 |
+
uvw_s_wrap,
|
| 1517 |
+
uvw_t_wrap,
|
| 1518 |
+
texture_coordinate_info
|
| 1519 |
+
).tint :
|
| 1520 |
+
emission_color,
|
| 1521 |
+
|
| 1522 |
+
emission_use_temperature: emission_use_temperature,
|
| 1523 |
+
|
| 1524 |
+
emission_temperature: tex::texture_isvalid(emission_temperature_image) ?
|
| 1525 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1526 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1527 |
+
emission_temperature_image,
|
| 1528 |
+
uvw_ignore_missing_textures,
|
| 1529 |
+
uvw_missing_texture_color,
|
| 1530 |
+
uvw_use_uv_coords,
|
| 1531 |
+
uvw_uv_coords,
|
| 1532 |
+
uvw_s_wrap,
|
| 1533 |
+
uvw_t_wrap,
|
| 1534 |
+
texture_coordinate_info
|
| 1535 |
+
),
|
| 1536 |
+
emission_temperature_image_alpha_mode
|
| 1537 |
+
).mono :
|
| 1538 |
+
emission_temperature,
|
| 1539 |
+
|
| 1540 |
+
//Thin Film
|
| 1541 |
+
//
|
| 1542 |
+
enable_thin_film: enable_thin_film,
|
| 1543 |
+
|
| 1544 |
+
thin_film_thickness: tex::texture_isvalid(thin_film_thickness_image) ?
|
| 1545 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1546 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1547 |
+
thin_film_thickness_image,
|
| 1548 |
+
uvw_ignore_missing_textures,
|
| 1549 |
+
uvw_missing_texture_color,
|
| 1550 |
+
uvw_use_uv_coords,
|
| 1551 |
+
uvw_uv_coords,
|
| 1552 |
+
uvw_s_wrap,
|
| 1553 |
+
uvw_t_wrap,
|
| 1554 |
+
texture_coordinate_info
|
| 1555 |
+
),
|
| 1556 |
+
thin_film_thickness_image_alpha_mode
|
| 1557 |
+
).mono :
|
| 1558 |
+
thin_film_thickness,
|
| 1559 |
+
|
| 1560 |
+
thin_film_ior_preset: thin_film_ior_preset,
|
| 1561 |
+
thin_film_ior: thin_film_ior,
|
| 1562 |
+
|
| 1563 |
+
//Geometry
|
| 1564 |
+
//
|
| 1565 |
+
thin_walled: thin_walled,
|
| 1566 |
+
|
| 1567 |
+
enable_opacity: enable_opacity,
|
| 1568 |
+
|
| 1569 |
+
geometry_opacity: tex::texture_isvalid(geometry_opacity_image) ?
|
| 1570 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1571 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1572 |
+
geometry_opacity_image,
|
| 1573 |
+
uvw_ignore_missing_textures,
|
| 1574 |
+
uvw_missing_texture_color,
|
| 1575 |
+
uvw_use_uv_coords,
|
| 1576 |
+
uvw_uv_coords,
|
| 1577 |
+
uvw_s_wrap,
|
| 1578 |
+
uvw_t_wrap,
|
| 1579 |
+
texture_coordinate_info
|
| 1580 |
+
),
|
| 1581 |
+
geometry_opacity_image_alpha_mode
|
| 1582 |
+
).mono :
|
| 1583 |
+
geometry_opacity,
|
| 1584 |
+
|
| 1585 |
+
geometry_opacity_threshold: geometry_opacity_threshold,
|
| 1586 |
+
|
| 1587 |
+
geometry_normal: tex::texture_isvalid(geometry_normal_image) ?
|
| 1588 |
+
::OmniSurface::OmniImage::normal_mapping(
|
| 1589 |
+
::OmniSurface::OmniImage::tangent_space_normal_lookup_2(
|
| 1590 |
+
geometry_normal_image,
|
| 1591 |
+
uvw_ignore_missing_textures,
|
| 1592 |
+
uvw_use_uv_coords,
|
| 1593 |
+
uvw_uv_coords,
|
| 1594 |
+
uvw_s_wrap,
|
| 1595 |
+
uvw_t_wrap,
|
| 1596 |
+
uvw_s_flip,
|
| 1597 |
+
uvw_t_flip,
|
| 1598 |
+
geometry_normal_strength,
|
| 1599 |
+
geometry_normal_image_flip_r_channel,
|
| 1600 |
+
geometry_normal_image_flip_g_channel,
|
| 1601 |
+
geometry_normal_image_flip_b_channel,
|
| 1602 |
+
texture_coordinate_info
|
| 1603 |
+
),
|
| 1604 |
+
geometry_tangent_bitangent_mapping,
|
| 1605 |
+
geometry_normal
|
| 1606 |
+
):
|
| 1607 |
+
geometry_normal,
|
| 1608 |
+
|
| 1609 |
+
geometry_displacement: tex::texture_isvalid(geometry_displacement_image) ?
|
| 1610 |
+
::OmniSurface::OmniShared::displacement_adjustment(
|
| 1611 |
+
(geometry_displacement_mode == ::OmniSurface::OmniShared::displacement_height) ?
|
| 1612 |
+
float3(::OmniSurface::OmniImage::texture_adjustment_2(
|
| 1613 |
+
OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1614 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1615 |
+
geometry_displacement_image,
|
| 1616 |
+
uvw_ignore_missing_textures,
|
| 1617 |
+
uvw_missing_texture_color,
|
| 1618 |
+
uvw_use_uv_coords,
|
| 1619 |
+
uvw_uv_coords,
|
| 1620 |
+
uvw_s_wrap,
|
| 1621 |
+
uvw_t_wrap,
|
| 1622 |
+
texture_coordinate_info
|
| 1623 |
+
),
|
| 1624 |
+
geometry_displacement_image_alpha_mode
|
| 1625 |
+
),
|
| 1626 |
+
0.0f, //exposure
|
| 1627 |
+
color(0.5), //default_color
|
| 1628 |
+
color(1.0), //color_gain
|
| 1629 |
+
color(0.0), //color_offset
|
| 1630 |
+
1.0f, //alpha_gain
|
| 1631 |
+
-1.0f * geometry_displacement_scalar_zero_value, //alpha_offset
|
| 1632 |
+
false, //invert
|
| 1633 |
+
0.0f //blend_factor
|
| 1634 |
+
).mono) :
|
| 1635 |
+
|
| 1636 |
+
float3(::OmniSurface::OmniImage::texture_lookup_2(
|
| 1637 |
+
geometry_displacement_image,
|
| 1638 |
+
uvw_ignore_missing_textures,
|
| 1639 |
+
uvw_missing_texture_color,
|
| 1640 |
+
uvw_use_uv_coords,
|
| 1641 |
+
uvw_uv_coords,
|
| 1642 |
+
uvw_s_wrap,
|
| 1643 |
+
uvw_t_wrap,
|
| 1644 |
+
texture_coordinate_info
|
| 1645 |
+
).tint
|
| 1646 |
+
),
|
| 1647 |
+
|
| 1648 |
+
geometry_displacement_mode,
|
| 1649 |
+
|
| 1650 |
+
tex::texture_isvalid(geometry_displacement_scale_image) ?
|
| 1651 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1652 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1653 |
+
geometry_displacement_scale_image,
|
| 1654 |
+
uvw_ignore_missing_textures,
|
| 1655 |
+
uvw_missing_texture_color,
|
| 1656 |
+
uvw_use_uv_coords,
|
| 1657 |
+
uvw_uv_coords,
|
| 1658 |
+
uvw_s_wrap,
|
| 1659 |
+
uvw_t_wrap,
|
| 1660 |
+
texture_coordinate_info
|
| 1661 |
+
),
|
| 1662 |
+
geometry_displacement_scale_image_alpha_mode
|
| 1663 |
+
).mono :
|
| 1664 |
+
geometry_displacement_scale
|
| 1665 |
+
):
|
| 1666 |
+
geometry_displacement
|
| 1667 |
+
);
|
| 1668 |
+
|
| 1669 |
+
} in material(
|
| 1670 |
+
thin_walled: base.thin_walled,
|
| 1671 |
+
ior: base.ior,
|
| 1672 |
+
surface: base.surface,
|
| 1673 |
+
backface: base.backface,
|
| 1674 |
+
volume: base.volume,
|
| 1675 |
+
geometry: base.geometry
|
| 1676 |
+
);
|
omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurfaceLite.mdl
ADDED
|
@@ -0,0 +1,1175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/***************************************************************************************************
|
| 2 |
+
* Copyright 2020 NVIDIA Corporation. All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms, with or without
|
| 5 |
+
* modification, are permitted provided that the following conditions
|
| 6 |
+
* are met:
|
| 7 |
+
* * Redistributions of source code must retain the above copyright
|
| 8 |
+
* notice, this list of conditions and the following disclaimer.
|
| 9 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 10 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 11 |
+
* documentation and/or other materials provided with the distribution.
|
| 12 |
+
* * Neither the name of NVIDIA CORPORATION nor the names of its
|
| 13 |
+
* contributors may be used to endorse or promote products derived
|
| 14 |
+
* from this software without specific prior written permission.
|
| 15 |
+
*
|
| 16 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
|
| 17 |
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 18 |
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 19 |
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 20 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
| 21 |
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
| 22 |
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
| 23 |
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| 24 |
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 25 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 26 |
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 27 |
+
**************************************************************************************************/
|
| 28 |
+
|
| 29 |
+
// Wrapper for OmniSurfaceLiteBase material
|
| 30 |
+
|
| 31 |
+
mdl 1.7;
|
| 32 |
+
|
| 33 |
+
import ::anno::*;
|
| 34 |
+
import ::base::*;
|
| 35 |
+
import ::limits::*;
|
| 36 |
+
import ::state::*;
|
| 37 |
+
import ::tex::*;
|
| 38 |
+
|
| 39 |
+
import ::OmniSurface::OmniSurfaceLiteBase::*;
|
| 40 |
+
import ::OmniSurface::OmniShared::*;
|
| 41 |
+
import ::OmniSurface::OmniImage::*;
|
| 42 |
+
|
| 43 |
+
export material OmniSurfaceLite(
|
| 44 |
+
|
| 45 |
+
//Diffuse reflection
|
| 46 |
+
//
|
| 47 |
+
float diffuse_reflection_weight = float(0.8) [[
|
| 48 |
+
anno::display_name("Weight"),
|
| 49 |
+
anno::in_group("Base"),
|
| 50 |
+
anno::hard_range(0.0f, 1.0f)
|
| 51 |
+
]],
|
| 52 |
+
|
| 53 |
+
uniform texture_2d diffuse_reflection_weight_image = texture_2d() [[
|
| 54 |
+
anno::display_name("Weight Image"),
|
| 55 |
+
anno::in_group("Base"),
|
| 56 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 57 |
+
]],
|
| 58 |
+
|
| 59 |
+
uniform ::OmniSurface::OmniImage::alpha_mode diffuse_reflection_weight_image_alpha_mode =
|
| 60 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 61 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 62 |
+
anno::in_group("Base")
|
| 63 |
+
]],
|
| 64 |
+
|
| 65 |
+
color diffuse_reflection_color = color(1.0) [[
|
| 66 |
+
anno::display_name("Color"),
|
| 67 |
+
anno::in_group("Base")
|
| 68 |
+
]],
|
| 69 |
+
|
| 70 |
+
uniform texture_2d diffuse_reflection_color_image = texture_2d() [[
|
| 71 |
+
anno::display_name("Color Image"),
|
| 72 |
+
anno::in_group("Base")
|
| 73 |
+
]],
|
| 74 |
+
|
| 75 |
+
float diffuse_reflection_roughness = float(0.0) [[
|
| 76 |
+
anno::display_name("Diffuse Roughness"),
|
| 77 |
+
anno::in_group("Base"),
|
| 78 |
+
anno::hard_range(0.0f, 1.0f)
|
| 79 |
+
]],
|
| 80 |
+
|
| 81 |
+
uniform texture_2d diffuse_reflection_roughness_image = texture_2d() [[
|
| 82 |
+
anno::display_name("Diffuse Roughness Image"),
|
| 83 |
+
anno::in_group("Base"),
|
| 84 |
+
anno::usage("roughness")
|
| 85 |
+
]],
|
| 86 |
+
|
| 87 |
+
uniform ::OmniSurface::OmniImage::alpha_mode diffuse_reflection_roughness_image_alpha_mode =
|
| 88 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 89 |
+
anno::display_name("Diffuse Roughness Alpha Mode"),
|
| 90 |
+
anno::in_group("Base")
|
| 91 |
+
]],
|
| 92 |
+
|
| 93 |
+
//Metal
|
| 94 |
+
//
|
| 95 |
+
float metalness = float(0.0) [[
|
| 96 |
+
anno::display_name("Metalness"),
|
| 97 |
+
anno::in_group("Base"),
|
| 98 |
+
anno::hard_range(0.0f, 1.0f)
|
| 99 |
+
]],
|
| 100 |
+
|
| 101 |
+
uniform texture_2d metalness_image = texture_2d() [[
|
| 102 |
+
anno::display_name("Metalness Image"),
|
| 103 |
+
anno::in_group("Base"),
|
| 104 |
+
anno::usage("metalness")
|
| 105 |
+
]],
|
| 106 |
+
|
| 107 |
+
uniform ::OmniSurface::OmniImage::alpha_mode metalness_image_alpha_mode =
|
| 108 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 109 |
+
anno::display_name("Metalness Image Alpha Mode"),
|
| 110 |
+
anno::in_group("Base")
|
| 111 |
+
]],
|
| 112 |
+
|
| 113 |
+
//Specular reflection
|
| 114 |
+
//
|
| 115 |
+
float specular_reflection_weight = float(1.0) [[
|
| 116 |
+
anno::display_name("Weight"),
|
| 117 |
+
anno::in_group("Specular"),
|
| 118 |
+
anno::hard_range(0.0f, 1.0f)
|
| 119 |
+
]],
|
| 120 |
+
|
| 121 |
+
uniform texture_2d specular_reflection_weight_image = texture_2d() [[
|
| 122 |
+
anno::display_name("Weight Image"),
|
| 123 |
+
anno::in_group("Specular"),
|
| 124 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 125 |
+
]],
|
| 126 |
+
|
| 127 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_weight_image_alpha_mode =
|
| 128 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 129 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 130 |
+
anno::in_group("Specular")
|
| 131 |
+
]],
|
| 132 |
+
|
| 133 |
+
color specular_reflection_color = color(1.0) [[
|
| 134 |
+
anno::display_name("Color"),
|
| 135 |
+
anno::in_group("Specular")
|
| 136 |
+
]],
|
| 137 |
+
|
| 138 |
+
uniform texture_2d specular_reflection_color_image = texture_2d() [[
|
| 139 |
+
anno::display_name("Color Image"),
|
| 140 |
+
anno::in_group("Specular")
|
| 141 |
+
]],
|
| 142 |
+
|
| 143 |
+
float specular_reflection_roughness = float(0.2) [[
|
| 144 |
+
anno::display_name("Roughness"),
|
| 145 |
+
anno::in_group("Specular"),
|
| 146 |
+
anno::hard_range(0.0f, 1.0f)
|
| 147 |
+
]],
|
| 148 |
+
|
| 149 |
+
uniform texture_2d specular_reflection_roughness_image = texture_2d() [[
|
| 150 |
+
anno::display_name("Roughness Image"),
|
| 151 |
+
anno::in_group("Specular"),
|
| 152 |
+
anno::usage("roughness")
|
| 153 |
+
]],
|
| 154 |
+
|
| 155 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_roughness_image_alpha_mode =
|
| 156 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 157 |
+
anno::display_name("Roughness Image Alpha Mode"),
|
| 158 |
+
anno::in_group("Specular")
|
| 159 |
+
]],
|
| 160 |
+
|
| 161 |
+
uniform ::OmniSurface::OmniShared::ior_presets specular_reflection_ior_preset =
|
| 162 |
+
::OmniSurface::OmniShared::ior_custom [[
|
| 163 |
+
anno::display_name("IOR Preset"),
|
| 164 |
+
anno::in_group("Specular")
|
| 165 |
+
]],
|
| 166 |
+
|
| 167 |
+
uniform float specular_reflection_ior = float(1.5) [[
|
| 168 |
+
anno::display_name("IOR"),
|
| 169 |
+
anno::in_group("Specular"),
|
| 170 |
+
anno::soft_range(1.0f, 5.0f),
|
| 171 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 172 |
+
]],
|
| 173 |
+
|
| 174 |
+
float specular_reflection_anisotropy = float(0.0) [[
|
| 175 |
+
anno::display_name("Anisotropy"),
|
| 176 |
+
anno::in_group("Specular"),
|
| 177 |
+
anno::hard_range(0.0f, 1.0f)
|
| 178 |
+
]],
|
| 179 |
+
|
| 180 |
+
uniform texture_2d specular_reflection_anisotropy_image = texture_2d() [[
|
| 181 |
+
anno::display_name("Anisotropy Image"),
|
| 182 |
+
anno::in_group("Specular"),
|
| 183 |
+
anno::usage("aniotropy")
|
| 184 |
+
]],
|
| 185 |
+
|
| 186 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_anisotropy_image_alpha_mode =
|
| 187 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 188 |
+
anno::display_name("Anisotropy Image Alpha Mode"),
|
| 189 |
+
anno::in_group("Specular")
|
| 190 |
+
]],
|
| 191 |
+
|
| 192 |
+
float specular_reflection_anisotropy_rotation = float(0.0) [[
|
| 193 |
+
anno::display_name("Rotation (radian)"),
|
| 194 |
+
anno::in_group("Specular"),
|
| 195 |
+
anno::soft_range(0.0f, 1.0f)
|
| 196 |
+
]],
|
| 197 |
+
|
| 198 |
+
uniform texture_2d specular_reflection_anisotropy_rotation_image = texture_2d() [[
|
| 199 |
+
anno::display_name("Anisotropy Rotation Image"),
|
| 200 |
+
anno::in_group("Specular"),
|
| 201 |
+
anno::usage("anisotropy_rotation")
|
| 202 |
+
]],
|
| 203 |
+
|
| 204 |
+
uniform ::OmniSurface::OmniImage::alpha_mode specular_reflection_anisotropy_rotation_image_alpha_mode =
|
| 205 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 206 |
+
anno::display_name("Anisotropy Rotation Alpha Mode"),
|
| 207 |
+
anno::in_group("Specular")
|
| 208 |
+
]],
|
| 209 |
+
|
| 210 |
+
//Coat
|
| 211 |
+
//
|
| 212 |
+
float coat_weight = float(0.0) [[
|
| 213 |
+
anno::display_name("Weight"),
|
| 214 |
+
anno::in_group("Coat"),
|
| 215 |
+
anno::hard_range(0.0f, 1.0f)
|
| 216 |
+
]],
|
| 217 |
+
|
| 218 |
+
uniform texture_2d coat_weight_image = texture_2d() [[
|
| 219 |
+
anno::display_name("Weight Image"),
|
| 220 |
+
anno::in_group("Coat"),
|
| 221 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 222 |
+
]],
|
| 223 |
+
|
| 224 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_weight_image_alpha_mode =
|
| 225 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 226 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 227 |
+
anno::in_group("Coat")
|
| 228 |
+
]],
|
| 229 |
+
|
| 230 |
+
color coat_color = color(1.0) [[
|
| 231 |
+
anno::display_name("Color"),
|
| 232 |
+
anno::in_group("Coat")
|
| 233 |
+
]],
|
| 234 |
+
|
| 235 |
+
uniform texture_2d coat_color_image = texture_2d() [[
|
| 236 |
+
anno::display_name("Color Image"),
|
| 237 |
+
anno::in_group("Coat")
|
| 238 |
+
]],
|
| 239 |
+
|
| 240 |
+
float coat_roughness = float(0.1) [[
|
| 241 |
+
anno::display_name("Roughness"),
|
| 242 |
+
anno::in_group("Coat"),
|
| 243 |
+
anno::hard_range(0.0f, 1.0f)
|
| 244 |
+
]],
|
| 245 |
+
|
| 246 |
+
uniform texture_2d coat_roughness_image = texture_2d() [[
|
| 247 |
+
anno::display_name("Roughness Image"),
|
| 248 |
+
anno::in_group("Coat"),
|
| 249 |
+
anno::usage("roughness")
|
| 250 |
+
]],
|
| 251 |
+
|
| 252 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_roughness_image_alpha_mode =
|
| 253 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 254 |
+
anno::display_name("Roughness Image Alpha Mode"),
|
| 255 |
+
anno::in_group("Coat")
|
| 256 |
+
]],
|
| 257 |
+
|
| 258 |
+
uniform ::OmniSurface::OmniShared::ior_presets coat_ior_preset =
|
| 259 |
+
::OmniSurface::OmniShared::ior_custom [[
|
| 260 |
+
anno::display_name("IOR Preset"),
|
| 261 |
+
anno::in_group("Coat")
|
| 262 |
+
]],
|
| 263 |
+
|
| 264 |
+
uniform float coat_ior = float(1.5) [[
|
| 265 |
+
anno::display_name("IOR"),
|
| 266 |
+
anno::in_group("Coat"),
|
| 267 |
+
anno::soft_range(1.0f, 5.0f),
|
| 268 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 269 |
+
]],
|
| 270 |
+
|
| 271 |
+
float coat_anisotropy = float(0.0) [[
|
| 272 |
+
anno::display_name("Anisotropy"),
|
| 273 |
+
anno::in_group("Coat"),
|
| 274 |
+
anno::hard_range(0.0f, 1.0f)
|
| 275 |
+
]],
|
| 276 |
+
|
| 277 |
+
uniform texture_2d coat_anisotropy_image = texture_2d() [[
|
| 278 |
+
anno::display_name("Anisotropy Image"),
|
| 279 |
+
anno::in_group("Coat"),
|
| 280 |
+
anno::usage("anisotropy")
|
| 281 |
+
]],
|
| 282 |
+
|
| 283 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_anisotropy_image_alpha_mode =
|
| 284 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 285 |
+
anno::display_name("Anisotropy Image Alpha Mode"),
|
| 286 |
+
anno::in_group("Coat")
|
| 287 |
+
]],
|
| 288 |
+
|
| 289 |
+
float coat_anisotropy_rotation = float(0.0) [[
|
| 290 |
+
anno::display_name("Rotation (radian)"),
|
| 291 |
+
anno::in_group("Coat"),
|
| 292 |
+
anno::soft_range(0.0f, 1.0f)
|
| 293 |
+
]],
|
| 294 |
+
|
| 295 |
+
uniform texture_2d coat_anisotropy_rotation_image = texture_2d() [[
|
| 296 |
+
anno::display_name("Anisotropy Rotation Image"),
|
| 297 |
+
anno::in_group("Coat"),
|
| 298 |
+
anno::usage("anistropy_rotation")
|
| 299 |
+
]],
|
| 300 |
+
|
| 301 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_anisotropy_rotation_image_alpha_mode =
|
| 302 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 303 |
+
anno::display_name("Anisotropy Rotation Image Alpha Mode"),
|
| 304 |
+
anno::in_group("Coat")
|
| 305 |
+
]],
|
| 306 |
+
|
| 307 |
+
float coat_affect_color = float(0.0) [[
|
| 308 |
+
anno::display_name("Affect Color"),
|
| 309 |
+
anno::in_group("Coat"),
|
| 310 |
+
anno::hard_range(0.0f, 1.0f)
|
| 311 |
+
]],
|
| 312 |
+
|
| 313 |
+
uniform texture_2d coat_affect_color_image = texture_2d() [[
|
| 314 |
+
anno::display_name("Affect Color Image"),
|
| 315 |
+
anno::in_group("Coat"),
|
| 316 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 317 |
+
]],
|
| 318 |
+
|
| 319 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_affect_color_image_alpha_mode =
|
| 320 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 321 |
+
anno::display_name("Affect Color Image Alpha Mode"),
|
| 322 |
+
anno::in_group("Coat")
|
| 323 |
+
]],
|
| 324 |
+
|
| 325 |
+
float coat_affect_roughness = float(0.0) [[
|
| 326 |
+
anno::display_name("Affect Roughness"),
|
| 327 |
+
anno::in_group("Coat"),
|
| 328 |
+
anno::hard_range(0.0f, 1.0f)
|
| 329 |
+
]],
|
| 330 |
+
|
| 331 |
+
uniform texture_2d coat_affect_roughness_image = texture_2d() [[
|
| 332 |
+
anno::display_name("Affect Roughness Image"),
|
| 333 |
+
anno::in_group("Coat"),
|
| 334 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 335 |
+
]],
|
| 336 |
+
|
| 337 |
+
uniform ::OmniSurface::OmniImage::alpha_mode coat_affect_roughness_image_alpha_mode =
|
| 338 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 339 |
+
anno::display_name("Affect Roughness Alpha Mode"),
|
| 340 |
+
anno::in_group("Coat")
|
| 341 |
+
]],
|
| 342 |
+
|
| 343 |
+
uniform float coat_normal_strength = float(1.0) [[
|
| 344 |
+
anno::display_name("Normal Strength"),
|
| 345 |
+
anno::in_group("Coat"),
|
| 346 |
+
anno::soft_range(0.0f, 1.0f),
|
| 347 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 348 |
+
]],
|
| 349 |
+
|
| 350 |
+
float3 coat_normal = state::normal() [[
|
| 351 |
+
anno::display_name("Normal"),
|
| 352 |
+
anno::in_group("Coat"),
|
| 353 |
+
anno::usage("normal")
|
| 354 |
+
]],
|
| 355 |
+
|
| 356 |
+
uniform texture_2d coat_normal_image = texture_2d() [[
|
| 357 |
+
anno::display_name("Normal Map Image"),
|
| 358 |
+
anno::in_group("Coat"),
|
| 359 |
+
anno::usage("normal")
|
| 360 |
+
]],
|
| 361 |
+
|
| 362 |
+
uniform bool coat_normal_image_flip_r_channel = false [[
|
| 363 |
+
anno::display_name("Normal Map Flip R Channel"),
|
| 364 |
+
anno::in_group("Coat")
|
| 365 |
+
]],
|
| 366 |
+
|
| 367 |
+
uniform bool coat_normal_image_flip_g_channel = false [[
|
| 368 |
+
anno::display_name("Normal Map Flip G Channel"),
|
| 369 |
+
anno::in_group("Coat")
|
| 370 |
+
]],
|
| 371 |
+
|
| 372 |
+
uniform bool coat_normal_image_flip_b_channel = false [[
|
| 373 |
+
anno::display_name("Normal Map Flip B Channel"),
|
| 374 |
+
anno::in_group("Coat")
|
| 375 |
+
]],
|
| 376 |
+
|
| 377 |
+
//Emission
|
| 378 |
+
//
|
| 379 |
+
float emission_weight = float(0.0) [[
|
| 380 |
+
anno::display_name("Weight"),
|
| 381 |
+
anno::in_group("Emission"),
|
| 382 |
+
anno::hard_range(0.0f, 1.0f)
|
| 383 |
+
]],
|
| 384 |
+
|
| 385 |
+
uniform texture_2d emission_weight_image = texture_2d() [[
|
| 386 |
+
anno::display_name("Weight Image"),
|
| 387 |
+
anno::in_group("Emission"),
|
| 388 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 389 |
+
]],
|
| 390 |
+
|
| 391 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_weight_image_alpha_mode =
|
| 392 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 393 |
+
anno::display_name("Weight Image Alpha Mode"),
|
| 394 |
+
anno::in_group("Emission")
|
| 395 |
+
]],
|
| 396 |
+
|
| 397 |
+
uniform ::OmniSurface::OmniShared::emission_mode emission_mode =
|
| 398 |
+
::OmniSurface::OmniShared::emission_lx
|
| 399 |
+
[[
|
| 400 |
+
anno::display_name("Emission Mode"),
|
| 401 |
+
anno::in_group("Emission")
|
| 402 |
+
]],
|
| 403 |
+
|
| 404 |
+
float emission_intensity = float(1.0) [[
|
| 405 |
+
anno::display_name("Intensity"),
|
| 406 |
+
anno::in_group("Emission"),
|
| 407 |
+
anno::soft_range(0.0f, 1000.0f)
|
| 408 |
+
]],
|
| 409 |
+
|
| 410 |
+
uniform texture_2d emission_intensity_image = texture_2d() [[
|
| 411 |
+
anno::display_name("Intensity Image"),
|
| 412 |
+
anno::in_group("Emission"),
|
| 413 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 414 |
+
]],
|
| 415 |
+
|
| 416 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_intensity_image_alpha_mode =
|
| 417 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 418 |
+
anno::display_name("Intensity Image Alpha Mode"),
|
| 419 |
+
anno::in_group("Emission")
|
| 420 |
+
]],
|
| 421 |
+
|
| 422 |
+
color emission_color = color(1.0) [[
|
| 423 |
+
anno::display_name("Color"),
|
| 424 |
+
anno::in_group("Emission")
|
| 425 |
+
]],
|
| 426 |
+
|
| 427 |
+
uniform texture_2d emission_color_image = texture_2d() [[
|
| 428 |
+
anno::display_name("Color Image"),
|
| 429 |
+
anno::in_group("Emission")
|
| 430 |
+
]],
|
| 431 |
+
|
| 432 |
+
uniform bool emission_use_temperature = false [[
|
| 433 |
+
anno::display_name("Use Temperature"),
|
| 434 |
+
anno::in_group("Emission")
|
| 435 |
+
]],
|
| 436 |
+
|
| 437 |
+
float emission_temperature = float(6500.0) [[
|
| 438 |
+
anno::display_name("Temperature (kelvin)"),
|
| 439 |
+
anno::in_group("Emission"),
|
| 440 |
+
anno::soft_range(0.0f, 10000.0f)
|
| 441 |
+
]],
|
| 442 |
+
|
| 443 |
+
uniform texture_2d emission_temperature_image = texture_2d() [[
|
| 444 |
+
anno::display_name("Temperature Image"),
|
| 445 |
+
anno::in_group("Emission"),
|
| 446 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 447 |
+
]],
|
| 448 |
+
|
| 449 |
+
uniform ::OmniSurface::OmniImage::alpha_mode emission_temperature_image_alpha_mode =
|
| 450 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 451 |
+
anno::display_name("Temperature Image Alpha Mode"),
|
| 452 |
+
anno::in_group("Emission")
|
| 453 |
+
]],
|
| 454 |
+
|
| 455 |
+
//Geometry
|
| 456 |
+
//
|
| 457 |
+
uniform bool enable_opacity = false [[
|
| 458 |
+
anno::display_name("Enable Opacity"),
|
| 459 |
+
anno::description("Enables the use of cutout opacity"),
|
| 460 |
+
anno::in_group("Geometry")
|
| 461 |
+
]],
|
| 462 |
+
|
| 463 |
+
float geometry_opacity = float(1.0) [[
|
| 464 |
+
anno::display_name("Opacity"),
|
| 465 |
+
anno::in_group("Geometry"),
|
| 466 |
+
anno::hard_range(0.0f, 1.0f)
|
| 467 |
+
]],
|
| 468 |
+
|
| 469 |
+
uniform texture_2d geometry_opacity_image = texture_2d() [[
|
| 470 |
+
anno::display_name("Opacity Image"),
|
| 471 |
+
anno::in_group("Geometry"),
|
| 472 |
+
anno::usage("opacity")
|
| 473 |
+
]],
|
| 474 |
+
|
| 475 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_opacity_image_alpha_mode =
|
| 476 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 477 |
+
anno::display_name("Opacity Image Alpha Mode"),
|
| 478 |
+
anno::in_group("Geometry")
|
| 479 |
+
]],
|
| 480 |
+
|
| 481 |
+
uniform float geometry_opacity_threshold = float(0.0) [[
|
| 482 |
+
anno::display_name("Opacity Threshold"),
|
| 483 |
+
anno::description("If > 0, remap opacity values to 1 when >= threshold and to 0 otherwise"),
|
| 484 |
+
anno::in_group("Geometry"),
|
| 485 |
+
anno::hard_range(0.0f, 1.0f)
|
| 486 |
+
]],
|
| 487 |
+
|
| 488 |
+
uniform float geometry_normal_strength = float(1.0) [[
|
| 489 |
+
anno::display_name("Geometry Normal Strength"),
|
| 490 |
+
anno::in_group("Geometry"),
|
| 491 |
+
anno::soft_range(0.0f, 1.0f),
|
| 492 |
+
anno::hard_range(0.0f, limits::FLOAT_MAX)
|
| 493 |
+
]],
|
| 494 |
+
|
| 495 |
+
float3 geometry_normal = state::normal() [[
|
| 496 |
+
anno::display_name("Geometry Normal"),
|
| 497 |
+
anno::in_group("Geometry"),
|
| 498 |
+
anno::usage("normal")
|
| 499 |
+
]],
|
| 500 |
+
|
| 501 |
+
uniform texture_2d geometry_normal_image = texture_2d() [[
|
| 502 |
+
anno::display_name("Geometry Normal Map Image"),
|
| 503 |
+
anno::in_group("Geometry"),
|
| 504 |
+
anno::usage("normal")
|
| 505 |
+
]],
|
| 506 |
+
|
| 507 |
+
uniform bool geometry_normal_image_flip_r_channel = false [[
|
| 508 |
+
anno::display_name("Normal Map Flip R Channel"),
|
| 509 |
+
anno::in_group("Geometry")
|
| 510 |
+
]],
|
| 511 |
+
|
| 512 |
+
uniform bool geometry_normal_image_flip_g_channel = false [[
|
| 513 |
+
anno::display_name("Normal Map Flip G Channel"),
|
| 514 |
+
anno::in_group("Geometry")
|
| 515 |
+
]],
|
| 516 |
+
|
| 517 |
+
uniform bool geometry_normal_image_flip_b_channel = false [[
|
| 518 |
+
anno::display_name("Normal Map Flip B Channel"),
|
| 519 |
+
anno::in_group("Geometry")
|
| 520 |
+
]],
|
| 521 |
+
|
| 522 |
+
uniform ::OmniSurface::OmniImage::tangent_bitangent_mapping geometry_tangent_bitangent_mapping =
|
| 523 |
+
::OmniSurface::OmniImage::red_green [[
|
| 524 |
+
anno::display_name("Tangent Bitangent Mapping"),
|
| 525 |
+
anno::in_group("Geometry")
|
| 526 |
+
]],
|
| 527 |
+
|
| 528 |
+
//Displacement
|
| 529 |
+
float3 geometry_displacement = float3(0.0) [[
|
| 530 |
+
anno::display_name("Displacement"),
|
| 531 |
+
anno::in_group("Geometry")
|
| 532 |
+
]],
|
| 533 |
+
|
| 534 |
+
uniform ::OmniSurface::OmniShared::displacement_mode geometry_displacement_mode =
|
| 535 |
+
::OmniSurface::OmniShared::displacement_height [[
|
| 536 |
+
anno::display_name("Displacement Mode"),
|
| 537 |
+
anno::in_group("Geometry")
|
| 538 |
+
]],
|
| 539 |
+
|
| 540 |
+
uniform texture_2d geometry_displacement_image = texture_2d() [[
|
| 541 |
+
anno::display_name("Displacement Image"),
|
| 542 |
+
anno::in_group("Geometry"),
|
| 543 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 544 |
+
]],
|
| 545 |
+
|
| 546 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_displacement_image_alpha_mode =
|
| 547 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 548 |
+
anno::display_name("Displacement Image Alpha Mode"),
|
| 549 |
+
anno::in_group("Geometry")
|
| 550 |
+
]],
|
| 551 |
+
|
| 552 |
+
float geometry_displacement_scale = float(1.0) [[
|
| 553 |
+
anno::display_name("Displacement Scale"),
|
| 554 |
+
anno::in_group("Geometry"),
|
| 555 |
+
anno::soft_range(0.0f, 1.0f)
|
| 556 |
+
]],
|
| 557 |
+
|
| 558 |
+
uniform texture_2d geometry_displacement_scale_image = texture_2d() [[
|
| 559 |
+
anno::display_name("Displacement Scale Image"),
|
| 560 |
+
anno::in_group("Geometry"),
|
| 561 |
+
anno::usage("occlusion") // Don't have usage type for scalar maps. Substituting for now.
|
| 562 |
+
]],
|
| 563 |
+
|
| 564 |
+
uniform ::OmniSurface::OmniImage::alpha_mode geometry_displacement_scale_image_alpha_mode =
|
| 565 |
+
::OmniSurface::OmniImage::alpha_default [[
|
| 566 |
+
anno::display_name("Displacement Scale Image Alpha Mode"),
|
| 567 |
+
anno::in_group("Geometry")
|
| 568 |
+
]],
|
| 569 |
+
|
| 570 |
+
float geometry_displacement_scalar_zero_value = float(0.0) [[
|
| 571 |
+
anno::display_name("Displacement Scalar Zero Value"),
|
| 572 |
+
anno::in_group("Geometry"),
|
| 573 |
+
anno::soft_range(0.0f, 1.0f)
|
| 574 |
+
]],
|
| 575 |
+
|
| 576 |
+
//UVW
|
| 577 |
+
//
|
| 578 |
+
uniform base::texture_coordinate_system uvw_texture_coordinate_system =
|
| 579 |
+
base::texture_coordinate_uvw [[
|
| 580 |
+
anno::display_name("Texture Coordinate"),
|
| 581 |
+
anno::in_group("UVW Coordinates")
|
| 582 |
+
]],
|
| 583 |
+
|
| 584 |
+
uniform int uvw_uv_set = 0 [[
|
| 585 |
+
anno::display_name("UV Set"),
|
| 586 |
+
anno::in_group("UVW Coordinates"),
|
| 587 |
+
anno::hard_range(0, 4)
|
| 588 |
+
]],
|
| 589 |
+
|
| 590 |
+
uniform bool uvw_ignore_missing_textures = false [[
|
| 591 |
+
anno::display_name("Ignore Missing Images"),
|
| 592 |
+
anno::in_group("UVW Coordinates")
|
| 593 |
+
]],
|
| 594 |
+
|
| 595 |
+
color uvw_missing_texture_color = color(0.0, 0.0, 0.0) [[
|
| 596 |
+
anno::display_name("Missing Image Color"),
|
| 597 |
+
anno::in_group("UVW Coordinates")
|
| 598 |
+
]],
|
| 599 |
+
|
| 600 |
+
uniform bool uvw_use_uv_coords = false [[
|
| 601 |
+
anno::display_name("Use UV Coords"),
|
| 602 |
+
anno::in_group("UVW Coordinates")
|
| 603 |
+
]],
|
| 604 |
+
|
| 605 |
+
float2 uvw_uv_coords = float2(0.0) [[
|
| 606 |
+
anno::display_name("UV Coords"),
|
| 607 |
+
anno::in_group("UVW Coordinates")
|
| 608 |
+
]],
|
| 609 |
+
|
| 610 |
+
uniform float uvw_s_offset = 0.0f [[
|
| 611 |
+
anno::display_name("Offset U"),
|
| 612 |
+
anno::in_group("UVW Coordinates"),
|
| 613 |
+
anno::soft_range(-1.0f, 1.0f)
|
| 614 |
+
]],
|
| 615 |
+
|
| 616 |
+
uniform float uvw_t_offset = 0.0f [[
|
| 617 |
+
anno::display_name("Offset V"),
|
| 618 |
+
anno::in_group("UVW Coordinates"),
|
| 619 |
+
anno::soft_range(-1.0f, 1.0f)
|
| 620 |
+
]],
|
| 621 |
+
|
| 622 |
+
uniform ::OmniSurface::OmniImage::wrap_mode uvw_s_wrap =
|
| 623 |
+
::OmniSurface::OmniImage::wrap_periodic [[
|
| 624 |
+
anno::display_name("Wrap U"),
|
| 625 |
+
anno::in_group("UVW Coordinates")
|
| 626 |
+
]],
|
| 627 |
+
|
| 628 |
+
uniform ::OmniSurface::OmniImage::wrap_mode uvw_t_wrap =
|
| 629 |
+
::OmniSurface::OmniImage::wrap_periodic [[
|
| 630 |
+
anno::display_name("Wrap V"),
|
| 631 |
+
anno::in_group("UVW Coordinates")
|
| 632 |
+
]],
|
| 633 |
+
|
| 634 |
+
uniform float uvw_s_scale = 1.0f [[
|
| 635 |
+
anno::display_name("Scale U"),
|
| 636 |
+
anno::in_group("UVW Coordinates"),
|
| 637 |
+
anno::soft_range(0.0f, 100.0f)
|
| 638 |
+
]],
|
| 639 |
+
|
| 640 |
+
uniform float uvw_t_scale = 1.0f [[
|
| 641 |
+
anno::display_name("Scale V"),
|
| 642 |
+
anno::in_group("UVW Coordinates"),
|
| 643 |
+
anno::soft_range(0.0f, 100.0f)
|
| 644 |
+
]],
|
| 645 |
+
|
| 646 |
+
uniform bool uvw_s_flip = false [[
|
| 647 |
+
anno::display_name("Flip U"),
|
| 648 |
+
anno::in_group("UVW Coordinates")
|
| 649 |
+
]],
|
| 650 |
+
|
| 651 |
+
uniform bool uvw_t_flip = false [[
|
| 652 |
+
anno::display_name("Flip V"),
|
| 653 |
+
anno::in_group("UVW Coordinates")
|
| 654 |
+
]],
|
| 655 |
+
|
| 656 |
+
uniform bool uvw_swap_st = false [[
|
| 657 |
+
anno::display_name("Swap UV"),
|
| 658 |
+
anno::in_group("UVW Coordinates")
|
| 659 |
+
]],
|
| 660 |
+
|
| 661 |
+
//Projection Coordinates (Local / World)
|
| 662 |
+
uniform ::OmniSurface::OmniImage::projection_mode uvw_projection_mode =
|
| 663 |
+
::OmniSurface::OmniImage::projection_cubic [[
|
| 664 |
+
anno::display_name("Projection Mode"),
|
| 665 |
+
anno::in_group("UVW Coordinates")
|
| 666 |
+
]],
|
| 667 |
+
|
| 668 |
+
uniform float3 uvw_projection_translate = float3(0.0) [[
|
| 669 |
+
anno::display_name("Translate"),
|
| 670 |
+
anno::description("Translate the projected texture."),
|
| 671 |
+
anno::in_group("UVW Coordinates")
|
| 672 |
+
]],
|
| 673 |
+
|
| 674 |
+
uniform float3 uvw_projection_rotate = float3(0.0) [[
|
| 675 |
+
anno::display_name("Rotate"),
|
| 676 |
+
anno::description("Rotate the projected texture."),
|
| 677 |
+
anno::in_group("UVW Coordinates")
|
| 678 |
+
]],
|
| 679 |
+
|
| 680 |
+
uniform float3 uvw_projection_scale = float3(1.0) [[
|
| 681 |
+
anno::display_name("Scale"),
|
| 682 |
+
anno::description("Scale the projected texture."),
|
| 683 |
+
anno::in_group("UVW Coordinates")
|
| 684 |
+
]]
|
| 685 |
+
)
|
| 686 |
+
[[
|
| 687 |
+
anno::display_name("OmniSurfaceLite"),
|
| 688 |
+
anno::description("A base material for modeling a variety of surfaces."),
|
| 689 |
+
anno::author("NVIDIA Corporation"),
|
| 690 |
+
anno::key_words(string[]("generic", "surface")),
|
| 691 |
+
anno::version(1, 0, 0, ""),
|
| 692 |
+
anno::in_group("Advanced")
|
| 693 |
+
]] = let {
|
| 694 |
+
|
| 695 |
+
base::texture_coordinate_info texture_coordinate_info =
|
| 696 |
+
::OmniSurface::OmniImage::compute_texture_coordinate_2(
|
| 697 |
+
uvw_texture_coordinate_system,
|
| 698 |
+
uvw_uv_set,
|
| 699 |
+
uvw_s_offset,
|
| 700 |
+
uvw_t_offset,
|
| 701 |
+
uvw_s_scale,
|
| 702 |
+
uvw_t_scale,
|
| 703 |
+
uvw_s_flip,
|
| 704 |
+
uvw_t_flip,
|
| 705 |
+
uvw_swap_st,
|
| 706 |
+
uvw_projection_mode,
|
| 707 |
+
uvw_projection_translate,
|
| 708 |
+
uvw_projection_rotate,
|
| 709 |
+
uvw_projection_scale);
|
| 710 |
+
|
| 711 |
+
material base = ::OmniSurface::OmniSurfaceLiteBase::OmniSurfaceLiteBase (
|
| 712 |
+
|
| 713 |
+
//Base
|
| 714 |
+
//
|
| 715 |
+
diffuse_reflection_weight: tex::texture_isvalid(diffuse_reflection_weight_image) ?
|
| 716 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 717 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 718 |
+
diffuse_reflection_weight_image,
|
| 719 |
+
uvw_ignore_missing_textures,
|
| 720 |
+
uvw_missing_texture_color,
|
| 721 |
+
uvw_use_uv_coords,
|
| 722 |
+
uvw_uv_coords,
|
| 723 |
+
uvw_s_wrap,
|
| 724 |
+
uvw_t_wrap,
|
| 725 |
+
texture_coordinate_info
|
| 726 |
+
),
|
| 727 |
+
diffuse_reflection_weight_image_alpha_mode
|
| 728 |
+
).mono :
|
| 729 |
+
diffuse_reflection_weight,
|
| 730 |
+
|
| 731 |
+
diffuse_reflection_color: tex::texture_isvalid(diffuse_reflection_color_image) ?
|
| 732 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 733 |
+
diffuse_reflection_color_image,
|
| 734 |
+
uvw_ignore_missing_textures,
|
| 735 |
+
uvw_missing_texture_color,
|
| 736 |
+
uvw_use_uv_coords,
|
| 737 |
+
uvw_uv_coords,
|
| 738 |
+
uvw_s_wrap,
|
| 739 |
+
uvw_t_wrap,
|
| 740 |
+
texture_coordinate_info
|
| 741 |
+
).tint :
|
| 742 |
+
diffuse_reflection_color,
|
| 743 |
+
|
| 744 |
+
diffuse_reflection_roughness: tex::texture_isvalid(diffuse_reflection_roughness_image) ?
|
| 745 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 746 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 747 |
+
diffuse_reflection_roughness_image,
|
| 748 |
+
uvw_ignore_missing_textures,
|
| 749 |
+
uvw_missing_texture_color,
|
| 750 |
+
uvw_use_uv_coords,
|
| 751 |
+
uvw_uv_coords,
|
| 752 |
+
uvw_s_wrap,
|
| 753 |
+
uvw_t_wrap,
|
| 754 |
+
texture_coordinate_info
|
| 755 |
+
),
|
| 756 |
+
diffuse_reflection_roughness_image_alpha_mode
|
| 757 |
+
).mono :
|
| 758 |
+
diffuse_reflection_roughness,
|
| 759 |
+
|
| 760 |
+
//Metalness
|
| 761 |
+
//
|
| 762 |
+
metalness: tex::texture_isvalid(metalness_image) ?
|
| 763 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 764 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 765 |
+
metalness_image,
|
| 766 |
+
uvw_ignore_missing_textures,
|
| 767 |
+
uvw_missing_texture_color,
|
| 768 |
+
uvw_use_uv_coords,
|
| 769 |
+
uvw_uv_coords,
|
| 770 |
+
uvw_s_wrap,
|
| 771 |
+
uvw_t_wrap,
|
| 772 |
+
texture_coordinate_info
|
| 773 |
+
),
|
| 774 |
+
metalness_image_alpha_mode
|
| 775 |
+
).mono :
|
| 776 |
+
metalness,
|
| 777 |
+
|
| 778 |
+
//Specular reflection
|
| 779 |
+
//
|
| 780 |
+
specular_reflection_weight: tex::texture_isvalid(specular_reflection_weight_image) ?
|
| 781 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 782 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 783 |
+
specular_reflection_weight_image,
|
| 784 |
+
uvw_ignore_missing_textures,
|
| 785 |
+
uvw_missing_texture_color,
|
| 786 |
+
uvw_use_uv_coords,
|
| 787 |
+
uvw_uv_coords,
|
| 788 |
+
uvw_s_wrap,
|
| 789 |
+
uvw_t_wrap,
|
| 790 |
+
texture_coordinate_info
|
| 791 |
+
),
|
| 792 |
+
specular_reflection_weight_image_alpha_mode
|
| 793 |
+
).mono :
|
| 794 |
+
specular_reflection_weight,
|
| 795 |
+
|
| 796 |
+
specular_reflection_color: tex::texture_isvalid(specular_reflection_color_image) ?
|
| 797 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 798 |
+
specular_reflection_color_image,
|
| 799 |
+
uvw_ignore_missing_textures,
|
| 800 |
+
uvw_missing_texture_color,
|
| 801 |
+
uvw_use_uv_coords,
|
| 802 |
+
uvw_uv_coords,
|
| 803 |
+
uvw_s_wrap,
|
| 804 |
+
uvw_t_wrap,
|
| 805 |
+
texture_coordinate_info
|
| 806 |
+
).tint :
|
| 807 |
+
specular_reflection_color,
|
| 808 |
+
|
| 809 |
+
specular_reflection_roughness: tex::texture_isvalid(specular_reflection_roughness_image) ?
|
| 810 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 811 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 812 |
+
specular_reflection_roughness_image,
|
| 813 |
+
uvw_ignore_missing_textures,
|
| 814 |
+
uvw_missing_texture_color,
|
| 815 |
+
uvw_use_uv_coords,
|
| 816 |
+
uvw_uv_coords,
|
| 817 |
+
uvw_s_wrap,
|
| 818 |
+
uvw_t_wrap,
|
| 819 |
+
texture_coordinate_info
|
| 820 |
+
),
|
| 821 |
+
specular_reflection_roughness_image_alpha_mode
|
| 822 |
+
).mono :
|
| 823 |
+
specular_reflection_roughness,
|
| 824 |
+
|
| 825 |
+
specular_reflection_ior_preset: specular_reflection_ior_preset,
|
| 826 |
+
specular_reflection_ior: specular_reflection_ior,
|
| 827 |
+
|
| 828 |
+
specular_reflection_anisotropy: tex::texture_isvalid(specular_reflection_anisotropy_image) ?
|
| 829 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 830 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 831 |
+
specular_reflection_anisotropy_image,
|
| 832 |
+
uvw_ignore_missing_textures,
|
| 833 |
+
uvw_missing_texture_color,
|
| 834 |
+
uvw_use_uv_coords,
|
| 835 |
+
uvw_uv_coords,
|
| 836 |
+
uvw_s_wrap,
|
| 837 |
+
uvw_t_wrap,
|
| 838 |
+
texture_coordinate_info
|
| 839 |
+
),
|
| 840 |
+
specular_reflection_anisotropy_image_alpha_mode
|
| 841 |
+
).mono :
|
| 842 |
+
specular_reflection_anisotropy,
|
| 843 |
+
|
| 844 |
+
specular_reflection_anisotropy_rotation: tex::texture_isvalid(
|
| 845 |
+
specular_reflection_anisotropy_rotation_image) ?
|
| 846 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 847 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 848 |
+
specular_reflection_anisotropy_rotation_image,
|
| 849 |
+
uvw_ignore_missing_textures,
|
| 850 |
+
uvw_missing_texture_color,
|
| 851 |
+
uvw_use_uv_coords,
|
| 852 |
+
uvw_uv_coords,
|
| 853 |
+
uvw_s_wrap,
|
| 854 |
+
uvw_t_wrap,
|
| 855 |
+
texture_coordinate_info
|
| 856 |
+
),
|
| 857 |
+
specular_reflection_anisotropy_rotation_image_alpha_mode
|
| 858 |
+
).mono :
|
| 859 |
+
specular_reflection_anisotropy_rotation,
|
| 860 |
+
|
| 861 |
+
//Coat
|
| 862 |
+
//
|
| 863 |
+
coat_weight: tex::texture_isvalid(coat_weight_image) ?
|
| 864 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 865 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 866 |
+
coat_weight_image,
|
| 867 |
+
uvw_ignore_missing_textures,
|
| 868 |
+
uvw_missing_texture_color,
|
| 869 |
+
uvw_use_uv_coords,
|
| 870 |
+
uvw_uv_coords,
|
| 871 |
+
uvw_s_wrap,
|
| 872 |
+
uvw_t_wrap,
|
| 873 |
+
texture_coordinate_info
|
| 874 |
+
),
|
| 875 |
+
coat_weight_image_alpha_mode
|
| 876 |
+
).mono :
|
| 877 |
+
coat_weight,
|
| 878 |
+
|
| 879 |
+
coat_color: tex::texture_isvalid(coat_color_image) ?
|
| 880 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 881 |
+
coat_color_image,
|
| 882 |
+
uvw_ignore_missing_textures,
|
| 883 |
+
uvw_missing_texture_color,
|
| 884 |
+
uvw_use_uv_coords,
|
| 885 |
+
uvw_uv_coords,
|
| 886 |
+
uvw_s_wrap,
|
| 887 |
+
uvw_t_wrap,
|
| 888 |
+
texture_coordinate_info
|
| 889 |
+
).tint :
|
| 890 |
+
coat_color,
|
| 891 |
+
|
| 892 |
+
coat_roughness: tex::texture_isvalid(coat_roughness_image) ?
|
| 893 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 894 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 895 |
+
coat_roughness_image,
|
| 896 |
+
uvw_ignore_missing_textures,
|
| 897 |
+
uvw_missing_texture_color,
|
| 898 |
+
uvw_use_uv_coords,
|
| 899 |
+
uvw_uv_coords,
|
| 900 |
+
uvw_s_wrap,
|
| 901 |
+
uvw_t_wrap,
|
| 902 |
+
texture_coordinate_info
|
| 903 |
+
),
|
| 904 |
+
coat_roughness_image_alpha_mode
|
| 905 |
+
).mono :
|
| 906 |
+
coat_roughness,
|
| 907 |
+
|
| 908 |
+
coat_ior_preset: coat_ior_preset,
|
| 909 |
+
coat_ior: coat_ior,
|
| 910 |
+
|
| 911 |
+
coat_anisotropy: tex::texture_isvalid(coat_anisotropy_image) ?
|
| 912 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 913 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 914 |
+
coat_anisotropy_image,
|
| 915 |
+
uvw_ignore_missing_textures,
|
| 916 |
+
uvw_missing_texture_color,
|
| 917 |
+
uvw_use_uv_coords,
|
| 918 |
+
uvw_uv_coords,
|
| 919 |
+
uvw_s_wrap,
|
| 920 |
+
uvw_t_wrap,
|
| 921 |
+
texture_coordinate_info
|
| 922 |
+
),
|
| 923 |
+
coat_anisotropy_image_alpha_mode
|
| 924 |
+
).mono :
|
| 925 |
+
coat_anisotropy,
|
| 926 |
+
|
| 927 |
+
coat_anisotropy_rotation: tex::texture_isvalid(coat_anisotropy_rotation_image) ?
|
| 928 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 929 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 930 |
+
coat_anisotropy_rotation_image,
|
| 931 |
+
uvw_ignore_missing_textures,
|
| 932 |
+
uvw_missing_texture_color,
|
| 933 |
+
uvw_use_uv_coords,
|
| 934 |
+
uvw_uv_coords,
|
| 935 |
+
uvw_s_wrap,
|
| 936 |
+
uvw_t_wrap,
|
| 937 |
+
texture_coordinate_info
|
| 938 |
+
),
|
| 939 |
+
coat_anisotropy_rotation_image_alpha_mode
|
| 940 |
+
).mono :
|
| 941 |
+
coat_anisotropy_rotation,
|
| 942 |
+
|
| 943 |
+
coat_affect_color: tex::texture_isvalid(coat_affect_color_image) ?
|
| 944 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 945 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 946 |
+
coat_affect_color_image,
|
| 947 |
+
uvw_ignore_missing_textures,
|
| 948 |
+
uvw_missing_texture_color,
|
| 949 |
+
uvw_use_uv_coords,
|
| 950 |
+
uvw_uv_coords,
|
| 951 |
+
uvw_s_wrap,
|
| 952 |
+
uvw_t_wrap,
|
| 953 |
+
texture_coordinate_info
|
| 954 |
+
),
|
| 955 |
+
coat_affect_color_image_alpha_mode
|
| 956 |
+
).mono :
|
| 957 |
+
coat_affect_color,
|
| 958 |
+
|
| 959 |
+
coat_affect_roughness: tex::texture_isvalid(coat_affect_roughness_image) ?
|
| 960 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 961 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 962 |
+
coat_affect_roughness_image,
|
| 963 |
+
uvw_ignore_missing_textures,
|
| 964 |
+
uvw_missing_texture_color,
|
| 965 |
+
uvw_use_uv_coords,
|
| 966 |
+
uvw_uv_coords,
|
| 967 |
+
uvw_s_wrap,
|
| 968 |
+
uvw_t_wrap,
|
| 969 |
+
texture_coordinate_info
|
| 970 |
+
),
|
| 971 |
+
coat_affect_roughness_image_alpha_mode
|
| 972 |
+
).mono :
|
| 973 |
+
coat_affect_roughness,
|
| 974 |
+
|
| 975 |
+
coat_normal: tex::texture_isvalid(coat_normal_image) ?
|
| 976 |
+
::OmniSurface::OmniImage::normal_mapping(
|
| 977 |
+
::OmniSurface::OmniImage::tangent_space_normal_lookup_2(
|
| 978 |
+
coat_normal_image,
|
| 979 |
+
uvw_ignore_missing_textures,
|
| 980 |
+
uvw_use_uv_coords,
|
| 981 |
+
uvw_uv_coords,
|
| 982 |
+
uvw_s_wrap,
|
| 983 |
+
uvw_t_wrap,
|
| 984 |
+
uvw_s_flip,
|
| 985 |
+
uvw_t_flip,
|
| 986 |
+
coat_normal_strength,
|
| 987 |
+
coat_normal_image_flip_r_channel,
|
| 988 |
+
coat_normal_image_flip_g_channel,
|
| 989 |
+
coat_normal_image_flip_b_channel,
|
| 990 |
+
texture_coordinate_info
|
| 991 |
+
),
|
| 992 |
+
geometry_tangent_bitangent_mapping,
|
| 993 |
+
coat_normal
|
| 994 |
+
):
|
| 995 |
+
coat_normal,
|
| 996 |
+
|
| 997 |
+
//Emission
|
| 998 |
+
//
|
| 999 |
+
emission_weight: tex::texture_isvalid(emission_weight_image) ?
|
| 1000 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1001 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1002 |
+
emission_weight_image,
|
| 1003 |
+
uvw_ignore_missing_textures,
|
| 1004 |
+
uvw_missing_texture_color,
|
| 1005 |
+
uvw_use_uv_coords,
|
| 1006 |
+
uvw_uv_coords,
|
| 1007 |
+
uvw_s_wrap,
|
| 1008 |
+
uvw_t_wrap,
|
| 1009 |
+
texture_coordinate_info
|
| 1010 |
+
),
|
| 1011 |
+
emission_weight_image_alpha_mode
|
| 1012 |
+
).mono :
|
| 1013 |
+
emission_weight,
|
| 1014 |
+
|
| 1015 |
+
emission_mode: emission_mode,
|
| 1016 |
+
|
| 1017 |
+
emission_intensity: tex::texture_isvalid(emission_intensity_image) ?
|
| 1018 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1019 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1020 |
+
emission_intensity_image,
|
| 1021 |
+
uvw_ignore_missing_textures,
|
| 1022 |
+
uvw_missing_texture_color,
|
| 1023 |
+
uvw_use_uv_coords,
|
| 1024 |
+
uvw_uv_coords,
|
| 1025 |
+
uvw_s_wrap,
|
| 1026 |
+
uvw_t_wrap,
|
| 1027 |
+
texture_coordinate_info
|
| 1028 |
+
),
|
| 1029 |
+
emission_intensity_image_alpha_mode
|
| 1030 |
+
).mono :
|
| 1031 |
+
emission_intensity,
|
| 1032 |
+
|
| 1033 |
+
emission_color: tex::texture_isvalid(emission_color_image) ?
|
| 1034 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1035 |
+
emission_color_image,
|
| 1036 |
+
uvw_ignore_missing_textures,
|
| 1037 |
+
uvw_missing_texture_color,
|
| 1038 |
+
uvw_use_uv_coords,
|
| 1039 |
+
uvw_uv_coords,
|
| 1040 |
+
uvw_s_wrap,
|
| 1041 |
+
uvw_t_wrap,
|
| 1042 |
+
texture_coordinate_info
|
| 1043 |
+
).tint :
|
| 1044 |
+
emission_color,
|
| 1045 |
+
|
| 1046 |
+
emission_use_temperature: emission_use_temperature,
|
| 1047 |
+
|
| 1048 |
+
emission_temperature: tex::texture_isvalid(emission_temperature_image) ?
|
| 1049 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1050 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1051 |
+
emission_temperature_image,
|
| 1052 |
+
uvw_ignore_missing_textures,
|
| 1053 |
+
uvw_missing_texture_color,
|
| 1054 |
+
uvw_use_uv_coords,
|
| 1055 |
+
uvw_uv_coords,
|
| 1056 |
+
uvw_s_wrap,
|
| 1057 |
+
uvw_t_wrap,
|
| 1058 |
+
texture_coordinate_info
|
| 1059 |
+
),
|
| 1060 |
+
emission_temperature_image_alpha_mode
|
| 1061 |
+
).mono :
|
| 1062 |
+
emission_temperature,
|
| 1063 |
+
|
| 1064 |
+
//Geometry
|
| 1065 |
+
//
|
| 1066 |
+
enable_opacity: enable_opacity,
|
| 1067 |
+
|
| 1068 |
+
geometry_opacity: tex::texture_isvalid(geometry_opacity_image) ?
|
| 1069 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1070 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1071 |
+
geometry_opacity_image,
|
| 1072 |
+
uvw_ignore_missing_textures,
|
| 1073 |
+
uvw_missing_texture_color,
|
| 1074 |
+
uvw_use_uv_coords,
|
| 1075 |
+
uvw_uv_coords,
|
| 1076 |
+
uvw_s_wrap,
|
| 1077 |
+
uvw_t_wrap,
|
| 1078 |
+
texture_coordinate_info
|
| 1079 |
+
),
|
| 1080 |
+
geometry_opacity_image_alpha_mode
|
| 1081 |
+
).mono :
|
| 1082 |
+
geometry_opacity,
|
| 1083 |
+
|
| 1084 |
+
geometry_opacity_threshold: geometry_opacity_threshold,
|
| 1085 |
+
|
| 1086 |
+
geometry_normal: tex::texture_isvalid(geometry_normal_image) ?
|
| 1087 |
+
::OmniSurface::OmniImage::normal_mapping(
|
| 1088 |
+
::OmniSurface::OmniImage::tangent_space_normal_lookup_2(
|
| 1089 |
+
geometry_normal_image,
|
| 1090 |
+
uvw_ignore_missing_textures,
|
| 1091 |
+
uvw_use_uv_coords,
|
| 1092 |
+
uvw_uv_coords,
|
| 1093 |
+
uvw_s_wrap,
|
| 1094 |
+
uvw_t_wrap,
|
| 1095 |
+
uvw_s_flip,
|
| 1096 |
+
uvw_t_flip,
|
| 1097 |
+
geometry_normal_strength,
|
| 1098 |
+
geometry_normal_image_flip_r_channel,
|
| 1099 |
+
geometry_normal_image_flip_g_channel,
|
| 1100 |
+
geometry_normal_image_flip_b_channel,
|
| 1101 |
+
texture_coordinate_info
|
| 1102 |
+
),
|
| 1103 |
+
geometry_tangent_bitangent_mapping,
|
| 1104 |
+
geometry_normal
|
| 1105 |
+
):
|
| 1106 |
+
geometry_normal,
|
| 1107 |
+
|
| 1108 |
+
geometry_displacement: tex::texture_isvalid(geometry_displacement_image) ?
|
| 1109 |
+
::OmniSurface::OmniShared::displacement_adjustment(
|
| 1110 |
+
(geometry_displacement_mode == ::OmniSurface::OmniShared::displacement_height) ?
|
| 1111 |
+
float3(::OmniSurface::OmniImage::texture_adjustment_2(
|
| 1112 |
+
OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1113 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1114 |
+
geometry_displacement_image,
|
| 1115 |
+
uvw_ignore_missing_textures,
|
| 1116 |
+
uvw_missing_texture_color,
|
| 1117 |
+
uvw_use_uv_coords,
|
| 1118 |
+
uvw_uv_coords,
|
| 1119 |
+
uvw_s_wrap,
|
| 1120 |
+
uvw_t_wrap,
|
| 1121 |
+
texture_coordinate_info
|
| 1122 |
+
),
|
| 1123 |
+
geometry_displacement_image_alpha_mode
|
| 1124 |
+
),
|
| 1125 |
+
0.0f, //exposure
|
| 1126 |
+
color(0.5), //default_color
|
| 1127 |
+
color(1.0), //color_gain
|
| 1128 |
+
color(0.0), //color_offset
|
| 1129 |
+
1.0f, //alpha_gain
|
| 1130 |
+
-1.0f * geometry_displacement_scalar_zero_value, //alpha_offset
|
| 1131 |
+
false, //invert
|
| 1132 |
+
0.0f //blend_factor
|
| 1133 |
+
).mono) :
|
| 1134 |
+
|
| 1135 |
+
float3(::OmniSurface::OmniImage::texture_lookup_2(
|
| 1136 |
+
geometry_displacement_image,
|
| 1137 |
+
uvw_ignore_missing_textures,
|
| 1138 |
+
uvw_missing_texture_color,
|
| 1139 |
+
uvw_use_uv_coords,
|
| 1140 |
+
uvw_uv_coords,
|
| 1141 |
+
uvw_s_wrap,
|
| 1142 |
+
uvw_t_wrap,
|
| 1143 |
+
texture_coordinate_info
|
| 1144 |
+
).tint
|
| 1145 |
+
),
|
| 1146 |
+
|
| 1147 |
+
geometry_displacement_mode,
|
| 1148 |
+
|
| 1149 |
+
tex::texture_isvalid(geometry_displacement_scale_image) ?
|
| 1150 |
+
::OmniSurface::OmniImage::texture_alpha_channel_remap_2(
|
| 1151 |
+
::OmniSurface::OmniImage::texture_lookup_2(
|
| 1152 |
+
geometry_displacement_scale_image,
|
| 1153 |
+
uvw_ignore_missing_textures,
|
| 1154 |
+
uvw_missing_texture_color,
|
| 1155 |
+
uvw_use_uv_coords,
|
| 1156 |
+
uvw_uv_coords,
|
| 1157 |
+
uvw_s_wrap,
|
| 1158 |
+
uvw_t_wrap,
|
| 1159 |
+
texture_coordinate_info
|
| 1160 |
+
),
|
| 1161 |
+
geometry_displacement_scale_image_alpha_mode
|
| 1162 |
+
).mono :
|
| 1163 |
+
geometry_displacement_scale
|
| 1164 |
+
):
|
| 1165 |
+
geometry_displacement
|
| 1166 |
+
);
|
| 1167 |
+
|
| 1168 |
+
} in material(
|
| 1169 |
+
thin_walled: base.thin_walled,
|
| 1170 |
+
ior: base.ior,
|
| 1171 |
+
surface: base.surface,
|
| 1172 |
+
backface: base.backface,
|
| 1173 |
+
volume: base.volume,
|
| 1174 |
+
geometry: base.geometry
|
| 1175 |
+
);
|
omniverse_mirror/simready_props/capricetable_yin/materials/OmniSurfacePresets.mdl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
omniverse_mirror/simready_props/cardbox_a1/.thumbs/256x256/cardbox_a1.usd.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_Albedo.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_Normal.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/138x108/T_Cardbox_A1_ORM.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_Albedo.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_Normal.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/.thumbs/256x256/T_Cardbox_A1_ORM.png.auto.png
ADDED
|
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_Albedo.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_Normal.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_a1/Textures/T_Cardbox_A1_ORM.png
ADDED
|
Git LFS Details
|
omniverse_mirror/simready_props/cardbox_b2/.thumbs/256x256/cardbox_b2.usd.png
ADDED
|
|
Git LFS Details
|