Ue4: advanced materials (Ep. 49 River Foam Distance Fields)

แชร์
ฝัง

ความคิดเห็น • 24

  • @TheEightshot
    @TheEightshot 4 ปีที่แล้ว +5

    I have been going nuts trying to find a tutorial that shows you how to do this using distance rather than depth. Thanks, you have ended my hours of searching.

  • @OdinAnon
    @OdinAnon ปีที่แล้ว +1

    This actually helped me solve a big problem that had nothing to do with river foam, thanks for the help! :D

  • @AndrewPace77
    @AndrewPace77 3 ปีที่แล้ว

    Well done, and thanks for sharing. I spent most of the afternoon banging my head against this thing, and couldn't find a look I liked. You gave me exactly the solution I needed. Cheers!

  • @StevesTutorials
    @StevesTutorials  4 ปีที่แล้ว +1

    I made this video before making my new water material. Its still relevant because i still use distant fields in my new material :D

  • @japaneseextremme3811
    @japaneseextremme3811 6 หลายเดือนก่อน

    Question. I have some objects in the water, but the size of the foam edge is much smaller around the objects compared to the edges near the terrain. Is there a reason the edge size would be smaller around objects placed in the water? Ty for the tutorial!

    • @StevesTutorials
      @StevesTutorials  6 หลายเดือนก่อน

      It can be to do with the scale of the objects. Are the objects with a smaller foam line scaled up at all? Or ar they all at their default 1,1,1 scales?

  • @3DuoAnimation
    @3DuoAnimation 5 หลายเดือนก่อน

    Hi, thanks for the tutorial. any idea why my foam disappear once i move the camera farer away from the water surface ? Thx for help

    • @StevesTutorials
      @StevesTutorials  5 หลายเดือนก่อน

      I'm assuming it's because of the distance fields unloading at a further distance. I believe there is a way to increase the range of this but I can't remember the command.

    • @3DuoAnimation
      @3DuoAnimation 5 หลายเดือนก่อน

      @@StevesTutorials Yeah, unfortunately i use Lumen and it seems that the "Global DistanceField View distance" is locked to 20000 ( 200 m ) when using it. Quite annoying......

  • @cr0uchingtiger
    @cr0uchingtiger ปีที่แล้ว +1

    it sort of worked for me but the size of the edge effect was too large and it seemed like none of the parameters could shrink it. It also looked very blocky/low poly.

  • @barbaracostaalves1144
    @barbaracostaalves1144 3 ปีที่แล้ว +2

    When I am far from the water the foams desapires, How can I adjusts this?

  • @Sebaxterr
    @Sebaxterr 4 ปีที่แล้ว +1

    I cant seem to make distance field foams work on world composition. Is it possible?

  • @cinebst
    @cinebst 3 ปีที่แล้ว

    tremendous work!

  • @adambreen3211
    @adambreen3211 3 ปีที่แล้ว

    great tutorial! how do you make it affect instanced foliage?

  • @SoldatovArtem
    @SoldatovArtem ปีที่แล้ว

    cool!! Thenks

  • @ariiteajuventin3408
    @ariiteajuventin3408 3 ปีที่แล้ว

    Landscape doesn't appear to be in the distance field meshes for me.
    Any idea how to activate distance field on the landscape ?

    • @StevesTutorials
      @StevesTutorials  3 ปีที่แล้ว

      Have you got any other mesh in the scene other than your landscape. For some reason distance fields only seems to activate when you have at least one static mesh in the scene. If that's not it I assume a setting on your landscape for distance fields is disabled

    • @ariiteajuventin3408
      @ariiteajuventin3408 3 ปีที่แล้ว

      @@StevesTutorials I have other meshes in my scene and they work fine with distance field, only the landscape doesn't work and distance field is enabled

    • @StevesTutorials
      @StevesTutorials  3 ปีที่แล้ว

      @@ariiteajuventin3408 hmm. Is the landscape scaled up at all after spawning it in?

    • @ariiteajuventin3408
      @ariiteajuventin3408 3 ปีที่แล้ว

      @@StevesTutorials I dnon't think so

    • @StevesTutorials
      @StevesTutorials  3 ปีที่แล้ว

      @@ariiteajuventin3408 not to sure then unfortunately. Those are usually the issues that cause that :/

  • @DJjeffer92
    @DJjeffer92 4 ปีที่แล้ว +1

    How do you add the texture?

    • @StevesTutorials
      @StevesTutorials  4 ปีที่แล้ว +3

      Just two noise nodes panning over each other multiplied to the distance fields.