///\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::ad_3dsmax_materials::*; import .::templates::ad_3dsmax_maps::*; import .::templates::vray_materials::*; import .::templates::vray_maps::*; // Body export material Glass() [[ anno::display_name("Glass") ]] = ::templates::vray_materials::VRayMtl( Diffuse : color(0.5,0.5,0.5), diffuse_roughness : 0.0f, Reflection : ::templates::ad_3dsmax_maps::ad_3dsmax_falloff( color1 : base::texture_return(tint:color(0.764706,0.764706,0.764706), mono:1), color2 : base::texture_return(tint:color(0.980392,0.980392,0.980392), mono:1), falloff_type : ::templates::ad_3dsmax_maps::Fresnel, falloff_direction : ::templates::ad_3dsmax_maps::View, nearDistance : 0.0f, farDistance : 100.0f ).tint, reflection_glossiness : 0.99f, reflection_fresnel : true, reflection_ior : 1.6f, reflection_lockIOR : true, invert_reflection_ior : false, reflection_metalness : 0.0f, Refraction : ::templates::ad_3dsmax_maps::ad_3dsmax_falloff( color1 : base::texture_return(tint:color(0.980392,0.980392,0.980392), mono:1), color2 : base::texture_return(tint:color(0.764706,0.764706,0.764706), mono:1), falloff_type : ::templates::ad_3dsmax_maps::Fresnel, falloff_direction : ::templates::ad_3dsmax_maps::View, nearDistance : 0.0f, farDistance : 100.0f ).tint, refraction_glossiness : 0.99f, refraction_ior : 1.51f, invert_refraction_ior : false, refraction_dispersion_on : false, refraction_dispersion : 50.0f, refraction_fogColor : color(0.564706,0.654902,0.682353), refraction_fogBias : -1.5f, refraction_fogMult : 0.02f, translucency_on : ::templates::vray_materials::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.0f, 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::vray_materials::brdf_blinn, brdf_useRoughness : ::templates::vray_materials::brdf_glossiness, anisotropy : 0.0f, anisotropy_rotation : 0.0f, anisotropy_channel : 1, texmap_opacity : 1.0f );