
singleton Material(midsize_red)
{
    mapTo = "midsize_red";
    diffuseMap[1] = "vehicles/midsize/midsize_s.dds";
    specularMap[1] = "vehicles/midsize/midsize_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 0 0 0.6";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize)
{
    mapTo = "midsize";
    normalMap[2] = "vehicles/midsize/midsize_n.dds";
    normalMap[1] = "vehicles/midsize/midsize_n.dds";
    normalMap[0] = "/vehicles/trysil/midsize_n.dds";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0.722649932";
   roughnessFactor[1] = "0.722649932";
   baseColorMap[0] = "/vehicles/trysil/midsize_d.dds";
   baseColorMap[1] = "vehicles/midsize/midsize_d.dds";
   baseColorMap[2] = "vehicles/midsize/midsize_c.dds";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
};

singleton Material(midsize_interior)
{
    mapTo = "midsize_interior";
    diffuseMap[1] = "vehicles/midsize/midsize_interior_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_interior_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_interior_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/midsize/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_interior_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    cubemap = "global_cubemap_metalblurred";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_seats)
{
    mapTo = "midsize_seats";
    diffuseMap[1] = "vehicles/midsize/midsize_seats_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_seats_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_seats_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/midsize/midsize_seats_s.dds";
    normalMap[0] = "vehicles/midsize/midsize_seats_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    cubemap = "global_cubemap_metalblurred";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_gauges_on)
{
    mapTo = "midsize_gauges_on";
	diffuseMap[2] = "vehicles/midsize/midsize_gauges_g.dds";
    diffuseMap[1] = "vehicles/midsize/midsize_gauges_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_gauges_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[0] = "vehicles/midsize/midsize_gauges_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
	emissive[1] = "0";
	emissive[2] = "1";
	glow[1] = "0";
	glow[2] = "1";
    cubemap = "global_cubemap_metalblurred";
    instanceDiffuse[2] = false;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_gauges_off)
{
    mapTo = "midsize_gauges_off";
    diffuseMap[1] = "vehicles/midsize/midsize_gauges_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_gauges_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[0] = "vehicles/midsize/midsize_gauges_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    cubemap = "global_cubemap_metalblurred";
    instanceDiffuse[2] = false;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_gauges)
{
    mapTo = "midsize_gauges";
    diffuseMap[1] = "vehicles/midsize/midsize_gauges_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_gauges_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/midsize/midsize_gauges_s.dds";
    normalMap[0] = "vehicles/midsize/midsize_gauges_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    cubemap = "global_cubemap_metalblurred";
    instanceDiffuse[2] = false;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(ibishu_v6)
{
    mapTo = "ibishu_v6";
    normalMap[1] = "vehicles/midsize/ibishu_v6_n.dds";
    normalMap[0] = "/vehicles/trysil/ibishu_v6_n.dds";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0.722649932";
   roughnessFactor[1] = "0.722649932";
   baseColorMap[0] = "/vehicles/trysil/ibishu_v6_d.dds";
   baseColorMap[1] = "vehicles/midsize/ibishu_v6_d.dds";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
};

singleton Material(coupe_engine)
{
    mapTo = "coupe_engine";
    normalMap[0] = "/vehicles/trysil/coupe_engine_n.dds";
    pixelSpecular[0] = "1";
    castShadows = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0.722649932";
   baseColorMap[0] = "/vehicles/trysil/coupe_engine_d.dds";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
};

singleton Material(midsize_chrome)
{
    mapTo = "midsize_chrome";
    diffuseMap[1] = "vehicles/midsize/midsize_s.dds";
    specularMap[1] = "vehicles/midsize/midsize_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "0.5 0.5 0.5 0.1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_dark)
{
    mapTo = "midsize_dark";
    diffuseColor[0] = "0.14 0.14 0.14 1";
    specular[0] = "0.9 0.9 0.9 1";
    specularPower[0] = "40";
    translucentBlendOp = "None";
};

singleton Material(midsize_beige)
{
    mapTo = "midsize_beige";
    diffuseColor[0] = "0.28 0.27 0.26 1";
    specular[0] = "0.9 0.9 0.9 1";
    specularPower[0] = "40";
    translucentBlendOp = "None";
};

singleton Material(midsize_glass)
{
    mapTo = "midsize_glass";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    castShadows = "1";
    translucent = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   activeLayers = "2";
   roughnessFactor[0] = "0";
   roughnessFactor[1] = "0";
   baseColorMap[0] = "/vehicles/trysil/midsize_glass_d.dds";
   baseColorMap[1] = "/vehicles/trysil/midsize_glass_da.dds";
   baseColorFactor[1] = "1 1 1 0.75";
   opacityFactor[0] = "0.193000004";
   opacityFactor[1] = "0.842999995";
   metallicFactor[0] = "1";
   metallicFactor[1] = "1";
   translucentBlendOp = "PreMulAlpha";
};

singleton Material(midsize_glass_int)
{
    mapTo = "midsize_glass_int";
	diffuseMap[1] = "vehicles/midsize/midsize_glass_da.dds";
    diffuseMap[0] = "vehicles/common/null2.dds";
    specularMap[0] = "vehicles/common/null.dds";
    specularPower[0] = "128";
    diffuseColor[0] = "0.0 0.0 0.0 0.5";
    specularColor[0] = "0.5 0.5 0.5 0.5";
    useAnisotropic[0] = "1";
    castShadows = "0";
    translucent = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = false;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_glass_dmg)
{
    mapTo = "midsize_glass_dmg";
    normalMap[0] = "vehicles/common/glass_dmg_n.dds";
    castShadows = "1";
    translucent = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   activeLayers = "2";
   roughnessFactor[0] = "0";
   roughnessFactor[1] = "0";
   clearCoatFactor[1] = "0";
   opacityMap[1] = "/vehicles/trysil/midsize_glass_dmg_d.dds";
   translucentBlendOp = "PreMulAlpha";
   version = "1.5";
   baseColorMap[0] = "/vehicles/trysil/midsize_glass_dmg_da.dds";
   baseColorMap[1] = "/vehicles/trysil/midsize_glass_dmg_d.dds";
   baseColorFactor[0] = "1.5 1.5 1.5 1";
   opacityFactor[0] = "0";
   metallicFactor[1] = "1";
   clearCoatRoughnessFactor[1] = "0";
};

singleton Material(midsize_windshield_dmg)
{
    mapTo = "midsize_windshield_dmg";
    normalMap[0] = "vehicles/common/windshield_dmg_n.dds";
    castShadows = "1";
    translucent = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0";
   baseColorMap[0] = "/vehicles/trysil/midsize_glass_dmg_d.dds";
   baseColorMap[1] = "/vehicles/trysil/midsize_glass_dmg_d.dds";
   baseColorFactor[0] = "1.5 1.5 1.5 1";
   opacityFactor[0] = "0.0689999983";
   metallicFactor[0] = "1";
   clearCoatRoughnessFactor[0] = "0";
   translucentBlendOp = "PreMulAlpha";
};

singleton Material(midsize_lights)
{
    mapTo = "midsize_lights";
    diffuseMap[1] = "vehicles/midsize/midsize_lights_d.dds";
    specularMap[1] = "vehicles/common/null.dds";
    normalMap[1] = "vehicles/midsize/midsize_lights_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_lights_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    diffuseColor[1] = "1.5 1.5 1.5 1";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lights_on)
{
    mapTo = "midsize_lights_on";
	diffuseMap[2] = "vehicles/midsize/midsize_lights_g.dds";
	diffuseMap[1] = "vehicles/midsize/midsize_lights_d.dds";
    specularMap[1] = "vehicles/common/null.dds";
    normalMap[1] = "vehicles/midsize/midsize_lights_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_lights_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
	emissive[1] = "1";
	emissive[2] = "1";
	glow[1] = "0";
	glow[2] = "1";
    translucentBlendOp = "None";
	
    alphaTest = "0";
    alphaRef = "0";
    diffuseColor[1] = "1.5 1.5 1.5 1";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lights_on_intense)
{
    mapTo = "midsize_lights_on_intense";
	diffuseMap[2] = "vehicles/midsize/midsize_lights_g.dds";
    diffuseMap[1] = "vehicles/midsize/midsize_lights_d.dds";
    specularMap[1] = "vehicles/common/null.dds";
    normalMap[1] = "vehicles/midsize/midsize_lights_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_lights_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
	emissive[2] = "1";
	emissive[1] = "1";
	glow[1] = "1";
	glow[2] = "1";
    diffuseColor[1] = "1.5 1.5 1.5 1";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};




singleton Material(midsize_lights_dmg)
{
    mapTo = "midsize_lights_dmg";
    diffuseMap[1] = "vehicles/midsize/midsize_lights_d.dds";
    specularMap[1] = "vehicles/common/null.dds";
    normalMap[1] = "vehicles/midsize/midsize_lights_n.dds";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/midsize/midsize_lights_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    diffuseColor[1] = "1.5 1.5 1.5 1";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lightcovers)
{
    mapTo = "midsize_lightcovers";
    reflectivityMap[0] = "vehicles/midsize/midsize_lightcovers_r.dds";
    diffuseMap[0] = "vehicles/midsize/midsize_lightcovers_d.dds";
    specularMap[0] = "vehicles/common/null_s.dds";
    diffuseMap[1] = "vehicles/common/invisible.dds";
    specularMap[1] = "vehicles/midsize/null.dds";
	normalMap[0] = "vehicles/midsize/midsize_lightcovers_n.dds";
	normalMap[1] = "vehicles/midsize/midsize_lightcovers_n.dds";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "128";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 0.75";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "0";
    translucent = "1";
	doubleSided = "0";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lightcovers_on)
{
    mapTo = "midsize_lightcovers_on";
    reflectivityMap[0] = "vehicles/midsize/midsize_lightcovers_r.dds";
    diffuseMap[0] = "vehicles/midsize/midsize_lightcovers_d.dds";
    specularMap[0] = "vehicles/common/null_s.dds";
    diffuseMap[1] = "vehicles/common/invisible.dds";
    specularMap[1] = "vehicles/midsize/null.dds";
	normalMap[0] = "vehicles/midsize/midsize_lightcovers_n.dds";
	normalMap[1] = "vehicles/midsize/midsize_lightcovers_n.dds";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "128";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 0.75";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "0";
    translucent = "1";
	emissive[0] = "0";
	emissive[1] = "0";
	glow[0] = "0";
	glow[1] = "0";
	doubleSided = "1";
    alphaTest = "0";
    alphaRef = "0";
	translucentBlendOp = "lerpAlpha";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lightcovers_on_intense)
{
    mapTo = "midsize_lightcovers_on_intense";
    reflectivityMap[0] = "vehicles/midsize/midsize_lightcovers_r.dds";
    diffuseMap[0] = "vehicles/midsize/midsize_lightcovers_d.dds";
    specularMap[0] = "vehicles/common/null_s.dds";
    diffuseMap[1] = "vehicles/common/invisible.dds";
    specularMap[1] = "vehicles/midsize/null.dds";
	normalMap[0] = "vehicles/midsize/midsize_lightcovers_n.dds";
	normalMap[1] = "vehicles/midsize/midsize_lightcovers_n.dds";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "128";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 0.75";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "0";
    translucent = "1";
	emissive[0] = "0";
	emissive[1] = "0";
	glow[0] = "0";
	glow[1] = "0";
	doubleSided = "1";
    alphaTest = "0";
    alphaRef = "0";
	translucentBlendOp = "addAlpha";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};



singleton Material(midsize_lightcovers_dmg)
{
    mapTo = "midsize_lightcovers_dmg";
    reflectivityMap[0] = "vehicles/midsize/midsize_lightcovers_dmg_r.dds";
    diffuseMap[0] = "vehicles/midsize/midsize_lightcovers_dmg_d.dds";
    specularMap[0] = "vehicles/common/null_s.dds";
    diffuseMap[1] = "vehicles/common/invisible.dds";
    specularMap[1] = "vehicles/midsize/null.dds";
	normalMap[0] = "vehicles/midsize/midsize_lightcovers_dmg_n.dds";
	normalMap[1] = "vehicles/midsize/midsize_lightcovers_dmg_n.dds";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "128";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 0.75";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "0";
    translucent = "1";
	doubleSided = "1";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(midsize_lettering)
{
    mapTo = "midsize_lettering";
    diffuseMap[0] = "vehicles/midsize/midsize_lettering_o.dds";
    specularMap[0] = "vehicles/midsize/midsize_lettering_s.dds";
    normalMap[0] = "vehicles/midsize/midsize_lettering_n.dds";
    diffuseMap[1] = "vehicles/midsize/midsize_lettering_d.dds";
    specularMap[1] = "vehicles/midsize/midsize_lettering_s.dds";
    normalMap[1] = "vehicles/midsize/midsize_lettering_n.dds";
    specularPower[0] = "16";
    pixelSpecular[0] = "1";
    specularPower[1] = "16";
    pixelSpecular[1] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1.3 1.3 1.3 0.6";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    castShadows = "0";
    translucent = "1";
    //translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "beamng"; materialTag1 = "vehicle"; materialTag2 = "decal";
    //translucentZWrite = "1";
};

singleton Material(color)
{
    mapTo = "color";
    normalMap[2] = "vehicles/trysil/color_n.png";
    normalMap[1] = "vehicles/trysil/color_n.png";
    normalMap[0] = "vehicles/trysil/color_n.png";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    pixelSpecular[2] = "1";
    //diffuseColor[3] = "1.5 1.5 1.5 1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[1] = "0.607767701";
   roughnessFactor[2] = "0.445299804";
   baseColorMap[0] = "vehicles/common/null.dds";
   baseColorMap[1] = "vehicles/trysil/color_d.png";
   baseColorMap[2] = "vehicles/trysil/color_c.png";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   clearCoatRoughnessFactor[0] = "0";
   colorPaletteMap[0] = "/vehicles/common/paint/main_p.color.dds";
   doubleSided = "1";
   invertBackFaceNormals = "0";
};

singleton Material(trysil_detail)
{
    mapTo = "trysil_detail";
    specular[0] = "0.5 0.5 0.5 1";
    translucentBlendOp = "None";
    normalMap[0] = "vehicles/trysil/trysil_detail_nm.png";
    materialTag1 = "vehicle";
    materialTag0 = "beamng";
   version = "1.5";
   roughnessFactor[0] = "0.549030423";
   baseColorMap[0] = "vehicles/trysil/trysil_detail_dm.png";
   baseColorFactor[0] = "0.524605989 0.524605989 0.524605989 1";
   baseColorFactor[1] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   baseColorFactor[2] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
   doubleSided = "1";
};

singleton Material(wheel)
{
    mapTo = "wheel";
    specular[0] = "0.5 0.5 0.5 1";
    translucentBlendOp = "None";
    normalMap[0] = "vehicles/trysil/car_gen_tir_nm.png";
    materialTag1 = "vehicle";
    materialTag0 = "beamng";
   version = "1.5";
   roughnessFactor[0] = "0.549030423";
   baseColorMap[0] = "vehicles/trysil/car_gen_tir_dm.png";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   baseColorFactor[1] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   baseColorFactor[2] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
};

singleton Material(doorshut)
{
    mapTo = "doorshut";
    normalMap[2] = "vehicles/trysil/car_sht_nm.png";
    normalMap[1] = "vehicles/trysil/car_sht_nm.png";
    normalMap[0] = "vehicles/trysil/car_sht_nm.png";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    pixelSpecular[2] = "1";
    //diffuseColor[3] = "1.5 1.5 1.5 1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[1] = "0.607767701";
   roughnessFactor[2] = "0.445299804";
   baseColorMap[0] = "vehicles/common/null.dds";
   baseColorMap[1] = "vehicles/trysil/car_sht_dm.png";
   baseColorMap[2] = "vehicles/trysil/color_c.png";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   clearCoatRoughnessFactor[0] = "0";
   colorPaletteMap[0] = "/vehicles/common/paint/main_p.color.dds";
   doubleSided = "1";
   invertBackFaceNormals = "1";
};

singleton Material(interior)
{
   mapTo = "interior";
   specular[0] = "0.5 0.5 0.5 1";
   translucentBlendOp = "None";
   //normalMap[0] = "vehicles/trysil/vehicle_generic_interior_nm.png";
   materialTag0 = "Miscellaneous";
   version = "1.5";
   roughnessFactor[0] = "0.550999999";
   baseColorMap[0] = "vehicles/trysil/vehicle_generic_interior.png";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
   doubleSided = "1";
   invertBackFaceNormals = "1";
};

singleton Material(trysil_lights)
{
   mapTo = "trysil_lights";
    specular[0] = "0.5 0.5 0.5 1";
    translucentBlendOp = "None";
    //normalMap[0] = "vehicles/trysil/trysil_detail_nm.png";
    materialTag1 = "vehicle";
    materialTag0 = "beamng";
   version = "1.5";
   roughnessFactor[0] = "0.453999996";
   baseColorMap[0] = "vehicles/trysil/car_trysil_lights.png";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   baseColorFactor[1] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   baseColorFactor[2] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   metallicFactor[0] = "0";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
};

singleton Material(trysil_lights_off)
{
   mapTo = "trysil_lights_off";
    specular[0] = "0.5 0.5 0.5 1";
    translucentBlendOp = "None";
    //normalMap[0] = "vehicles/trysil/trysil_detail_nm.png";
    materialTag1 = "vehicle";
    materialTag0 = "beamng";
   version = "1.5";
   roughnessFactor[0] = "0.456";
   baseColorMap[0] = "vehicles/trysil/car_trysil_lights.png";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   baseColorFactor[1] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   baseColorFactor[2] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   metallicFactor[0] = "0";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
};

singleton Material(trysil_lights_on)
{
   mapTo = "trysil_lights_on";
    specular[0] = "0.5 0.5 0.5 1";
    translucentBlendOp = "None";
    //normalMap[0] = "vehicles/trysil/trysil_detail_nm.png";
    glow[0] = "0";
    materialTag1 = "vehicle";
    materialTag0 = "beamng";
   version = "1.5";
   baseColorMap[0] = "vehicles/trysil/car_trysil_lights.png";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   baseColorFactor[1] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   baseColorFactor[2] = "0.00392156979 0.00392156979 0.00392156979 0.00800000038";
   emissiveFactor[0] = "24.3137264 24.3137264 24.3137264";
   emissiveMap[0] = "vehicles/trysil/car_trysil_lights.png";
   roughnessFactor[0] = "0.453999996";
   clearCoatFactor[0] = "1";
   dynamicCubemap = "1";
};



singleton Material(pessima)
{
    mapTo = "pessima";
    diffuseMap[2] = "vehicles/pessima/pessima_c.dds";
    specularMap[2] = "vehicles/pessima/pessima_s.png";
    normalMap[2] = "vehicles/pessima/pessima_n.png";
    diffuseMap[1] = "vehicles/pessima/pessima_d.png";
    specularMap[1] = "vehicles/pessima/pessima_s.png";
    normalMap[1] = "vehicles/pessima/pessima_n.png";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/pessima/pessima_s.png";
    normalMap[0] = "vehicles/pessima/pessima_n.png";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "32";
    pixelSpecular[1] = "1";
    specularPower[2] = "128";
    pixelSpecular[2] = "1";
    diffuseColor[0] = "1 1 1 1";
    diffuseColor[1] = "1 1 1 1";
    diffuseColor[2] = "1 1 1 1";
    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "BNG_Sky_02_cubemap";
    instanceDiffuse[2] = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(pessima_engine)
{
    mapTo = "pessima_engine";
    normalMap[0] = "vehicles/common/pessima_engine_n.dds";
    diffuseMap[0] = "vehicles/common/pessima_engine_d.dds";
    specularMap[0] = "vehicles/common/pessima_engine_s.dds";
    diffuseColor[0] = "1 1 1 1";
    specularPower[0] = "32";
    useAnisotropic[0] = "1";
    castShadows = "1";
    translucent = "0";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true; //cubemap = "global_cubemap_metalblurred";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
};


singleton Material(Color2)
{
   mapTo = "color2";
   version = "1.5";
   metallicFactor[0] = "1";
   clearCoatFactor[0] = "1";
   clearCoatRoughnessFactor[0] = "0";
   dynamicCubemap = "1";
   colorPaletteMap[0] = "/vehicles/common/paint/main_p.color2.dds";
   doubleSided = "1";
   invertBackFaceNormals = "1";
   translucentBlendOp = "None";
};
