Texture Variation Node | 5-Minute Materials [UE4]

Поділитися
Вставка
  • Опубліковано 3 чер 2024
  • Today we're looking at the Texture Variation Node in Unreal Engine! (Also know as (texture bombing") This material function is perfect for getting rid of ugly tiling and creating random patches of texture with random scale and rotation! This is achieved by distorting the UV's of your texture, not by sampling the texture multiple times. It can also take in a Heightmap to make the transition between patches more natural. Although it can add some instructions and texture samples to your material, it has a fixed cost and is perfect for Landscapes!
    ------------------------------
    Discord: / discord
    UA-cam: / prismaticadev
    Twitch: / prismaticadev
    Patreon: / prismaticadev
    Twitter: / prismaticadev
    ------------------------------
    Computer Specs:
    Ryzen 3900x 12-core CPU
    MSI Geforce RTX 2080 Super
    64GB Corsair RAM
    One of those fancy nvme m.2 SSD's
    Programs of choice:
    Unreal Engine 4 - (Game Dev)
    Blender 2.8 - (Animation and Modelling)
    OBS - (Video/screen capture)
    Davinci Resolve - (Video editing)
    Adobe Photoshop - (Graphics and Texturing)
    Quixel Mixer - (Texturing)
    ProTools 11 - (Compositions and mixing)
    OldSchool Runescape - (Chillax time)
    Filmed using:
    Sony A7s2 body
    Sony 24-70mm f/2.8 GM lens
    Yonguo YN360 LED's for colour
    Yongnuo YN760 chip LED w/ Godox softbox for key
    My lovely cats names are Boycat, Girlcat and Ladycat :)

