Unsolved Road Textures Z-Fighting

Discussion in 'World Editor' started by PowerHausIndustries, Jun 18, 2024.

  1. PowerHausIndustries

    PowerHausIndustries
    Expand Collapse

    Joined:
    Jan 25, 2024
    Messages:
    9
    upload_2024-6-17_23-15-45.png

    I have set up a couple of textures for some roads on my new map and they seem to be Z-Fighting (heights are the same causing the textures to flicker when moving around them). I have changed the renderPriority, zBias and decalBias. Anyone got a fix?
     
  2. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    464
    This is often an issue for me. I might be wrong, but I think there was an issue where it wasn't saving the render priority properly.

    Try looking in the .json file and finding the priority setting and modifying that there. May work.

    Hopefully others here will have an answer.

    Out of interest, is it a large maps you're working on?
     
  3. PowerHausIndustries

    PowerHausIndustries
    Expand Collapse

    Joined:
    Jan 25, 2024
    Messages:
    9
    Thanks, the map is quite large (5x5 miles) and there are a full list of features I don't believe have been done before too
     
  4. Barbent Servo GT

    Barbent Servo GT
    Expand Collapse

    Joined:
    Jun 4, 2023
    Messages:
    312
    Try to activate the Z-Write flag in the materials. Hope this may help :)
     
  5. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    464
    How do you do that? It's been a while for me since I messed with materials. In fact it's been a while since I did any map making at all.

    Thanks in advance.
     
  6. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    158
    material editor>advanced - all layers

    20240620230555_1.jpg
     
    • Like Like x 1
    • Agree Agree x 1
  7. el_ferrito

    el_ferrito
    Expand Collapse

    Joined:
    Sep 30, 2020
    Messages:
    464
    Thanks!
     
  8. PowerHausIndustries

    PowerHausIndustries
    Expand Collapse

    Joined:
    Jan 25, 2024
    Messages:
    9
    I've tried this already, every road texture has "Z-Write" activated and adjusted, still no effect :(
     
  9. Khark

    Khark
    Expand Collapse

    Joined:
    Apr 4, 2023
    Messages:
    65
    Have you tried lerp?
     
  10. PowerHausIndustries

    PowerHausIndustries
    Expand Collapse

    Joined:
    Jan 25, 2024
    Messages:
    9
    I have tried changing the "Alpha Blend Mode" to "LerpAlpha" and it seems to have partially fixed it, thanks
     
  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