QUICK TRICK to Realistically BLEND ASSETS with LANDSCAPE | UE5 Runtime Virtual Texturing Tutorial

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • Well hello there! I'm Shane and in this tutorial video, I will be showing you how to get your Megascans assets to blend realistically with your landscape in Unreal Engine. It's a nifty little technique involving the use of runtime virtual textures. Check it out & let me know what you think 😊
    PATREON
    Want to support my work and become a Game Dev Academy governor? Then check out the Patreon page & come and join us! ►► / shanewhittington
    DISCORD
    ♥ Join the Game Dev Academy Discord & get sorted into your Game Dev Academy house! - bit.ly/GDAdiscord ♥
    MORE TUTORIALS FROM ME
    • Unreal Engine 4 Tutori...
    Creating Your First Game in Unreal Engine 4: • Unreal Engine 4 Bluepr...
    Maya Tutorial for Beginners 2021 | 2022: • Maya Tutorial for Begi...
    MY PC SPECS (Affiliate links)
    CPU: amzn.to/30PEy7E
    GPU: amzn.to/2PPbnve
    Motherboard: amzn.to/30RfX21
    RAM: amzn.to/3fPxLz7
    PSU: amzn.to/2PN6bYL
    Case: amzn.to/3fSh0TT
    Keyboard: amzn.to/30PLfGM
    Monitor: amzn.to/2PQyl4S
    VIDEO CHAPTERS
    Introduction 00:00
    Runtime Virtual Texturing explained 00:22
    Enable virtual texture support 02:13
    Set up the exercise 02:48
    Create Runtime Virtual Textures 03:42
    Create Runtime Virtual Texture volumes 05:00
    Setup landscape material 06:24
    Add RVTs to the landscape 08:56
    Setup asset material 09:32
    Final test 15:45
    Conclusion 16:06

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

  • @colinbrooks2236
    @colinbrooks2236 Год назад +44

    anyone experiencing the blendspace being white and the material of the scan item has a fuzz node - put the fuzz node to the right of the blendmaterial attributes

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

      Thank you!

    • @pondpond-tx4sk
      @pondpond-tx4sk Год назад +1

      Do you have an example?

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

      how do we do this if the fuzz node has two inputs?

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

      thankyou , it works

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

      @@keterbinah3091 hi, how did you connect the fuzz node to blendmaterials attributes node?

  • @derekheisler2058
    @derekheisler2058 Год назад +58

    TIP: If you want control of that gradient (the blending) it's in the divide node for the height. So connect a constant node to the B input of the Divide node, then right click and make parameter. Put a default value of 10 as stated in the tutorial. But now if you go back to your rock material instance you'll see the new parameter (I named mine Virtual Texture Blend Gradient). Check it on and then dial the value to your taste. Hope that helps everyone!

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

      thanks man, it was really helpful. I like that extra control over the blending

    • @davidCcode
      @davidCcode 8 месяцев назад

      I was coming in to comment here about the divide node but you did it great.

    • @lukewarmape603
      @lukewarmape603 5 месяцев назад +1

      Also if you want further control of where the gradient begins and ends, you can add a multiply (lower in worldspace) or subtract (higher in worldspace) between the "absolute world position" and "mask" nodes :)

    • @raitttu
      @raitttu Месяц назад

      Very useful tip, when I follow the tutorial the blend was "perfect cutted" by the ground, so it's not appear, since it's on underground. I have to put a big value on divide (like 100) to show up a bit, so my final setup was divide>subtract(to shift up and down the blend)>power (found useful to control the gradient more)

  • @kewlin
    @kewlin Год назад +76

    The divide by 10 is there to change the height across which it blends: if you didn't divide it by 10, it would transition over 1cm (which is too small), but divided it does it over 10cm. It's an arbitrary number though, for example, you could divide by 50 to make it blend over 50cm.
    Saturate just caps the number to values from 0 to 1 so the alpha blending doesn't break.

    • @fmbifrost2198
      @fmbifrost2198 Год назад +4

      Thanks for the addition, it's not serious to do tutorials that just say "plug this here because I was told so" and not explain the principles of what you're doing before jumping into spaghettis mode.

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

      Thanks cause i was wondering why the divide as well

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

      Then I could divide by 5 for a more subtle transition?

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

      @@riggsmurtah2788 I think to make it more subtle you would instead divide by a larger number, like 20. But you could try that quite quickly, the difference should be easy to see.

  • @witosek9326
    @witosek9326 5 месяцев назад +7

    For those who didn't see the preview here 9:25: try pressing "Create Volumes" right underneath. It helped me. (I'm working on version 5.3)

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

    I started with your tutorial in Unreal Engine 4 with the lakehouse and now I'm back on your channel, now I'm a professional in the ArchViz nieche, you're still an amazing teacher, congrats!

  • @mansamnnnnikaido
    @mansamnnnnikaido Месяц назад

    The best RVT tutorial! I've scrolled through like ten tutorials now. This one's the most clear and easy to follow. Thanks for bringing this out

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

    Dude, many thanks for sharing your knowledge, awesome and absolutely useful tutorial! God bless you!

  • @thronosstudios
    @thronosstudios Год назад +6

    I've watched several tutorials on this, some longer, some about the same length, but this one is by FAR the clearest, simplest and most straight to the point out of them all. You earned a sub, good sir.

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

      Thanks dude. Explaining things is my super power.

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

      @@GameDevAcademy Did you get it from a vat of toxic waste, spider bite, or just born with it? :P

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

    Thanks for the tutorial! Easy and clean!

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

    Awesome tut!!!! Thank you very much for sharing!

  • @JustPatrik
    @JustPatrik 2 месяца назад

    Thats freaking insane! Awesome!

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

    thank you so much for the teaching, it's really easy to understand .

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

    Very nice! Enjoyed it tremendously!

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

    Extra helpful, thank you!

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

    Thanks a lot! Very helpful tutorial!

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

    have to say, best tutorial about RVT

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

    Easy to follow and you explained everything well. Thanks.

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

    This is really cool. Even for detailed asphalt on terrain (Sides have a blend in the terrain)

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

    I belive that the reason for dividing at 11:40 is because you are stretching out the gradient (the interval where the blend has a value between 0 and 1, i.e. the greyzone).
    Generally you can think of linear functions f(x) as:
    1. additions to x = shifting the output,
    2. multiplication of x = stretching the output,
    3. -X = flipping/mirroring the output around 0.
    Hope that explains it, it was some time since I studied that.

  • @Vipin_lee008
    @Vipin_lee008 Месяц назад

    Very useful👍

  • @arekjurcan7801
    @arekjurcan7801 3 месяца назад

    Yeah. Okay, it works. Thanks :)

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

    Thank you so much!!
    It working fine exclude straight face.... The mask to stretching.

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

    fantastic easy to follow tutorial, thanks!

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

    very clear and good thks !!!!!

  • @lanaeab.1676
    @lanaeab.1676 2 месяца назад

    bless this man

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

    Thanks for teaching! Super helpful video

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

    this is amazing, gj

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

    really great tutorial

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

    Thank you. That’s what I need❤️❤️

  • @jayhop960
    @jayhop960 8 месяцев назад

    brother, sir i appreciate that so much thank you my friend liked and subscribed you helped me out so much brother i appreciate it thanks for taking the time out of your day to share with others Blessings on you brother

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

    Excellent video, very informative (Y)

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

    Absolute legend, subbed

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

      Thanks Luke. You've made me *feel* like a legend 😊

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

    Really great technique.. Thank you for your effort ❤

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

      You're welcome dude. I'm glad I could help you out :)

  • @Dragonbras
    @Dragonbras 4 месяца назад

    great video thanks

  • @manic_animator85
    @manic_animator85 2 года назад +1

    Wow
    I had this problem some days ago
    Thank you soooo muuuuch!

  • @DamasUnreal
    @DamasUnreal Месяц назад

    thanks!

  • @seansanderson
    @seansanderson 2 года назад

    Love it. How to not make things look like arse. Champion.

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

    For the ones with Objects starts blending way too high, use another divide node in the Objects Material right after RuntimeVirtualTextureSample with a value ~5 and connect it to be B pin to the Subtract node behind the Mask.

  • @sylvainhuard2133
    @sylvainhuard2133 Месяц назад

    there is people that can talk and explaining is an art of the brain, you must be really smart.

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

    Assome...!!! Thank you, Thank you!

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

    Thank you!

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

    Really good and simple tutorial. thank you.

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

      Glad you liked it

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

      @GameDevAcademy
      can you help me dig a trench
      using landscape tools I tried but it just looked low-poly . and I don't want to ues the voxel plugin because it's showing down my game . is there a setting I can change maybe?

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

      @GameDevAcademy
      how to sculpt using default tools .
      brush size mannequin small .

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

    Is it possible to use rvt for blending assets if you weren't using landscape? Say if your level's needs dictated that you would have to use a number of
    meshes to form the "terrain"?

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

    I'm pretty sure someone else asked this, but this is working super well for some assets, but what about a massive landscape on where you may have different heights variations and far more assets in the screen. The performance is affected?

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

    On my side the blending works but the texture resolution of the blended texture is really low and somehow seems brighter is shadowy areas where the assets blend. Not sure why and I have no idea how ot fix this.

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

    I have the problem that the height where the object is blending texture is always at z=0. And also when my width and length y and z coordinate are at a point where the landscape is not any longer. It still blends there

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

    Thank you, that's great. How to use it on Landscape Proxies when using World Partition? I don't want to select every single proxy to apply the virtual texture map? Keep rocking, cheers

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

    Is it any different on how you set RVT in UE 4? if not, would it work if follow through from UE 4?

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

    cam we use RVT with static mesh instead of landscape?

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

    can you have multiple different rocks with different materials interacting with the landscape? or do you have to set up each rock?

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

    Very nice and very clear explaination :) So far I get everything to work, eccept that my texture on the rock is super dark and partially stretchy somehow. also, how do I increase the amount of blending on top of the rock? for me it workst for about 10cm.

  • @arjungowda6452
    @arjungowda6452 2 года назад

    Thank y❤️u ....

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

    Im new to UE5 so apologies in advance if this is a silly question, but if i have several megascans assets that i want to blend into the landscape, which i have put an automaterial on, do i have to do anything different? I am going through Unreal Sensei's UE5 beginner tutorial and i want to see if i can blend the cliffs in better with the landscape if that helps.

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

    is it possible to use the same material setup from your "The Secret to Hide TEXTURE REPETITION" video. Im stuck at the setup landscape material portion and would like to have tileless landscapes along with the virtual texturing.

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

    I'm using the landscape material I created following your tutorial Amazing PhotoRealistic Landscape and the master material is different from the one used by Megascan. How do I apply this to my master landscape material?

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

    Would this work on a tri-planar material? I'm looking to blend two tri-planars together.

  • @daviddelayat-dnapictures
    @daviddelayat-dnapictures Год назад

    How to do so for every meshes in a scene ? Do I have to go through this process for each ?
    Thanks !

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

    They dont look like ass 😅
    Thx 4 the tutorials, very cool and funny. 👍

  • @MatheusGamedev
    @MatheusGamedev 7 месяцев назад

    Just leaving a comment to thank you!!!

    • @GameDevAcademy
      @GameDevAcademy  7 месяцев назад

      You're welcome. Thanks for the comment :)

  • @benblaumentalism6245
    @benblaumentalism6245 8 месяцев назад

    Thank you for the excellent tutorial! If you have the time, I have a couple of questions. The first is that when I set the bounds, the bounding boxes did not encompass my entire landscape, which is very small (for testing). My second question is more of a request. I like making world-aligned materials. Any chance you could show us how you could set this up for those? Thanks again, and bravo!

  • @truthtruth316
    @truthtruth316 2 месяца назад

    .im wondering if its possible for one to set it up once and use it for other projects as well,because i im always afraid and discouraged when i consider the amount of time it takes to make a runtime virtual texture

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

    What if virtual textures are enabled in the project setting, but you don't see them when you put them in the terrain (segment 9:25)?

  • @judofernando8298
    @judofernando8298 9 месяцев назад

    my rvt height still looks like cube, event thou i already enable it. and im not using megascan asset. what should i do to the material ?

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

    for me it only blends at one certain height.
    But what if I have a mountainous landscape and the blendheight differs every few meters. How to to make the blend height always be the height of the current landscape?

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

    Hi!, Does anyone know why after everything works fine, suddenly the blend disappears? I go back and check the nodes and are just fine🤔 Thanks so much!

  • @pawpotsRS
    @pawpotsRS 6 месяцев назад

    do you really need a landscape to make the RVT work? or you could blend between two static mesh with these setup?

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

    How do you deal with multiple landscapes and multiple levels and the same rock for exemple ?

  • @user-ru1dx5qw7u
    @user-ru1dx5qw7u 4 месяца назад

    Have you tried doing this for Landscape Layer Blend and standard material. I tried and had a fail. close but no cigar

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

    I am having an issue where even with the plugin enabled it still shows as black on the preview. My older projects where I have had this working also stopped working.

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

    i have virtual texture support enabled but dont see the preview its all black in my case, any idea ?

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

    I'm writing this first before I watch the video, but having started watching a different video that was two years old and this requires landscape height etc. How would this work for interiors with lots of organic assets of various sorts or would be a similar process?

  • @ediksidorov5037
    @ediksidorov5037 23 дня назад

    Any idea how to optimize the rvt? It’s all getting red with ALT-8 optimize view, seems like it’s a topic without too much contents

  • @rattenschwanz-filmundfotog693
    @rattenschwanz-filmundfotog693 Год назад

    Very Nice Video. I want to implement this in my UEFN Map. is there also a support for RVTs in The Unreal Editor for Fortnite? i cant find things like that.

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

    ok so how do you save a template or something. so I don't have to do this with each asset ?

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

    Interesting tutorial. However, I have a problem because at 09:18 At this point it counts crash every time in EU 5.1 :(
    Assertion failed: (CurrentDirtySlotMask & SlotsNeededMask) == 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 491]

  • @GregDerochie
    @GregDerochie Год назад +8

    Thanks for this! it's something I've been struggling with as an Unreal beginner.. Can you suggest how to apply this technique to a basic material (not a megascan).

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

      Yeah megascans automatically applied nodes and bridge are pure trash for the beginner because they are just shit to begin with. I prefer to use the most basic node systems because the bridge node system is a mess of unknown dependencies. I imported 7 textures and they are parents of the same so yeah from there your instructions just break down and things get too different to fast. So maybe stop calling this a code academy a start calling this the place where you show off some smart ass shit that no one else can do.

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

    so much interesting topic....but in my case there is another node "MF_Fuzz" , and if i am connecting this with "Blend material attributes" and following your process ,my result is white in blend area.😂
    please give some solution.

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

    Issue: My meshes still are showing the white blend color at the bottom and I re-checked everything twice and can't find the problem.
    Can you please resolve the issue

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

    That's very interesting but without understanding the idea it looks like complete magic to me

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

    Hi, when I try to click on Virtual Texture, where I need to put in the Height, the engine crashes. Idk if the problem is my graphics card or something else. Can somebody help me pls?

  • @Createdbyvanish
    @Createdbyvanish 15 дней назад

    i cant plug in the getmaterialattributes to the runtime virtual texture output i says its not compatible with floats

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

    The blending for me looks really blurry. Anyone having the same issue?

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

    when im subtracting RVTHeight from AWP im getting kinda 45 degree mask. not top-down. dont know why..

  • @user-rn3hp8qw8o
    @user-rn3hp8qw8o 4 месяца назад

    whenever i open asset material then it opens the same 1 material of both land and object. I dont know what to do can you help me

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

    the triad tool in my UE 5.3.1 has disappeared. I can only move, rotate and size now by imagining the locations of the cursors on the triad. Anybody know how to fix that. I've already verified the install once. Nothing has changed.

  • @suke0408
    @suke0408 2 месяца назад

    Is this only works for flat landscape??

  • @XINXIE-xx3vz
    @XINXIE-xx3vz Год назад

    good

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

    good tut, i followed every step , but i have started off with just a plain grass texture and its whited out , it does blend nicely with every asset, its just white what do you suggest from just grass albedo into output at the momment ?

  • @arjungowda6452
    @arjungowda6452 2 года назад

    Lv u sir

  • @linovalcarcel9366
    @linovalcarcel9366 3 месяца назад

    only work with landscapes?

  • @DerpyPossum
    @DerpyPossum Год назад +4

    I've done everything exactly, yet nothing seems to happen in the level itself. The temporary blend colours and the final blend are showing on the material viewport, but not on the actual mesh itself when in the level. I think it might have something to do with the previews for the RVT environment and height materials not showing. You stated that this would probably be because I don't have it on, yet Virtual Textures is indeed enabled in the project settings. I'm not sure what else can be done, and I'd really appreciate some direction to a solution. Thanks in advance :)

    • @ljfproduction
      @ljfproduction 7 месяцев назад

      did u fix it? have the same issue

  • @UnrealArtist
    @UnrealArtist 2 года назад +9

    Great tutorial. I hate when Unreal does unityiesh things like, you do this and that and then turn that on from that section, come back and create that and then apply these and that o.O ??? this is all for a small feature that you should have only in the material editor with small check boxes, Or may be some other more streamlines simple execution.

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

    This suddenly stopped working for me. I added a cube in the level and deleted it and the RVT blending was gone. Only CTRL-Z brought it back- botht he cube and the blending.
    Also, the blending works or worked with a color, but not with the actual landscape RVT. I tried to find out what is going on and used and again wanted to use a color instead of the RVT and then even the color didn´t work anymore.
    I wonder if this is just buggy. I replicated each of your clicks and it did work until a certain point and the all of a sudden stopped.
    EDIT: Classic- restarting Unreal and all of a sudden it works again- even the blenidng with the actual landscape RVT.
    So if anyone encounters problems: it is buggy. Restart Unreal.

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

    👌🏼

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

    when i placed the pink color nodes. it works but when i delete that and do the last process it shows a white color on my landscape. sorry for the crap explination

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

    Great tutorial! Is there a way to get the blend to not blur as much? I applied this to a rock and the ground but the blended area on the rock just looks like the ground is blurring into it instead of it looking like the sanding is adding onto the rock. Thanks!

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

      In the virtual texture asset for the landscape, under the size settings, increase the settings and it will improve the texture quality

  • @jimmyjones3200
    @jimmyjones3200 8 месяцев назад

    Hello! Has anyone managed to do this with a world partition map? I cannot select bounds as there is no 1 landscape. There are a ton of landscape proxies. Way too many for me to have to create one for each surely (60).

  • @kevinricard7649
    @kevinricard7649 6 месяцев назад

    Nice tutorial ! But unfortunatelt it doesn't work for me.. I got a white blend instaed of the material..

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

    hi ,
    I am new to the the unreal engine .i did step by step as shown in the video but there is a MF_FUZZ node inside my scan item and i am seeing snow like above my rock.I have been stuck over there for week.
    Plz some one help me. I wll be greatful😭😭.

  • @Dragongaze13
    @Dragongaze13 Год назад +11

    I use my own shaders and do not have the "Adjustments" box going into a single "Result" node. Instead, I still have all the elements separated in my result node, hence I have no idea how to follow the steps after 11:35 😞
    I wish people would show tutorials starting from BASIC materials, not premade ones.
    EDIT: For future refrence, in case you're like me just set your Result node to "Use Material Attributes" and work from there.

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

      I'm in the same boat, but I'm not sure what to do after turning my result node into a 'use material attributes' node, as all that happens is my texture/roughness/normal have nowhere to go so the material goes blank.

    • @nickkaverin
      @nickkaverin 8 месяцев назад

      @@cr0uchingtigertry to use make material attributes node