[SOLVED] Texture with invisible background bug in mod

Discussion in 'Content Creation' started by Egorka31, Oct 22, 2021.

  1. Egorka31

    Egorka31
    Expand Collapse

    Joined:
    Jan 19, 2019
    Messages:
    36
    [SOLVED] I need a help! (In some materials codes texture is black) Material code:

    singleton Material(damage22)
    {
    mapTo = "damage22";
    diffuseMap[1] = "vehicles/tjeep/nodamage.png";
    specularMap[1] = "vehicles/tjeep/nodamage.png";
    normalMap[1] = "vehicles/tjeep/nodamage.png";
    diffuseMap[0] = "vehicles/common/null.dds";
    specularMap[0] = "vehicles/common/null.dds";
    normalMap[0] = "vehicles/tjeep/nodamage.png";
    specularPower[0] = "128";
    pixelSpecular[0] = "1";
    specularPower[1] = "32";
    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";
    dynamicCubemap = true;
    materialTag0 = "beamng"; materialTag1 = "vehicle";
    };
     

    Attached Files:

    • screenshot_2021-10-22_23-37-38.png
    #1 Egorka31, Oct 22, 2021
    Last edited: Oct 22, 2021
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice