| mdl 1.4; |
|
|
| import ::OmniPBR::OmniPBR; |
| import ::anno::author; |
| import ::anno::description; |
| import ::anno::display_name; |
| import ::anno::key_words; |
| import ::anno::version; |
| import ::tex::gamma_mode; |
| import ::state::normal; |
|
|
| export material Plaster(*) |
| [[ |
| ::anno::display_name("Omni PBR "), |
| ::anno::description("Omni PBR, supports ORM textures"), |
| ::anno::version(1, 0, 0, ""), |
| ::anno::author("NVIDIA CORPORATION"), |
| ::anno::key_words(string[]("omni", "PBR", "omniverse", "generic")) |
| ]] |
| = ::OmniPBR::OmniPBR( |
| diffuse_color_constant: color(0.200000003f, 0.200000003f, 0.200000003f), |
| diffuse_texture: texture_2d("./Plaster/Plaster_BaseColor.png" , ::tex::gamma_srgb), |
| albedo_desaturation: 0.f, |
| albedo_add: 0.f, |
| albedo_brightness: 1.f, |
| diffuse_tint: color(1.f, 1.f, 1.f), |
| reflection_roughness_constant: 0.5f, |
| reflection_roughness_texture_influence: 1.f, |
| reflectionroughness_texture: texture_2d(), |
| metallic_constant: 0.f, |
| metallic_texture_influence: 0.f, |
| metallic_texture: texture_2d(), |
| specular_level: 0.5f, |
| enable_ORM_texture: true, |
| ORM_texture: texture_2d("./Plaster/Plaster_ORM.png" , ::tex::gamma_linear), |
| ao_to_diffuse: 0.f, |
| ao_texture: texture_2d(), |
| enable_emission: false, |
| emissive_color: color(1.f, 0.100000001f, 0.100000001f), |
| emissive_mask_texture: texture_2d(), |
| emissive_intensity: 40.f, |
| bump_factor: 1.f, |
| normalmap_texture: texture_2d("./Plaster/Plaster_N.png" , ::tex::gamma_linear), |
| detail_bump_factor: 0.300000012f, |
| detail_normalmap_texture: texture_2d(), |
| project_uvw: false, |
| world_or_object: false, |
| uv_space_index: 0, |
| texture_translate: float2(0.f), |
| texture_rotate: 0.f, |
| texture_scale: float2(1.f), |
| detail_texture_translate: float2(0.f), |
| detail_texture_rotate: 0.f, |
| detail_texture_scale: float2(1.f)); |
|
|