Unreal Engine 5 - Mask water out of boat/ship hull WORKING!

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 38

  • @gabehenry9404
    @gabehenry9404 Год назад +3

    Was there any specific video you followed to add the waves behind the boat? I cant find any good ones and am new to unreal.

    • @ARTFX3D
      @ARTFX3D  Год назад +1

      Unfortunately no. It is a result of trial and error.

    • @arezgod14
      @arezgod14 Год назад +1

      You have very cool instructional videos, but will you make a tutorial on how to create a controllable sailing ship?

    • @ARTFX3D
      @ARTFX3D  Год назад +2

      @@arezgod14 As soon as I finish with release of a game I can do it.

    • @gabehenry9404
      @gabehenry9404 Год назад +1

      @@ARTFX3D I would love a video showing how you accomplished it!

  • @snipeh
    @snipeh 11 месяцев назад +2

    how do i get foam to work?

  • @MohamedSamy-vp2pq
    @MohamedSamy-vp2pq Год назад +3

    make drivable script tutorial please "StepByStep"?

  • @myrontruesdale7506
    @myrontruesdale7506 5 месяцев назад

    what are you doing to produce the wakes? Are you deforming the water?

    • @ARTFX3D
      @ARTFX3D  5 месяцев назад

      I’m using water solver to deform surface.

  • @davy4842
    @davy4842 Год назад +1

    Hi can you use the unreal water plugin and add wetness to the character depending on the part that in contact with the water ! An change color depending one the color of the water?

    • @ARTFX3D
      @ARTFX3D  Год назад +2

      Yes you can. Your water level is fixed in Z space so you can make wetness effect by masking everything below water level. That would be an easy approach.

    • @hrleinad
      @hrleinad Год назад

      @@ARTFX3D Sorry to bother you, this topic caught my eye. Is there a way to transfer that mask (below water level) to a skeletal mesh? I mean, so it gets masked once inside the water (just the portion that got in contact with the water), and remain masked after leaving it?

    • @ARTFX3D
      @ARTFX3D  Год назад +1

      @@hrleinad Fast and simple approach would be to take world coordinates and mask everything at Z axis below water level but if you’re an expert you can mask even shape of waves.

    • @hrleinad
      @hrleinad Год назад +1

      @@ARTFX3D yeah, well, thank you for taking your time to reply, but I was asking precisely because when dealing with skeletal meshes, with UVs, simply masking below a certain axis doesn't seem to really work, as UVs are usually a wrapped around the model, and whatever the world position of the object might be, it doesn't translate to the UV space correctly.

    • @ARTFX3D
      @ARTFX3D  Год назад

      @@hrleinad Strange, I’ll have to take a look at it

  • @antonivankuster2799
    @antonivankuster2799 Год назад +1

    Hi, I have an issue where the boat is moving faster than the opacity is being calculated so the masking is sometimes late. This results in glitching masking effect behind the boat. If you understand, is there any way I could fix this?

    • @antonivankuster2799
      @antonivankuster2799 Год назад

      i.postimg.cc/gJk5ZtsB/image.png
      i.postimg.cc/NFrwKPfv/image.png
      This lagging white spot behind the boat in the images.

    • @ARTFX3D
      @ARTFX3D  Год назад +1

      Never ever experienced that issue but you can always try to make simple ocean shader for better performance. I’ve managed to run this even on Oculus with forward rendering without problems.

    • @MartinBerge-p7q
      @MartinBerge-p7q Месяц назад

      I have the same. My guess is that distance fields are not being updated quick enough.

  • @BrodyBr
    @BrodyBr 11 месяцев назад

    In my experience, this and the previous video are working to mask out the water surface, but I'm still left with distortions from the underwater post-processing showing up inside my boat. Is there an effective way to mask that out in a similar fashion?

    • @ARTFX3D
      @ARTFX3D  11 месяцев назад +1

      You can mask caustics same way as water, just find the node and add a mask.

    • @BrodyBr
      @BrodyBr 11 месяцев назад

      @@ARTFX3DIt doesn't seem like M_UnderWater_PostProcess_Volume (or rather Post Process materials, period) supports masking. Is there something I'm missing?

    • @ARTFX3D
      @ARTFX3D  11 месяцев назад

      @@BrodyBr Caustics are generated from texture. Make a lerp between texture and 0, and in the alpha ch feed the same distance field node as in water mask.

  • @roundfourde
    @roundfourde Год назад

    Works great, but I have one isse. When I put the boat inside volume into my BP, buoyancy doesn't work anymore and the boat just drops to the ground of the ocean. I disabled collision, etc., it is parented to the main static mesh, not sure what's wrong?

    • @ARTFX3D
      @ARTFX3D  Год назад +1

      Disable collisions on everything which doesn’t have to calculate buoyancy.

    • @roundfourde
      @roundfourde Год назад

      @@ARTFX3D Thanks for your reply, I did disable collision already, but it still doesn't work

    • @roundfourde
      @roundfourde Год назад +1

      @@ARTFX3D Thanks, it works now, after I redid it. No idea what was wrong.
      Can I ask you something about buoyancy on Discord? I sent you a friends request.

  • @Aaron-k9l
    @Aaron-k9l Год назад

    i only have masking offset -24. do i enable it?

  • @alessiobelli
    @alessiobelli 10 месяцев назад

    I'm on 5.3 and this doesn't work unfortunately :( when iset the nodes in the water opacity mask the water disappear completely. The checker pattern stuff works though

    • @ARTFX3D
      @ARTFX3D  10 месяцев назад +1

      You have to tweak the numbers of the distance field. 🙄So many comments it doesn’t work on 5.3 and the principle is the same since the UE4.

    • @ARTFX3D
      @ARTFX3D  10 месяцев назад

      ruclips.net/video/45xhM8h6NrU/видео.html

  • @pritamroy5123
    @pritamroy5123 Год назад

    How to render Wireframe in UE5?

    • @ARTFX3D
      @ARTFX3D  Год назад

      Unreal triangulates geometry and that could look messy. Your best option is to create wireframe shader which will allow you adaptive density of the grid depending of your shot.

  • @Aaron-k9l
    @Aaron-k9l Год назад +2

    yea i cant get it to work :(

    • @ARTFX3D
      @ARTFX3D  10 месяцев назад

      ruclips.net/video/45xhM8h6NrU/видео.html

  • @neritonreis3340
    @neritonreis3340 Год назад

    Graças a você minha agua não esta aparecendo mais e vou perde todo meu projeto

    • @ARTFX3D
      @ARTFX3D  Год назад

      Don’t Panic! Just connect Unreal’s saturate node to the Output mask and you are back at the defaults. If it doesn’t work you’ve probably ticked one of the checkboxes in the material instance and now your water is gone.