//credit: meo (this is basically just renamed materials from meos turbo 454 mod bc idk how to create my own)

singleton Material(chi_black)
{
    mapTo = "chi_black";
    castShadows = "1";
    translucent = "0";
    doubleSided = "1";


    translucentZWrite = "1";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "0";
    pixelSpecular[2] = "1";



    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";

    dynamicCubemap = true;

    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0";
   roughnessFactor[2] = "0.445299804";
   baseColorMap[0] = "vehicles/common/null.dds";
   baseColorMap[1] = "vehicles/common/null.dds";
   baseColorMap[2] = "vehicles/common/null.dds";
   baseColorFactor[0] = "9.99999997e-07 9.99999997e-07 9.99999997e-07 1";
   baseColorFactor[1] = "0 0 0 0.649999976";
   baseColorFactor[2] = "0.0199999996 0.0199999996 0.0199999996 0.100000001";
};

singleton Material(chi_matblack)
{
    mapTo = "chi_matblack";
    specular[0] = "1 1 1 1";
    doubleSided = "1";
    translucentBlendOp = "None";
    specularStrength[1] = "2";
   version = "1.5";
   roughnessFactor[0] = "0.256000012";
   roughnessFactor[1] = "0.445299804";
   baseColorMap[0] = "/vehicles/pickup/00rammateril/Black.png";
   baseColorFactor[0] = "0.200000003 0.200000003 0.200000003 1";
   specularStrength1 = "2";
};

singleton Material(Meo_Pflow)
{
    mapTo = "Meo_Pflow";
    diffuseColor[0] = "0.5 0.35 0.35 1";
    specular[0] = "1 1 1 1";
    specularPower[0] = "128";
    doubleSided = "1";
    translucentBlendOp = "None";
    diffuseColor[1] = "1 1 1 1";
    specularPower[1] = "128";
    specularStrength[1] = "2";
};


singleton Material(chi_red)
{
    mapTo = "chi_red";
    specular[0] = "1 1 1 1";
    doubleSided = "1";
    translucentBlendOp = "None";
    specularStrength[1] = "2";
    dynamicCubemap ="true";
    cubemap = "BNG_Sky_02_cubemap";
    materialTag0 = "Miscellaneous";
   version = "1.5";
   roughnessFactor[0] = "0";
   roughnessFactor[1] = "0.445299804";
   baseColorFactor[0] = "0.570564985 0 0 1";
   metallicFactor[0] = "1";
   specularStrength1 = "2";
};


singleton Material(chi_Gray)
{
    mapTo = "chi_gray";
    pixelSpecular[0] = "1";
    doubleSided = "1";
    castShadows = "0.5";
    translucent = "0.5";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap ="false";
    materialTag0 = "beamng"; materialTag1 = "vehicle";
    cubemap = "global_cubemap_metalblurred";
   version = "1.5";
   roughnessFactor[0] = "0.445299804";
   baseColorFactor[0] = "0.850000024 0.850000024 0.850000024 1";
   metallicFactor[0] = "1";
};


singleton Material(chi_chromed)
{
    mapTo = "chi_chromed";
    pixelSpecular[0] = "1";
    doubleSided = "1";
    castShadows = "1";
    translucent = "0";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
   version = "1.5";
   roughnessFactor[0] = "0.0689999983";
   roughnessFactor[1] = "0.445299804";
   roughnessFactor[2] = "0.445299804";
   baseColorMap[0] = "vehicles/common/null.dds";
   baseColorMap[1] = "vehicles/common/null.dds";
   baseColorMap[2] = "vehicles/common/null.dds";
   baseColorFactor[1] = "0.00999999978 0.00999999978 0.00999999978 0.0500000007";
   baseColorFactor[2] = "0.699999988 0.699999988 0.699999988 0.0500000007";
   metallicFactor[0] = "1";
   pixelSpecular[1] = "1";
   pixelSpecular[2] = "1";
   translucentZWrite = "1";
   dynamicCubemap = "1";
   materialTag0 = "beamng";
   materialTag1 = "vehicle";
};

singleton Material(chi_painted1)
{
    mapTo = "chi_painted1";
    castShadows = "1";
    translucent = "0";
    doubleSided = "1";

    colorPaletteMap[1] = "Color1.jpg";
    colorPaletteMap[2] = "Color1.jpg";

    translucentZWrite = "1";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    pixelSpecular[2] = "1";



    //useAnisotropic[3] = "1";

    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";

    dynamicCubemap = true;

    //instanceDiffuse[0] = true;
    instanceDiffuse[1] = true;
    instanceDiffuse[2] = true;


    materialTag0 = "beamng"; materialTag1 = "vehicle";
   version = "1.5";
   roughnessFactor[0] = "0";
   roughnessFactor[1] = "0.607767701";
   roughnessFactor[2] = "0.445299804";
   baseColorMap[0] = "/vehicles/common/null.dds";
   baseColorMap[1] = "vehicles/common/null.dds";
   baseColorMap[2] = "vehicles/common/null.dds";
   baseColorFactor[1] = "1 1 1 0.337000012";
   baseColorFactor[2] = "1 1 1 0.419999987";
   instanceDiffuse[0] = "1";
   metallicMap[0] = "/vehicles/common/null.dds";
   roughnessMap[0] = "/vehicles/common/null.dds";
   metallicFactor[0] = "1";
};
singleton Material(chi_painted2)
{
    mapTo = "chi_painted2";
    castShadows = "1";
    translucent = "0";
    doubleSided = "1";

    colorPaletteMap[1] = "Color2.jpg";
    colorPaletteMap[2] = "Color2.jpg";
    diffuseMap[0] = "vehicles/common/null.dds";	
    diffuseMap[1] = "vehicles/common/null.dds";	
    diffuseMap[2] = "vehicles/common/null.dds";	

    translucentZWrite = "1";
    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 0.337"; //0.337
    diffuseColor[2] = "1 1 1 0.42";

    useAnisotropic[0] = "1";
    useAnisotropic[1] = "1";
    useAnisotropic[2] = "1";
    //useAnisotropic[3] = "1";

    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";

    dynamicCubemap = true;

    //instanceDiffuse[0] = true;
    instanceDiffuse[1] = true;
    instanceDiffuse[2] = true;


    materialTag0 = "beamng"; materialTag1 = "vehicle";
};

singleton Material(chi_gaylo)
{
   mapTo = "chi_gaylo";
   pixelSpecular[0] = "0";
   materialTag0 = "beamng"; materialTag1 = "vehicle";
   emissive[0] = "1";
   version = "1.5";
   roughnessFactor[0] = "0";
   baseColorMap[0] = "vehicles/common/null.dds";
   baseColorFactor[0] = "0.996078014 0.996078014 0.996078014 1";
   metallicFactor[0] = "1";
   emissiveFactor[0] = "1 0.999989986 0.999989986";
   emissiveMap[0] = "/vehicles/common/null.dds";
   clearCoatFactor[0] = "1";
   clearCoatRoughnessFactor[0] = "0";
   doubleSided = "1";
   instanceDiffuse[0] = "1";
   instanceEmissive[0] = "1";
   normalMap[0] = "/vehicles/common/null_n.dds";
   metallicMap[0] = "/vehicles/common/null.dds";
   roughnessMap[0] = "/vehicles/common/null.dds";
   ambientOcclusionMap[0] = "/vehicles/common/null.dds";
   clearCoatMap[0] = "/vehicles/common/null.dds";
   opacityMap[0] = "/vehicles/common/null.dds";
   detailMap[0] = "/vehicles/common/null.dds";
   detailNormalMap[0] = "/vehicles/common/null.dds";
};
