Announcement

Collapse
No announcement yet.

blending grass into the landscape material.

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

    blending grass into the landscape material.

    I've read a number of post asking similar things but couldn't fine an answer as to how to reference the color of the landscape your grass is on and blend it. Does anyone have any idea how to do this?
    Current Projects -Cat Interstellar
    Lead Developer - Ionized Games

    #2
    The normals of your low poly grass model should be pointing up, that way is hard to see it as a separate mesh and it looks more natural when it's placed on the ground. As for the color, you can put what ever your need to fit your style of your game, you can always tweak the color as a material instance after the texture is done anyway.
    Grab my FREE Master Material here! @・ω・@

    My Store! (ノ◕ヮ◕)ノ*:・゚✧

    UNF Games Store! 彡゚◉ω◉ )つー☆*

    My Portfolio! (((o(*°▽°*)o)))

    Comment


      #3
      the vertex normals of the mesh? I can overlay a color but is there a way to blend brown into the grass if it's on mud and green if it's on leafs? Somehow it would have to reference which layer is painted on the terrain. I'm not sure how though.
      Current Projects -Cat Interstellar
      Lead Developer - Ionized Games

      Comment


        #4
        In the 3d package you are modeling you can edit the Normals and then make then point to Z up. I use 3ds max but i'm sure any other 3d package can do it.
        Grab my FREE Master Material here! @・ω・@

        My Store! (ノ◕ヮ◕)ノ*:・゚✧

        UNF Games Store! 彡゚◉ω◉ )つー☆*

        My Portfolio! (((o(*°▽°*)o)))

        Comment


          #5
          Think you mean something like this?
          https://forums.unrealengine.com/show...olor-for-grass

          Comment


            #6
            no, that's an interesting forum but their solution isn't what I'm looking for. They just took a screen shot of the terrain and used that to blend the grass. I'm trying to get something that updates real time as you paint the terrain.
            Current Projects -Cat Interstellar
            Lead Developer - Ionized Games

            Comment


              #7
              I think some raycast collision on terrain could work to determine the diffuse color where a grass piece is above ?

              Comment


                #8
                I JUST got UE4 tonight, but in UDK I would:


                to get:

                Comment


                  #9
                  oh wait you mean you want real time change as you paint layers? like one color for one layer and another color for another layer in real time update? I doubt that is possible.
                  If I was worried more about grass color per layer than just having an acceptable variation then I would:
                  create new meshes for each layer and use same method with MIC switches for variation texture then just paint each discrete mesh wherever the desired layers occurred.

                  Comment

                  Working...
                  X