File size: 1,568 Bytes
ae81f33 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
mdl 1.4;
using ::OmniPBR import OmniPBR;
import ::tex::gamma_mode;
import ::state::normal;
export material Carpet_Pattern_Squares_Multi(*)
= OmniPBR(
diffuse_color_constant: color(1.0, 1.0, 1.0),
diffuse_texture: texture_2d("./Carpet_Pattern_Squares_Multi/Carpet_Pattern_Squares_Multi_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.0,
reflection_roughness_texture_influence: 1.f,
reflectionroughness_texture: texture_2d(),
metallic_constant: 0.0,
metallic_texture_influence: 1.f,
metallic_texture: texture_2d(),
specular_level: 0.5f,
enable_ORM_texture: true,
ORM_texture: texture_2d("./Carpet_Pattern_Squares_Multi/Carpet_Pattern_Squares_Multi_ORM.png", ::tex::gamma_linear),
ao_to_diffuse: 0.f,
ao_texture: texture_2d(),
enable_emission: false,
emissive_color: color(0.0, 0.0, 0.0),
emissive_mask_texture: texture_2d(),
emissive_intensity: 0.0,
bump_factor: 1.f,
normalmap_texture: texture_2d("./Carpet_Pattern_Squares_Multi/Carpet_Pattern_Squares_Multi_Normal.png", ::tex::gamma_linear),
detail_bump_factor: 0.3f,
detail_normalmap_texture: texture_2d(),
project_uvw: false,
world_or_object: false,
uv_space_index: 0,
texture_translate: float2(0.f),
texture_rotate: 0.f,
texture_scale: float2(1.f),
detail_texture_translate: float2(0.f),
detail_texture_rotate: 0.f,
detail_texture_scale: float2(1.f));
|