Runtime Virtual Textures - For Terrain Blending and Heightmap

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • In this video we have a look at how to set up a Landscape to use a Runtime Virtual Texture and how we can use that to do two very powerful things - seamlessly blend a mesh object with a landscape, and use World Position Offset to align a mesh to the Landscape - great for sand and snow particles!
    If you want to learn more about Materials in Unreal Engine check out my new course here:
    tharlevfx.gumr...
    If you have any questions about Game Art VFX or the Unreal Engine then email me: tharlevfx@gmail.com
    Or you can find more tutorials on my website: www.tharlevfx.com
    or check out my work on the Unreal Marketplace:
    www.unrealengi...
    or follow me on Twitter: @tharlevfx
    If you'd like to support the channel then follow me on Patreon: / tharlevfx

Komentáře • 31

  • @m1sterv1sual
    @m1sterv1sual Před 3 lety +5

    He’s back!

  • @nocnestudio7845
    @nocnestudio7845 Před 2 lety +2

    I spent 3 days of pressure until I finally found your tutorial. Thank you. I am grateful.

  • @gangedup1
    @gangedup1 Před 3 lety +3

    Subscribed to over 800 channels.. a tharlevfx vid pops up. INSTA-VIEW!!!

  • @seansanderson
    @seansanderson Před 3 lety +2

    Nice to see you back Tom

  • @Fafmagic
    @Fafmagic Před 3 lety +3

    Great video. You probably know this, but for those who don’t, it’s a little cheaper (and a lot tidier) to use the Set/Get Material Attributes instead of the Make/Break Material Attributes.
    Excellent point about normal blending using VRT’s. Something I’ve always overlooked.

    • @tharlevfx
      @tharlevfx  Před 3 lety +2

      oh yeah great call - i was referencing an old material when i made the tutorial but i would totally recommend Get/Set instead of Make/Break in general

  • @foxy2348
    @foxy2348 Před 2 lety

    Why don't you have a million views?! Best unreal tuts since ages!

  • @nocnestudio7845
    @nocnestudio7845 Před 2 lety

    Great job. Thank you. Tangent space was making distance artefacts... I love your explanation.

  • @dd-ph2ue
    @dd-ph2ue Před 3 lety +2

    Love your videos. They are super helpful and educational. I learned a lot from them

  • @juanmilanese
    @juanmilanese Před 3 lety

    Glad to see you back! Your content is amazing!

  • @Obiwahn89
    @Obiwahn89 Před 3 lety

    Welcome back!

  • @badanos
    @badanos Před 3 lety

    Awesome video as always. Thank you

  • @DanielElliott3d
    @DanielElliott3d Před 3 lety

    Great to see you post a vid. Inspires me to get in gear as well. I've thought about using that terrain hugging technique to do a grass effect (multiple layers of a grid at different heights).

    • @tharlevfx
      @tharlevfx  Před 3 lety +1

      Yeah, I’ve been watching your niagara vids, great stuff! Grass would be a great use case for this technique, or something like a mesh of rain splashes

    • @DanielElliott3d
      @DanielElliott3d Před 3 lety +1

      @@tharlevfx Cheers :) Yeah so many I'm thinking of. Custom cloud shadows or shadows for volumetric objects, or use it for a surface to have a parallax occlusion shader. It's like a decal that is dynamic.

  • @pubudu781
    @pubudu781 Před 3 lety +1

    great video, can you please do a video about how to use virtual height field mesh with displacement and landscape height blending?

    • @portmandrotikitordnamtrop
      @portmandrotikitordnamtrop Před 2 lety +1

      Agreed, this would be really helpful

    • @pubudu781
      @pubudu781 Před 2 lety

      @@portmandrotikitordnamtrop hey i was actually able to figure it out, i mean how to set up virtual heightfield properly, but i couldn't find a way to use it with height blending, if you want i can send you the files.

  • @mahnomix
    @mahnomix Před 2 lety

    Very cool! 👍

  • @cosmotect
    @cosmotect Před 3 lety

    I need to remember that this exists, for my next environment

  • @miloszgierczak4806
    @miloszgierczak4806 Před rokem

    Hello Thomas! I have a question to you! You got me really inspired with this "align object to the landscape using RVT height map" and im thinking about making a volume fog that actualy sticks deforms and sticks to the landscape when you move the volume, but I ran into a problem that when I setup a material for the Local Volumetric Fog (material for the fog volume) it using "material domain: volume, blend mode: Additive" and these settings dont let you use "world position offset" :( is any other way to do such an efect with sticking a volumetric fog to the ground using RVT height map? Your videos are really helpful and Im expanding my skillset with your knowledge a lot, and im really grateful for all your work! Regards, Miłosz

    • @tharlevfx
      @tharlevfx  Před rokem

      You could check out Asher zhu and the fog painting tool they made for the valley of the ancient ue 5 demo

  • @DuneGames
    @DuneGames Před 2 lety

    Hi, nice video. What's the hot-key you are pressing to bring up the constant box in the blueprint at 10:20?

    • @tharlevfx
      @tharlevfx  Před 2 lety +1

      just the 1 on the number line - 1,2,3,4 are all the shortcuts for the constants. if you open the palette window and find the right node it shows you if there's a shortcut for it

    • @DuneGames
      @DuneGames Před 2 lety

      @@tharlevfx Thank you for this. I know some things are simple... if you know the answer. I feel like I'm learning photoshop all over again.

  • @portmandrotikitordnamtrop

    Can you please explain Virtual Heightfield Mesh? Seems we can't use tessellation in UE5 and this is our only option for displacement of landscapes. Landscape textures will be forever flat until you show us the way.

  • @sanjios
    @sanjios Před 2 lety

    Is it possible to do the opposite, conform landscape height to the mesh ?

    • @tharlevfx
      @tharlevfx  Před 2 lety

      Yes, sort of. You can use a similar technique using rendered height maps and WPO to change the terrain, although it won’t affect collisions.

    • @sanjios
      @sanjios Před 2 lety

      @@tharlevfx Thanks for the info. I tried baking mesh to heightmap, but the calculation based on documentation doesn't work 100%.
      It's very close but not there. This would be great if you could make tutorial how to do this opposite thing, because not sure I could do it myself, but I will try. This would be great for any architectural visualisation, you could probably make a blueprint or plugin and sell on marketplace...
      I would buy it for use.

  • @Mr_Tea_Rexx
    @Mr_Tea_Rexx Před 2 lety

    to let everyone know VT's don't 't support opacity channel... which is stupid so if your using it for the UDIM feature, don't because your literally kicking yourself in the foot

  • @UAKrogan
    @UAKrogan Před 19 dny

    Hello, looks like i can achieve farming system like in this video: czcams.com/video/n7dPrDwS6gs/video.html using your tutorial.
    At this moment I don't have any issue with selection points, creating field with tiles inside but I can't understand how to change/replace material inside each tile.
    @tharlevfx am I right?