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::*;
//Error: [output_parm_texturemap: VRayCompTex is not supported] parm: texmap_bump
// Body
export material a11()
[[
anno::display_name("_11")
]]
= ::templates::mdl_0003::VRayMtl(
Diffuse : color(0.211765,0.219608,0.215686),
diffuse_roughness : 0.0f,
Reflection : color(1.0,1.0,1.0),
reflection_glossiness : ::templates::mdl_0002::ad_3dsmax_color_correction(
hue_shift : 0.0f,
map : base::texture_return(tint:color(0.0,0.0,0.0), mono:1),
rewireA : ::templates::mdl_0002::channel_alpha,
rewireB : ::templates::mdl_0002::channel_blue,
rewireG : ::templates::mdl_0002::channel_green,
rewireR : ::templates::mdl_0002::channel_red,
saturation : 0.0f,
hue_tint : 0.0f,
hue_tint_amnt : 0.0f,
lightness_mode : ::templates::mdl_0002::Standard,
brightness : -15.6146f,
contrast : 0.0f,
rgb_gamma : 1.0f
).mono * 0.4 + 1.0f * 0.6,
reflection_fresnel : true,
reflection_ior : 1.6f,
reflection_lockIOR : true,
invert_reflection_ior : false,
reflection_metalness : 0.0f,
Refraction : ::templates::mdl_0002::ad_3dsmax_falloff(
color1 : base::texture_return(tint:color(0.960784,0.960784,0.960784), mono:1),
color2 : base::texture_return(tint:color(0.0392157,0.0392157,0.0392157), mono:1),
falloff_type : ::templates::mdl_0002::Fresnel,
falloff_direction : ::templates::mdl_0002::View,
nearDistance : 0.0f,
farDistance : 100.0f
).tint,
refraction_glossiness : 1.0f,
refraction_ior : 1.517f,
invert_refraction_ior : false,
refraction_dispersion_on : false,
refraction_dispersion : 50.0f,
refraction_fogColor : color(0.721569,0.882353,0.819608),
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_blinn,
brdf_useRoughness : ::templates::mdl_0003::brdf_glossiness,
anisotropy : 0.0f,
anisotropy_rotation : 0.0f,
anisotropy_channel : 1,
texmap_opacity : 1.0f
);