Announcement

Collapse
No announcement yet.

River material with distance field flow maps - source blueprint for you!

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

    River material with distance field flow maps - source blueprint for you!

    Hello everyone, I'd like to share my attempt at merging all the things I've read about this material, mainly coming from this older thread https://forums.unrealengine.com/show...Field-Flow-Map
    I think the result is pretty good!

    Result:


    This is the blueprint (UE 4.12!) . I've put as many comments as possible to make it more comprehensible to everyone:
    https://blueprintue.com/blueprint/2y3v8406/

    This is the 4.13 version:
    https://blueprintue.com/blueprint/umgp5qry/

    For the less experienced: remember to set these properties:



    NOTE: There is only 1 custom function that is needed to create a gradient to mask the borders. It's called "Symmetric_Gradient". Here it is:



    NOTE#2: In the 4.12 version there are some nodes called "depth edges/without edges/with edges". They are just "passthtrough" nodes used to better organise the graph, you can ignore them and connect their input to their output... sorry about the confusion.

    You may notice I've tried to implement the vertex color override for the flowmap, but I've dropped this material it due to other work...

    If you guys want to improve from this, I'll be happy if you shared it with me! I'm still a noob!

    Cheers
    Last edited by Edoartworks; 02-14-2017, 04:14 PM. Reason: added note#2

    #2
    Nice looking Material!

    WIP Thread

    Comment


      #3
      Oooh quite pretty!

      Comment


        #4
        I couldnt figure out the depth edges/without edged/at the edges as to what function they were but I learned a lot, thanks for posting this,
        Tek LLC a personal Candaian Company running BlenderTek & UnrealTek is currently looking for help to bring back submarine simulator gaming with a new genre of sub sims: Cold War! (1945-1991) Operation: Trident SubSim Dev Diary Thread - Donations

        Comment


          #5
          Does this not work with 4.13 or am i not clever enough to copy and paste a code?

          Comment


            #6
            Originally posted by Nsomnia View Post
            I couldnt figure out the depth edges/without edged/at the edges as to what function they were but I learned a lot, thanks for posting this,
            Ah sorry for that, they are just "passthrough" nodes that don't do anything. They are only for rerouting the nodes.

            Originally posted by Monsterlutz View Post
            Does this not work with 4.13 or am i not clever enough to copy and paste a code?
            Indeed not. It's 4.12, sorry :\
            Last edited by Edoartworks; 10-24-2016, 10:11 AM.

            Comment


              #7
              Originally posted by Edoartworks View Post
              Ah sorry for that, they are just "passthrough" nodes that don't do anything. They are only for rerouting the nodes.



              Indeed not. It's 4.12, sorry :\
              ****... i was hoping that i am not clever enough...

              Could you fix it for 4.13?

              Comment


                #8
                Originally posted by Monsterlutz View Post
                ****... i was hoping that i am not clever enough...

                Could you fix it for 4.13?
                Sure, here you go.
                https://blueprintue.com/blueprint/umgp5qry/

                Mind though that the site doesn't render the 4.13 nodes correctly at the moment...
                Still refer to the first post if you just want to visualize the nodes.

                Cheers
                Last edited by Edoartworks; 10-25-2016, 11:32 AM.

                Comment


                  #9
                  Awesome. Will try it in a few hours. Thank you very much.

                  Comment


                    #10
                    Originally posted by Edoartworks View Post
                    Sure, here you go.
                    https://blueprintue.com/blueprint/umgp5qry/

                    Mind though that the site doesn't render the 4.13 nodes correctly at the moment...
                    Still refer to the first post if you just want to visualize the nodes.

                    Cheers

                    The code works and i could refer the missing nodes. But what kind of textures do i put in?

                    Comment


                      #11
                      Originally posted by Monsterlutz View Post
                      The code works and i could refer the missing nodes. But what kind of textures do i put in?
                      There are 3 normal maps (I used the same texture replicated but you can vary if you want) + 1 foam texture. You can just google "water normal map" and "foam texture" and you are good to go!

                      Comment


                        #12
                        Originally posted by Edoartworks View Post
                        There are 3 normal maps (I used the same texture replicated but you can vary if you want) + 1 foam texture. You can just google "water normal map" and "foam texture" and you are good to go!
                        It works and looks awesome. You are great. Thank you again!

                        Comment


                          #13
                          Originally posted by Edoartworks View Post
                          Sure, here you go.
                          https://blueprintue.com/blueprint/umgp5qry/

                          Mind though that the site doesn't render the 4.13 nodes correctly at the moment...
                          Still refer to the first post if you just want to visualize the nodes.

                          Cheers
                          Rendering on blueprintue.com is fixed for 4.13 and 4.14

                          Comment

                          Working...
                          X