| mdl 1.8; |
|
|
| import ::state::normal; |
| import ::OmniPBR::OmniPBR; |
| import ::anno::author; |
| import ::anno::description; |
| import ::anno::display_name; |
| import ::anno::in_group; |
| import ::anno::key_words; |
| import ::anno::version; |
| import ::base::mono_mode; |
| import ::tex::gamma_mode; |
|
|
| export material csdssddss(*) |
| [[ |
| anno::display_name("OmniPBR"), |
| anno::description("OmniPBR Base with support for clear coat, opacity and ORM textures."), |
| anno::in_group("Base", false), |
| anno::version(2, 1, 2, ""), |
| anno::author("NVIDIA CORPORATION"), |
| anno::key_words(string[]("omni", "PBR", "opacity", "omniverse", "generic")) |
| ]] |
| = OmniPBR::OmniPBR( |
| diffuse_color_constant: color(0.5f, 0.5f, 0.5f), |
| diffuse_texture: texture_2d(), |
| 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.f, |
| reflection_roughness_texture_influence: 0.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: false, |
| ORM_texture: texture_2d(), |
| ao_to_diffuse: 0.f, |
| ao_texture: texture_2d(), |
| enable_emission: true, |
| emissive_color: color(0.f, 0.f, 0.f), |
| emissive_color_texture: texture_2d(), |
| emissive_mask_texture: texture_2d(), |
| emissive_intensity: 3250.f, |
| enable_opacity: false, |
| opacity_texture: texture_2d(), |
| opacity_constant: 1.f, |
| enable_opacity_texture: false, |
| opacity_mode: base::mono_average, |
| opacity_threshold: 0.00100000005f, |
| geometry_normal_roughness_strength: 1.f, |
| bump_factor: 0.300000012f, |
| normalmap_texture: texture_2d(), |
| detail_bump_factor: 0.300000012f, |
| detail_normalmap_texture: texture_2d(), |
| flip_tangent_u: false, |
| flip_tangent_v: true, |
| project_uvw: false, |
| world_or_object: false, |
| uv_space_index: 0, |
| texture_translate: float2(0.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)); |
|
|