Help, decal roads are broken

Discussion in 'Content Creation' started by essej818, Nov 2, 2020.

  1. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    I posted this problem before and thought I figured it out. I had no responses so im posting it here in the levels section this time.

    My decal roads show through other objects. I tried changing every setting with every combination but nothing changes the issue. In the picture, you can see on the left the material settings and on the right, the decal road settings. On the level info settings, everything is set to default except the view distance is set to 6000. Changing that does nothing either. My graphics settings are all on high.
    help.jpg

    What can I do to get these decal roads to behave normally?
     
  2. Eldigan

    Eldigan
    Expand Collapse

    Joined:
    Jan 27, 2017
    Messages:
    22
    Get rid of transparent? One of my road was see-thru so I changed the texture
     
  3. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    I tried that. Unfortunately it didn’t work.
     
  4. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    Render priority settings?
     
  5. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    I tried that too. Even invisible roads ( roads with no material yet) show up. It’s so strange.
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    I cannot see anything wrong in the decal and material settings, so here's some ideas:
    - Is the decal lying on a Terrain object?
    If yes, try to create another decalroad using the same material, and see if the same happens.
    If it's lying on a mesh, it's possible that the material on that mesh are using settings that do not work well in combination with the decal​
    - Sometimes changing decals settings such as Render Priority and others do not have visible effect until reloading the level, so in case you see nothing changing, do a reload.
    - Clear the cache.xxxx folders in your Userfolder, in case something broken got cached there
    - That material on Utah is using Alpha Threshold of 0. Although the Alpha checkbox is disabled, and therefore the Alpha Threshold is not being used, it's worth putting that to zero just in case

    Cheers
     
  7. Trophy

    Trophy
    Expand Collapse

    Joined:
    Aug 26, 2019
    Messages:
    1,644
    try using the old editor
     
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    Note that the editors are just frontend to work on the inner parts of things, such as levels.
    You will still be changing the same exact internal values, despite the editor you use (we recommend the newer, as the old one is unsupported)
     
  9. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    The decal is on the terrain, and all the decal roads end up doing the same thing. I did get it to stop by setting every decal road render priority to 9. For some reason, 9 is the magic number but that makes layering roads with the render priority impossible since they all have to be on 9. I tried the last few steps you mentioned, but the only thing that works for now is to set them all to render priority 9. The strange thing is even roads with no material (invisible road) still show up through objects if it isn't set to 9. They look like white road ghosts, and you can only see them when looking through objects and or trees.
     
  10. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    At this point the process of elimination seems likely. Remove/disable all mods. Delete all cache files. Devs would probably be interested if this is happening with a good clean game. Narrow down to either a mod or decal road application scenario.
     
  11. essej818

    essej818
    Expand Collapse

    Joined:
    Aug 9, 2016
    Messages:
    94
    I did just that. There are no mods installed and a cleared cache. But the issue persists. I am not using any custom decal roads, they are from Utah map. I got it somewhat fixed by changing every render priority to 9. However if I change it to any other number the problem happens again. This makes it difficult to layer roads because there is z fighting with everything on 9
     
  12. LJFHutch

    LJFHutch
    Expand Collapse
    Environment Artist
    BeamNG Team

    Joined:
    Aug 4, 2012
    Messages:
    667
    Check the other materials (bushes, the wall) and see if it happens anywhere else or just with those ones. Transparent Z-write should only ever be enabled for materials that will be projected (like roads), and vegetation shouldn't use normal transparency, only Alpha Threshold. Try putting some rocks or a car in front of the road and seeing if the problem is still there. It's a matter of getting more info so you can locate where the problem is, it might not be the road material or decalroad at all.

    Also don't forget to replace the Utah paths, that can cause issues if those textures are ever updated on our side, renamed, deleted etc. You can quickly fix your paths in notepad++ or similar by opening up all the text files in the level and doing a mass find and replacing "/Utah/" with "/your_level/".
     
  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