| | ///\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 mdl_0001::* |
| | import mdl_0002::* |
| | import mdl_0003::* |
| | import mdl_0004::* |
| |
|
| | // Body |
| | export material mdl_0006() |
| | [[ |
| | anno::display_name("_3d66_VRayMtl_19796997_007") |
| | ]] |
| | = ::mdl_0003::VRayMtl( |
| | Diffuse : ::mdl_0002::ad_3dsmax_falloff( |
| | color1 : base::texture_return(tint:color(0.545098,0.545098,0.545098), mono:1), |
| | color2 : base::texture_return(tint:color(0.698039,0.698039,0.698039), mono:1), |
| | falloff_type : ::mdl_0002::Perpendicular_Parallel, |
| | falloff_direction : ::mdl_0002::View, |
| | nearDistance : 0.0f, |
| | farDistance : 100.0f |
| | ).tint * 0.8 + color(0.0,0.0,0.0) * 0.2, |
| | diffuse_roughness : 0.0f, |
| | Reflection : ::mdl_0002::ad_3dsmax_falloff( |
| | color1 : base::texture_return(tint:color(0.545098,0.545098,0.545098), mono:1), |
| | color2 : base::texture_return(tint:color(0.698039,0.698039,0.698039), mono:1), |
| | falloff_type : ::mdl_0002::Perpendicular_Parallel, |
| | falloff_direction : ::mdl_0002::View, |
| | nearDistance : 0.0f, |
| | farDistance : 100.0f |
| | ).tint * 0.8 + color(0.786079,0.786079,0.786079) * 0.2, |
| | reflection_glossiness : ::mdl_0002::ad_3dsmax_mix( |
| | color1 : ::mdl_0002::ad_3dsmax_bitmap( |
| | filename : texture_2d("folder_0000/image_0000.jpg", ::tex::gamma_srgb), |
| | cliph : 1.0f, |
| | clipu : 0.0f, |
| | clipv : 0.0f, |
| | clipw : 1.0f, |
| | mapChannel : 1, |
| | U_angle : 0.0f, |
| | U_Mirror : false, |
| | U_Offset : 0.0f, |
| | U_Tile : true, |
| | U_Tiling : 2.0f, |
| | UVW_Type : 0, |
| | V_angle : 0.0f, |
| | V_Mirror : false, |
| | V_Offset : 0.0f, |
| | V_Tile : true, |
| | V_Tiling : 2.0f, |
| | W_angle : 180.0f, |
| | alphaFromRGB : false, |
| | bump_amount : 1.0f, |
| | clamp : false, |
| | invert : false, |
| | output_amount : 1.0f, |
| | rgb_level : 1.0f, |
| | rgb_offset : 0.0f |
| | ), |
| | color2 : ::mdl_0002::ad_3dsmax_bitmap( |
| | filename : texture_2d("folder_0000/image_0000.jpg", ::tex::gamma_srgb), |
| | cliph : 1.0f, |
| | clipu : 0.0f, |
| | clipv : 0.0f, |
| | clipw : 1.0f, |
| | mapChannel : 1, |
| | U_angle : 0.0f, |
| | U_Mirror : false, |
| | U_Offset : 0.0f, |
| | U_Tile : true, |
| | U_Tiling : 2.0f, |
| | UVW_Type : 0, |
| | V_angle : 0.0f, |
| | V_Mirror : false, |
| | V_Offset : 0.0f, |
| | V_Tile : true, |
| | V_Tiling : 2.0f, |
| | W_angle : 180.0f, |
| | alphaFromRGB : false, |
| | bump_amount : 1.0f, |
| | clamp : false, |
| | invert : false, |
| | output_amount : 1.0f, |
| | rgb_level : 1.0f, |
| | rgb_offset : 0.0f |
| | ), |
| | mixAmount : 0.6f, |
| | useCurve : false, |
| | lower : 0.3f, |
| | upper : 0.7f |
| | ).mono * 0.25 + 0.87f * 0.75, |
| | reflection_fresnel : true, |
| | reflection_ior : 16.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.52f, |
| | invert_refraction_ior : false, |
| | refraction_dispersion_on : false, |
| | refraction_dispersion : 50.0f, |
| | refraction_fogColor : color(0.5,0.5,0.5), |
| | refraction_fogBias : 0.0f, |
| | refraction_fogMult : 0.0f, |
| | translucency_on : ::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 : 0.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 : ::mdl_0003::brdf_ggx, |
| | brdf_useRoughness : ::mdl_0003::brdf_glossiness, |
| | anisotropy : 0.0f, |
| | anisotropy_rotation : 0.0f, |
| | anisotropy_channel : 1, |
| | texmap_bump : ::mdl_0002::ad_3dsmax_bitmap_bump( |
| | filename : texture_2d("folder_0000/image_0000.jpg", ::tex::gamma_srgb), |
| | cliph : 1.0f, |
| | clipu : 0.0f, |
| | clipv : 0.0f, |
| | clipw : 1.0f, |
| | mapChannel : 1, |
| | U_angle : 0.0f, |
| | U_Mirror : false, |
| | U_Offset : 0.0f, |
| | U_Tile : true, |
| | U_Tiling : 2.0f, |
| | UVW_Type : 0, |
| | V_angle : 0.0f, |
| | V_Mirror : false, |
| | V_Offset : 0.0f, |
| | V_Tile : true, |
| | V_Tiling : 2.0f, |
| | W_angle : 180.0f, |
| | alphaFromRGB : false, |
| | bump_amount : 1.0f, |
| | clamp : false, |
| | invert : false, |
| | output_amount : 1.0f, |
| | rgb_level : 1.0f, |
| | rgb_offset : 0.0f, |
| | factor : 0.051f |
| | ), |
| | texmap_opacity : 1.0f |
| | ) |
| |
|
| |
|
| |
|