Announcement

Collapse
No announcement yet.

Blend static mesh texture with landscape texture

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Blend static mesh texture with landscape texture

    Greetings Everyone,

    I am trying to blend my static mesh texture with landscape texture. So my question is

    1. Is it possible to blend static mesh texture position with terrain texture position?

    As of right now I did vertex paint and tried to match the landscape texture by tiling my static texture to the landscape but it's absolutely disaster. So is there a possible way around to get rid of this problem?

    This is the issue right now that I am facing.
    Click image for larger version

Name:	2yzmtew.png
Views:	1
Size:	669.1 KB
ID:	1138112


    Cheers,

    Jalay Bhatti
    Intern Material/Level artist @ DSK GREEN ICE GAMES

    #2
    Bump..........
    Intern Material/Level artist @ DSK GREEN ICE GAMES

    Comment


      #3
      The key is the world aligned texture.

      https://docs.unrealengine.com/latest...alignedtexture

      Use that for your landscape material. Then take the same values, set that as the material to vertex blend to. And now she you place your static meshes, paint the area the mesh intersects with the terrain.

      Now it will work better with geo that is at a shallower angle. You might have to tweak your static mesh geo a little.

      Comment


        #4
        Originally posted by TimeSpirit View Post
        The key is the world aligned texture.

        https://docs.unrealengine.com/latest...alignedtexture

        Use that for your landscape material. Then take the same values, set that as the material to vertex blend to. And now she you place your static meshes, paint the area the mesh intersects with the terrain.

        Now it will work better with geo that is at a shallower angle. You might have to tweak your static mesh geo a little.
        I tried your suggestion but at some places it feels that it is matching and at some other place it's not!!. This is now getting above my head. Here are some of the images

        At this place it's not matching at all
        Click image for larger version

Name:	2u76m9v.png
Views:	1
Size:	460.2 KB
ID:	1056311

        Some unusual tiling artifact, oh btw this problem comes only when I use world align texture. If I discard world align and use the regular texture, tiling artifact goes away.
        Click image for larger version

Name:	343g2n5.png
Views:	1
Size:	483.8 KB
ID:	1056312

        As you can see in this, its somewhat matching the ground texture but there are still some unusual tiling artifacts.
        Click image for larger version

Name:	oa6vqs.png
Views:	1
Size:	312.6 KB
ID:	1056313

        Well I am still looking into it. I am running out of ideas but still trying my very best for solve it. Thank you for your advise

        Cheers,

        Jalay Bhatti
        Intern Material/Level artist @ DSK GREEN ICE GAMES

        Comment


          #5
          Bump......

          Comment


            #6
            anyone?
            Intern Material/Level artist @ DSK GREEN ICE GAMES

            Comment


              #7
              For the world aligned texture to work perfectly it requires your mesh to be more or less perfectly unwrapped. Lets say you have a plane that is unwrapped covering the whole UI space, it would match ground texture pretty much perfectly if you use the world aligned texture. But like your case, where the mesh have a lot of geometry, it will align it but then the unwrapping will pull it out of shape and mess up the alignment. So you're best off using this and then having a few intersecting simpler planes that you place individually to reduce seams. I think Hourences did something like this in the level building Solus video on youtube.

              Comment


                #8
                Originally posted by Sitrec View Post
                For the world aligned texture to work perfectly it requires your mesh to be more or less perfectly unwrapped. Lets say you have a plane that is unwrapped covering the whole UI space, it would match ground texture pretty much perfectly if you use the world aligned texture. But like your case, where the mesh have a lot of geometry, it will align it but then the unwrapping will pull it out of shape and mess up the alignment. So you're best off using this and then having a few intersecting simpler planes that you place individually to reduce seams. I think Hourences did something like this in the level building Solus video on youtube.
                Thank you for your feedback. I will test it and will get back on this tomorrow.

                Cheers,

                Jalay Bhatti
                Intern Material/Level artist @ DSK GREEN ICE GAMES

                Comment

                Working...
                X