Ruinwalker's picture
Upload folder using huggingface_hub
3f4c166 verified
///\authors: Auto-generated by vray_to_mdl_export.ms script.
///\description: Translated VRay material.
mdl 1.6;
// Import
import ::anno::*;
import ::base::transform_coordinate;
import ::base::rotation_translation_scale;
import ::base::file_texture;
import ::base::mono_mode;
import ::base::texture_coordinate_info;
import ::base::texture_return;
import ::state::normal;
import ::state::texture_coordinate;
import ::state::texture_tangent_u;
import ::state::texture_tangent_v;
import ::tex::gamma_mode;
import ::tex::wrap_mode;
import .::templates::mdl_0001::*;
import .::templates::mdl_0002::*;
import .::templates::mdl_0003::*;
import .::templates::mdl_0004::*;
// Body
export material vm_v1_002_chrome_1()
[[
anno::display_name("vm_v1_002_chrome_1")
]]
= ::templates::mdl_0003::VRayMtl(
Diffuse : color(0.313726,0.313726,0.313726),
diffuse_roughness : 0.0f,
Reflection : color(0.992157,0.992157,0.992157),
reflection_glossiness : 0.99f,
reflection_fresnel : true,
reflection_ior : 18.0f,
reflection_lockIOR : false,
invert_reflection_ior : false,
reflection_metalness : 0.0f,
Refraction : color(0.0,0.0,0.0),
refraction_glossiness : 1.0f,
refraction_ior : 1.6f,
invert_refraction_ior : false,
refraction_dispersion_on : false,
refraction_dispersion : 50.0f,
refraction_fogColor : color(1.0,1.0,1.0),
refraction_fogBias : 0.0f,
refraction_fogMult : 1.0f,
translucency_on : ::templates::mdl_0003::translucency_none,
translucency_scatterCoeff : 0.0f,
translucency_fbCoeff : 1.0f,
translucency_color : color(1.0,1.0,1.0),
self_illumination : color(0.0,0.0,0.0),
self_illumination_multiplier : 1.32f,
coat_amount : 0.0f,
coat_color : color(1.0,1.0,1.0),
coat_glossiness : 1.0f,
coat_ior : 1.6f,
invert_coat_ior : false,
coat_bump_lock : false,
sheen_color : color(0.0,0.0,0.0),
sheen_glossiness : 0.8f,
brdf_type : ::templates::mdl_0003::brdf_ward,
brdf_useRoughness : ::templates::mdl_0003::brdf_glossiness,
anisotropy : 0.0f,
anisotropy_rotation : 0.0f,
anisotropy_channel : 1,
texmap_bump : ::templates::mdl_0002::ad_3dsmax_noise_bump(
color1 : color(0.0,0.0,0.0),
color2 : color(1.0,1.0,1.0),
size : 0.2f,
phase : 0.0f,
levels : 2.0f,
thresholdLow : 0.0f,
thresholdHigh : 1.0f,
type : 1,
blur : 1.0f,
offset : float3(0.0f,0.0f,0.0f),
tiling : float3(0.1f,0.1f,0.1f),
angle : float3(0.0f,0.0f,0.0f),
blur_Offset : 0.0f,
coordType : 0,
mapChannel : 1,
alphaFromRGB : false,
bump_amount : 1.0f,
clamp : false,
invert : false,
output_amount : 1.0f,
rgb_level : 1.0f,
rgb_offset : 0.0f,
factor : 0.01f
),
texmap_opacity : 1.0f
);
export material vm_v1_002_chrome_2()
[[
anno::display_name("vm_v1_002_chrome_2")
]]
= ::templates::mdl_0003::VRayMtl(
Diffuse : color(0.0,0.0,0.0),
diffuse_roughness : 0.0f,
Reflection : color(0.72549,0.72549,0.72549),
reflection_glossiness : 0.75f,
reflection_fresnel : false,
reflection_ior : 1.6f,
reflection_lockIOR : true,
invert_reflection_ior : false,
reflection_metalness : 0.0f,
Refraction : color(0.0,0.0,0.0),
refraction_glossiness : 1.0f,
refraction_ior : 1.6f,
invert_refraction_ior : false,
refraction_dispersion_on : false,
refraction_dispersion : 50.0f,
refraction_fogColor : color(1.0,1.0,1.0),
refraction_fogBias : 0.0f,
refraction_fogMult : 1.0f,
translucency_on : ::templates::mdl_0003::translucency_none,
translucency_scatterCoeff : 0.0f,
translucency_fbCoeff : 1.0f,
translucency_color : color(1.0,1.0,1.0),
self_illumination : color(0.0,0.0,0.0),
self_illumination_multiplier : 1.32f,
coat_amount : 0.0f,
coat_color : color(1.0,1.0,1.0),
coat_glossiness : 1.0f,
coat_ior : 1.6f,
invert_coat_ior : false,
coat_bump_lock : false,
sheen_color : color(0.0,0.0,0.0),
sheen_glossiness : 0.8f,
brdf_type : ::templates::mdl_0003::brdf_ward,
brdf_useRoughness : ::templates::mdl_0003::brdf_glossiness,
anisotropy : 0.0f,
anisotropy_rotation : 0.0f,
anisotropy_channel : 1,
texmap_opacity : 1.0f
);
export material vm_v1_002_chrome()
[[
anno::display_name("vm_v1_002_chrome")
]]
= ::templates::mdl_0003::VRayBlendMtl(
base_mtl : vm_v1_002_chrome_1(),
enabled1 : true,
enabled2 : true,
enabled3 : true,
enabled4 : true,
enabled5 : true,
enabled6 : true,
enabled7 : true,
enabled8 : true,
enabled9 : true,
blend_amount1 : color(0.360784,0.360784,0.360784),
blend_amount2 : color(0.5,0.5,0.5),
blend_amount3 : color(0.5,0.5,0.5),
blend_amount4 : color(0.5,0.5,0.5),
blend_amount5 : color(0.5,0.5,0.5),
blend_amount6 : color(0.360784,0.360784,0.360784),
blend_amount7 : color(0.5,0.5,0.5),
blend_amount8 : color(0.5,0.5,0.5),
blend_amount9 : color(0.5,0.5,0.5),
coat_mtl1 : vm_v1_002_chrome_2(),
additive : false
);