КОМЕНТАРІ • 69

  • @NocturnalMorning
    @NocturnalMorning 2 роки тому +3

    I'd just like to say, I recognize Runescape music anywhere (didn't even notice it was in the description), adds a nice nostalgia for me. Nice tutorial, thanks for putting it out.

  • @MarioAndYoshi1409
    @MarioAndYoshi1409 3 роки тому +23

    amazing as always. this 5 minute material series is one of the best resource i've found for tech art, thank you so much for doing this

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +3

      Really happy to hear that :) They're my favourite videos to make!

  • @unreasonablebastards753
    @unreasonablebastards753 2 роки тому +5

    wtf man. This is the best series on UE on UA-cam I swear, how is this hidden gem so hidden

  • @unmodify
    @unmodify 3 роки тому +5

    Brilliant, thank you for explaining this, quick and useful. I edited texture variation node to give me the dithering value as an output and now can lerp between the shifted uv texture and another one. It's so great that unreal lets you just riff on the tools they supplied. *gratitiude & joy*

  • @mitchellrcohen
    @mitchellrcohen Рік тому +4

    Pls keep making these. Thank you. I appreciate your intelligence and the time you took to make these.

  • @BeamFreqGames
    @BeamFreqGames Рік тому +1

    In Destiny 2, whether you're close to a wall, for instance, or a short distance away, you can see sharp detail. This is the tutorial that emulates that the most (along with Landscapes | 5-Minute Materials.) Thank you. Very good work.

  • @T0b1maru
    @T0b1maru 3 роки тому +4

    I initially thought I would have to do a lot of research just to learn basics of material in UE4. But your videos really really help grasp the basics. Thanks man! These videos are perfect.

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      So happy to hear that! That's exactly why I started making videos in the first place :) Hopefully once you know your way around the tools you'll be able to do anything

  • @medrcon388
    @medrcon388 2 роки тому

    Amassing work, thank you

  • @KaitheArtGuy
    @KaitheArtGuy Рік тому +1

    Used this to fix grass/dirt textures in my game, thanks man!

  • @makhgon
    @makhgon 2 роки тому +4

    All of your videos are so helpful and demystifying! Im taking notes on them and feeling my brain sparkle so thank you!
    One critique I have though is that I’m noticing that when you go to review the functionality of each node at the end of each video you use the name of the node to define itself - and I feel you could spend more time to find a different set of words to define each node
    For example you said something like “the texture variation node is a node that adds variation to a texture”
    I feel like it’s a better teaching practice to be like “the texture variation node is a node that stacks textures on top of each other at different rotations and blends the seams between them with the use of a height map”
    I’ve had some experience teaching Maya to beginners and I found that this definition technique is more useful than using the name of something to define itself - I hope I don’t sound too critical or anal about this stuff I just thought it would be something useful to keep in mind for future videos ::))
    Again, thank you so much for this tutorial set! I’m learning a lot!
    ✨✨❤️‍🔥 m

  • @Fokkusu
    @Fokkusu 3 роки тому +1

    Amazing node, its great to break tiling with great effect for those surfaces that are kinda barren and you cant mix them, epic :D

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Absolutely! Getting rid of ugly/obvious tiling is always a pain but this makes it simple

  • @Kog580
    @Kog580 Рік тому +1

    Hello to the cat. Charming cat! The lesson is cool, thanks for it!

  • @exLeute
    @exLeute 2 роки тому

    You are brilliant, ty for this.

  • @vtx2965
    @vtx2965 2 роки тому

    Finally, something that works without the bullshit, nice work!

  • @MrInternetMan
    @MrInternetMan 4 місяці тому

    Appreciate the music choice my dude.

  • @HomakHakerok
    @HomakHakerok 3 роки тому +2

    yeeeeeeeeees, thank you for your work!!!!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      No problems at all :) Glad you're enjoying!

  • @isays
    @isays 2 роки тому

    Thank you, this was fantastic!
    I was looking at other macro-variation methods to break up my tiling, but this was the only one that was actually effective!
    I notice that the node says to turn on derived mipmap on the texture samples. You didn't and it seems to be fine - wondering what effect it'd have.

  • @cathychoi6959
    @cathychoi6959 2 роки тому

    thanks for saving my life

  • @WoodyDevs
    @WoodyDevs 3 роки тому

    I didn't even know about this. So good! Theoretically, for animation purposes, any expensiveness this would create would probably be worth it, right? Totally worth it if you've got a fixed amount of stuff in frame, yeah?

  • @adils4604
    @adils4604 2 роки тому +1

    I see this and I am seeing it looks like the right texture variation I need, it might be expensive but for the first time it should be fine

    • @PrismaticaDev
      @PrismaticaDev  2 роки тому +1

      I'd say it's less expensive than sampling the same texture multiple times since it's just using UV distortion, although it does use generated noise so I guess in some ways it's less expensive and more expensive in others haha

  • @_____J______
    @_____J______ 2 роки тому +1

    *YES YES YES*
    *YOU'RE GENIUS*
    My few days headache *how to solve tiling is SOLVED*

  • @Marcryzk1
    @Marcryzk1 Рік тому

    is there any way to use this with world aligned textures?

  • @baniphng8531
    @baniphng8531 7 місяців тому

    Hi There, sorry im new here. It's really good video, but does it only works horizontally? because i put on vertical objects/faces and its only vertically lines from the material

  • @gehtsiegarnixan
    @gehtsiegarnixan 3 роки тому +2

    Thank you

  • @yearight1205
    @yearight1205 2 місяці тому

    Now that Nanite Tessellation is going to be a thing in Unreal Engine 5.4 and beyond, will you please consider returning to the Texture Variation Node and explain how to make it work better with Nanite Tessellation? It would be the ideal node to create large landscapes that don't at all look repetitive, but at the present time it has its issues to say the least.

  • @umarcga7823
    @umarcga7823 2 роки тому +1

    I spend 2 hours on youtube on all sorts of video explain different complex method for doing this.... before I found this video..... God! my life is tough!

  • @BlenderIndonesia
    @BlenderIndonesia 2 роки тому

    thanks

  • @ryanpatton1795
    @ryanpatton1795 Рік тому

    immediately liked for using OSRS music

  • @nocnestudio7845
    @nocnestudio7845 2 роки тому

    Great. Can you make this variation with displacement??? ;(

  • @GTexperience_Channel
    @GTexperience_Channel 26 днів тому

    doesn't this create problems for the texture on the side of objects? how would one fix that?

  • @johninglis2622
    @johninglis2622 3 роки тому +1

    What's the difference between this and texture bombing

  • @RedRocksies
    @RedRocksies Рік тому +4

    Help, this works with flat objects but if object has even little bit of height or steep incline, it all gets super super stretched and I have no idea what to do about it

    • @marcelenderle4904
      @marcelenderle4904 9 місяців тому

      Yep....got stucked in the same problem....it's a shame because its a really fine setup

    • @filmfortressHD
      @filmfortressHD 17 днів тому

      Its because you used the world position in the X and Y directions to project the Textures (as he did in the video) but you can of course use your own UVs with a texture coordinate Node. And for Landscapes you could maybe use the World Aligned Texture node first to have triplanar mapping and then do the texture variations (or the other way around).

  • @eggZ663
    @eggZ663 2 роки тому

    Only just found out about this -_- But one thing extra is you wanna use DDX and DDY outputs to get rid of those weird blank line between the blends

    • @grahamhearne85
      @grahamhearne85 4 місяці тому

      how can you use DDX and DDY with displacement? struggling to get that to work

  • @Alaabale
    @Alaabale 3 роки тому +2

    great video
    but I recommend using ue4 world aligned texture in land scape instead of using world position only

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Heya! It depends on the landscape itself - if it isn't very mountainous then you can get away with just World RG aligned, which will end up saving 2 texture samples per layer :)

    • @Alaabale
      @Alaabale 3 роки тому

      @@PrismaticaDev yeah you are right

  • @homienum2121
    @homienum2121 3 роки тому +1

    what is the mask channel? i mean what is the node's actual name?

  • @johninglis2622
    @johninglis2622 3 роки тому +1

    for the 3vector there isnt an alpha channel?

  • @Seecondchance
    @Seecondchance 2 роки тому +1

    How is this different from Texture Bombing?

    • @PrismaticaDev
      @PrismaticaDev  2 роки тому +2

      I believe texture bombing will sample the texture multiple times, where as this node only alters the UV's of the texture, resulting in less instructions when the same UV coords are shared between multiple samples :)

  • @1NSAFSIZ
    @1NSAFSIZ Рік тому

    Next Prismatica video: "I made a whole game with just shaders and it can be playable!"
    By the way, I'm not gonna be suprised if you do this XD

  • @stormolflak
    @stormolflak 2 роки тому

    👍

  • @Imhotephp
    @Imhotephp 3 роки тому +1

    Great tutorial, wrong texture example. This method is a really great way to hide tiling of non uniform textures such as dirt or grass. Bricks are the opposite of that :D

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Haha precisely, except the effects wouldn't be as noticeable with a non-uniform texture for the sake of explaining it which is why I chose an example that had an orientation :)

    • @Imhotephp
      @Imhotephp 3 роки тому

      @@PrismaticaDev You have a point. My bad :D

    • @kenalpha3
      @kenalpha3 2 роки тому

      Clarification. I have a uniform rock pattern on a cube, that I need to hide the seams in 2 ways: 1)Putting 2 cubes together, and
      2) X and Y and Z edges matching, or blended. The rocks almost are pentagon shape, but not exactly. What type of magic texture do I need?
      #1 I can almost do it with a glitchy triplaner code I found on Blueprintue. (It's glitching because everything was pasted twice, but I have only 1 Final node to hook up to. So idk which of the double branches to connect to.)
      But using it, I can put 2 cubes together to match seams on X X. But I need a variable to adjust the tiling of YY to match the seam of XX. Can someone help me with the code for that? Then I can make 3 instances.. for X faces, Y, and Z faces. And adjust each axis instance to line up better?
      #2 Or can someone teach me how to apply a masked Inner-glow (black color) ring [square shaped for my cube mesh] on my final material display?
      So that all the color, bump, etc turns black at the edges (like dark cracks of a rock), and thus the identifiable [lit] pebbles wont be see as getting cut off at the seams. Thanks.

  • @Alaabale
    @Alaabale 3 роки тому +2

    Hi can you make a video for Pixel Depth Offset

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +2

      Yes!! Absolutely :) I completely forgot about PDO, thanks for recommending :)

    • @Alaabale
      @Alaabale 3 роки тому

      @@PrismaticaDev thanks

  • @ericalexandernavarra
    @ericalexandernavarra Рік тому

    wow

  • @ethanwasme4307
    @ethanwasme4307 Рік тому

    i like using these on "distant" textures since they look shit up close

  • @FuelzH
    @FuelzH Рік тому +1

    My texture is stretched out on the side

  • @TheTrickyify
    @TheTrickyify 3 роки тому +4

    wow im first