[Unreal 4] Terrain Blending Tool (inspired by Star Wars: Battlefront)

2

Replies

  • Olmo
    Offline / Send Message
    Olmo polygon
    PaulH said:
    Cool work, Olmo!

     Could you tell me if you're still able to have 'Generate Distance Fields' checked for the rock mesh?
    Yeah, the rock still generates Distance fields :)
  • PaulH
    Offline / Send Message
    PaulH polycounter lvl 5
    Thanks for the reply man!
  • Michael Knubben
  • Olmo
    Offline / Send Message
    Olmo polygon
    @MightyPea That tool is not developed by me :). Apparently, someone was inspired to make a terrain-blending tool after reading about my progress (it's mentioned here https://80.lv/articles/free-solution-for-blending-meshes-into-landscape/). There are some differences in implementation but you should definitely check out his tool if you're interested in this stuff. :D
  • Michael Knubben
    Oops!
    Suppose I should've spent more time looking at the names.
    Looking forward to seeing your implementation soon, then!
  • Mant1k0re
    Offline / Send Message
    Mant1k0re polycounter lvl 3
    That gumroad link isn't working; Olmo's material seems nice but I'm hoping the alternative works with 4.14. Either way thank you for working on this it's very cool.
  • heyeye
    Offline / Send Message
    heyeye polycounter lvl 4
    Mant1k0re said:
    That gumroad link isn't working; Olmo's material seems but I'm hoping the alternative works with 4.14. Either way thank you for working on this it's very cool.
    The link inside the 80.lv article works.
    Here it is: https://gumroad.com/l/BVVFy

    The article also says to have ‘Generate Mesh Distance Fields’ in your project setting enabled and also uncheck “Affect Distance Field” on Static Mesh to make the material work.
  • duke
    Offline / Send Message
    duke polycounter lvl 7
    The gumroad version isn't ideal as it uses the pixel offset/temporal AA to work which looks very odd at certain angles (and also requires the material to be masked/transparent).
  • Clark Coots
    Offline / Send Message
    Clark Coots polycounter lvl 6
    Awesome terrain blending tech Olmo!
  • wickdsickk
    any news on the release of this? :)
  • V_R
    Offline / Send Message
    V_R null
    So I've been stalking Polycount in general, but specifcally this thread, for quite some time now, just lurking. I decided it was time to show some support here. It's absolutely amazing and looks gorgeous. Does it rely on vertices being near the terrain intersection, though? I had a thing in Unity which did this, but it required the interesection with terrain to have a line of verts so it could use vertex colors, or something like that.
    I'm absolutely looking forward to release, keep us updated! :smiley:
  • Olmo
    Offline / Send Message
    Olmo polygon
    Hey guys, sorry for the long silence but the tool is pretty much finished .

    I haven't managed to work out all the kinks, since Distance Fields can be pretty unstable. Now I'm working on the video tutorial. It's important to me that I release this tutorial together with the tool since there are a lot of things to take into account with the tool. The problem is that I just started an internship at a video game company in Valencia and that my current apartment doesn't have internet, this has somewhat impeded my progress . I'm moving into a new apartment the 1st of March, so after that I should be able to finish the tutorial .

    Sorry to keep you guys waiting but I don't just want to release this into the wild without documentation . It's definitely still going to be free, so don't worry about that!
  • V_R
    Offline / Send Message
    V_R null
    Olmo said:
    Hey guys, sorry for the long silence but the tool is pretty much finished .

    I haven't managed to work out all the kinks, since Distance Fields can be pretty unstable. Now I'm working on the video tutorial. It's important to me that I release this tutorial together with the tool since there are a lot of things to take into account with the tool. The problem is that I just started an internship at a video game company in Valencia and that my current apartment doesn't have internet, this has somewhat impeded my progress . I'm moving into a new apartment the 1st of March, so after that I should be able to finish the tutorial .

    Sorry to keep you guys waiting but I don't just want to release this into the wild without documentation . It's definitely still going to be free, so don't worry about that!
    Awesome, thanks for the update! I'm still patiently stalking this thread :3 Polycount gained a lurker thanks to you. Either way, I'd probably even get it as paid asset, but really appreciate you releasing it for free. Don't worry about the dates and timelines, it's just nice to know what's going on.
    Looking forward to the release :smiley:
    Thanks <3
  • NodrawNT
    Offline / Send Message
    NodrawNT polycounter lvl 2
    Even if you release it for free, I'd gladfully give a few dollars as donation once you release it, it's looking great !
  • Kerub
    Offline / Send Message
    Kerub polycounter lvl 2
    Any news on this? The hype never ends.  :D
  • t_beaugelin
    Hey guys ! I've been following this thread for a long time now, and even made a Poly account for it (and for other things, but this is the main reason :wink: ) And was wondering if there was anything new ? Any release date maybe ?
    BTW, thanks for the great work Olmo ! 
  • bigodon
    Offline / Send Message
    bigodon polycounter lvl 2
    let me follow this close, i'm looking forward to something like this and improve the blending on 2 surfaces with something great like this
    awesome work olmo, can't wait!!!
  • Fisher007
    Offline / Send Message
    Fisher007 polycounter lvl 4
    I had such high hopes for this thing so please Olmo, don't abandon us puny humans!  :# Don't worry about the tutorials, they would be unbelievably awesome, but having a working example is so much more important IMO. :)
  • wickdsickk
    reviving this post, im assuming he didnt want to share it after all, but has anyone else any clue on how to achieve this? it would be extremely helpful :)
  • dovahkiin009087
    I found out how to do it guys!!! Each of those pictures had 2 assets in each. A landscape and a plane that is rotated. If you want to know how just say so, dont know if people even still follow this
  • Gannon
    Offline / Send Message
    Gannon polycounter lvl 8
    Definitely share if you've got a set up, would love a breakdown.
  • Maximum-Dev
    Offline / Send Message
    Maximum-Dev Polycount Sponsor
    dovahkiin009087, Whaaat am I looking at? I see a plane floating on another one but my brain can't connect the dots here.
  • Michael Knubben
    f you want to know how just say so
    @dovahkiin009087
    Don't tease. This entire thread is full of 'omg when is this coming out?!11!?'.
    Either post what you've found, or don't post anything at all.
  • dovahkiin009087
    Hello all, sorry about disappearing like that. I didnt get any notifications or anything and i didnt check the site because i have been working. I just though people had stopped caring.
    Maximum-Dev, Yes exactly. Its one plane at about 15 degree angle to a terrain. They both have world aligned textures assigned with a dither temporal AA. Its simple but it actually works. The pictures dont really do it justice at all, but the results arent bad at all. The one thing is if you have very specific lighting on a very odd looking mesh with a ton of different slope angles it gets kind of funky. But sofar on just regular items like a plane bent, or a tree with a base that is curved outward and down, its almost not noticeable at all, even when you get really close. 
    Let me post more pictures and my material set up. As i said its nothing complex at all, but it works.
  • Maximum-Dev
    Offline / Send Message
    Maximum-Dev Polycount Sponsor
    Hello all, sorry about disappearing like that. I didnt get any notifications or anything and i didnt check the site because i have been working. I just though people had stopped caring.
    Maximum-Dev, Yes exactly. Its one plane at about 15 degree angle to a terrain. They both have world aligned textures assigned with a dither temporal AA. Its simple but it actually works. The pictures dont really do it justice at all, but the results arent bad at all. The one thing is if you have very specific lighting on a very odd looking mesh with a ton of different slope angles it gets kind of funky. But sofar on just regular items like a plane bent, or a tree with a base that is curved outward and down, its almost not noticeable at all, even when you get really close. 
    Let me post more pictures and my material set up. As i said its nothing complex at all, but it works.
    World aligned textures and DTAA have always been well known. What you have currently done is applying a material to ground and applying the same material to a plane. Of course you'd not have any seams on the materials if the mesh is mostly a flat surface pointing upwards going through the landscape surface like that. The real issues that need to be solved are:

    A) SSAO still leaves large amount of AO at intersections regardless of mesh normals, making the intersection dark to some degree.
    B| Mesh should blend into -ANY- landscape layer it's placed on.

    A I haven't been able to do anything about it, which is really bad. And for B I found zero clue as to how to make it blend automatically into every layer it's placed on but I'm working on it atm trying to minimize the manual work involved while keeping instruction count relatively low.



    ^ You can see it looks fine on the right side, but on the left where it's not under direct light SSAO darkens the mesh intersections. My currently is able to blending the rock into different landscape materials but like I said there's still a bit of manual clicking involved and and the setup is still kinda complex even though it's very organized so no happy times over here but still working on it.  :'(
  • dovahkiin009087
    Hello all, sorry about disappearing like that. I didnt get any notifications or anything and i didnt check the site because i have been working. I just though people had stopped caring.
    Maximum-Dev, Yes exactly. Its one plane at about 15 degree angle to a terrain. They both have world aligned textures assigned with a dither temporal AA. Its simple but it actually works. The pictures dont really do it justice at all, but the results arent bad at all. The one thing is if you have very specific lighting on a very odd looking mesh with a ton of different slope angles it gets kind of funky. But sofar on just regular items like a plane bent, or a tree with a base that is curved outward and down, its almost not noticeable at all, even when you get really close. 
    Let me post more pictures and my material set up. As i said its nothing complex at all, but it works.
    World aligned textures and DTAA have always been well known. What you have currently done is applying a material to ground and applying the same material to a plane. Of course you'd not have any seams on the materials if the mesh is mostly a flat surface pointing upwards going through the landscape surface like that. The real issues that need to be solved are:

    A) SSAO still leaves large amount of AO at intersections regardless of mesh normals, making the intersection dark to some degree.
    B| Mesh should blend into -ANY- landscape layer it's placed on.

    A I haven't been able to do anything about it, which is really bad. And for B I found zero clue as to how to make it blend automatically into every layer it's placed on but I'm working on it atm trying to minimize the manual work involved while keeping instruction count relatively low.



    ^ You can see it looks fine on the right side, but on the left where it's not under direct light SSAO darkens the mesh intersections. My currently is able to blending the rock into different landscape materials but like I said there's still a bit of manual clicking involved and and the setup is still kinda messy even though it's very organized so no happy times over here but still working on it.  :'(
    Yes it is for a very specific thing, but even at 20 degrees or so of a slope it works great. I wasnt trying to make it seem perfect, its not by any means. Very simple stuff is my thing.
  • dovahkiin009087
    Is this setting disabled in your project, and do you have an AO map on your objects? Also are you going baked or fully Dynamic? Also why not just use DFAO

  • dovahkiin009087

    The first picture is with the shader (206 Instructions), the second is the mesh with just a black shader applied to show geometry. As you can see its kind of crazy but doesnt really show up at all as crazy when it has the blend shader with it.
  • dovahkiin009087

    First image is a custom material function to use packed textures in a texture object and have them world aligned, also to change the mask type, just change the component mask to the color you need. Right now its on blue, so you can change it to R,G, or A.
    Second is the landscape material with one texture, and the last picture is the asset material with a texture mask i drew in about .13 seconds in Photoshop to show my point that if you have packaged textures you may want to use and have them work with this shader, you can. Any questions, comments or anything just shout them over. I know its simple but its better than nothing at all.
  • dovahkiin009087
    Anyone find any help with what i posted? Or has anyone expanded on it?
2
Sign In or Register to comment.