singleton Material(custom_guardrail)
{
    mapTo = "unmapped_mat";
    diffuseMap[0] = "custom_guardrail_d.dds";
    materialTag0 = "BeamNG";
    materialTag1 = "custom";
    useAnisotropic[0] = "1";
    castShadows = "1";
    translucent = "0";
    translucentZWrite = "1";
};

singleton Material(custom_guardrail_top)
{
    mapTo = "unmapped_mat";
    diffuseMap[0] = "custom_guardrail_top_d.dds";
    materialTag0 = "BeamNG";
    materialTag1 = "custom";
    useAnisotropic[0] = "1";
    castShadows = "1";
    translucent = "0";
    translucentZWrite = "1";
};