Unsolved Texture invisible/visible issue

Discussion in 'Mod Support' started by schumacher, Jan 30, 2017.

  1. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,053
    Hello, I have a problem again. I wanted to add reflections and transculent to the headlights of my celica. So i added following lines to my texture

    Code:
    singleton Material(hl)
    {
        mapTo = "hl";
        translucent = "0";
        diffuseMap[0] = "vehicles/Celica_Gt_Four/hl.dds";
        specularPower[0] = "128";
        pixelSpecular[0] = "1";
        diffuseColor[0] = "1 1 1 1";
        useAnisotropic[0] = "1";
        castShadows = "0";
        alphaTest = "1";
        alphaRef = "40";
        dynamicCubemap = true;
        materialTag0 = "beamng"; materialTag1 = "vehicle";
    
    };
    okay, so if i let transculent to 0 it works fine just without the transculent.
    screenshot_00001.png
    But if i set the transculent to 1 the headlight glass dissappears; just if you fly with the cam closer or to the sides one of the four headlights are appearing, what did i did wrong? (I copied the code from the 200bx)
    screenshot_00000.png
     
  2. meywue

    meywue
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    325
    Would you mind to send us the mod either here or in a PM? :)
     
  3. schumacher

    schumacher
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    1,053
    I've sent it via PM :)
     
  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