Solved LOD has no texture

Discussion in 'World Editor' started by Murokmakto, Jun 16, 2024.

  1. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    281
    Probably self explanatory... Happens on some models. I don´t know why. All of the 5 different walls are modeled exactly the same. Why does the last one has no texture for the low detail lod model? how is that even possible if in blender both have the same texture...

    20240616222359_1.jpg 20240616222402_1.jpg
     
  2. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    682
    Please let me brainstorm:
    Could it be, in Blender your lowest lod object has more than one material slot and the wanted material is not assigned to the faces? (Like in the situation in the picture an unnamed material slot is assigned to the faces but it looks like the right one is selected)
    upload_2024-6-17_1-22-50.png
     
    #2 Barbent Servo GT, Jun 17, 2024
    Last edited: Jun 17, 2024
    • Like Like x 1
  3. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    281
    Thank you for the reply! This is how it looks like in Blender: both block_wall5_glass_a50 and block_wall5_glass_a300 have the same material "block_wall5_glass" assigned to them but apparently "..._a50" is the one that shows up wrong ingame.
    Maybe BeamNG doesn´t like non texture based materials? But then again, a300 would not show work properly either but it does...
    Or something is completely wrong with my setup? But I have done it like that on many assets and it always worked
    upload_2024-6-17_10-30-3.png
     

    Attached Files:

    • 45747467.jpg
  4. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    682
    Well, as I can see you have a mix shader in your material, so that you actually use two materals inside of one? This is no good idea. The dae format only supports basic shaders. Best way is to have a nearly dummy material in Blender with the same name as in BNG. For UV mapping and better visual experience, the Blender material has only the color map to represent the material. The final material will be edited and refined in BeamNG. Blender and BeamNG materials do not have to look the same. Transparency and other special things are not set in the Blender material. Only later in the BeamNG "Material Editor".
    --- Post updated ---
    You can also check out the "Shape Editor" in BeamNG to find specific missing materials or bitmaps.
    --- Post updated ---
    Your object hierarchy and setup look perfect. :)
    --- Post updated ---
    But, well, again it should be the same in any lod - you are right. hmmm...
    --- Post updated ---
    One more brainf***: Do we actually see the by the "bb_autobillboard5" object created imposter? I measured it more than 5 lest than 50 pixels? Is it really the "block_wall_glass_a50" with the problems? Try to delete "bb_autobillboard5".
    Sorry if I have too much thoughts. Please take what you can use :)
     
    #4 Barbent Servo GT, Jun 17, 2024
    Last edited: Jun 17, 2024
    • Like Like x 1
  5. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    281
    Hey, thx. I didn´t knew .dae does not support the mix shader. That makes sense why it is not working. I always tried to make the materials look the same in Blender but you are right, editing in BeamNG is the right way to do it... I switched the mix shader to base color and now it works. The asset gets invisible when it reaches the lod level distance but that is fine in this case since it is transparent for windows etc anyways...

    What I still don´t get is why this faulty workflow was working on some previous assets that had windows aswell.. Anyway it does not really matter since I will do it like that from now on...

    I don´t know what the "bb_autobillboard5" object actually is, it is invisible. I use a pre made blender template for BeamNG I found somewhere here on the forum and I never questioned why it is set up like that...

    Thx for your input!
     
  6. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    554
    • Like Like x 1
  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