Тёмный

Height Lerp Node | 5-Minute Materials [UE4] 

PrismaticaDev
Подписаться 66 тыс.
Просмотров 47 тыс.
50% 1

Ay ay ay let's go! Today we're looking at the HeightLerp Node. This material function is another banger that will help your textures pop out and look 3-dimensional. It takes in a height texture and enables you to blend between 2 textures/colours using that heightmap, which allows for grass to creep in-between bricks or for snow to fill the gaps in stones. The transition can be driven by a scalar parameter, vertex paint or even by another scalar texture (or all 3!) so the flexibility is endless.
------------------------------
Discord: / discord
RU-vid: / 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 :)

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@PrismaticaDev
@PrismaticaDev 3 года назад
First
@Mar-wr4fm
@Mar-wr4fm 2 года назад
Just wanted to leave a comment saying THANK YOU for this awesome series! I am in my last year of game development and I don't get thought things in depth unfortunately. I personally really love to learn things more on the background in order to tackle issues or even create new things, so thank you for making this awesome series! For every video I watch, I definitely leave a like and I am also subscribed Fantastic job and idea!
@PrismaticaDev
@PrismaticaDev 2 года назад
Thanks so much Mar :) I learn in very much the same way so I figured I’d make videos in the same style. Thanks for watching!
@Fokkusu
@Fokkusu 3 года назад
This is amazing, I imagine they do something similar in Genshin Impact to freeze the water when you use ice magic over water, thanks for enlightening us!
@PrismaticaDev
@PrismaticaDev 3 года назад
Yeah I imagine they use it but put the output into the Opacity Mask! I don't think the ice exists within the water shader though - definitely just a plane with collision and a world position XY-aligned texture (so that they all blend into one another)
@Fokkusu
@Fokkusu 3 года назад
@@PrismaticaDev yea thats a very nice suggestion for anyone wanting to do the same thing :) pog
@brokenhandle
@brokenhandle 3 года назад
Thank you so much for this series, it's been absolutely eye opening and super educating.
@PrismaticaDev
@PrismaticaDev 3 года назад
Thank YOU Eden :) I've had a pleasure sharing this stuff with everyone - excited to share some of the more complex things!
@brokenhandle
@brokenhandle 3 года назад
@@PrismaticaDev you’ve got a dedicated viewer here!! Can’t wait. I also sent your animation playlist to a friend - I think he’ll absolutely love it. Have a great day :)
@PrismaticaDev
@PrismaticaDev 3 года назад
@@brokenhandle Thanks so much!! I'm really looking forward to fleshing out the animation series :)
@AcidAlfa
@AcidAlfa 3 года назад
Easy to follow and understand 👍best channel for material and shader stuff for sure
@PrismaticaDev
@PrismaticaDev 3 года назад
Glad you think so Acid :) Glad the response has been great - I just explain things how I see them haha
@silverknifex
@silverknifex 3 года назад
will be using this soon! cant wait
@PrismaticaDev
@PrismaticaDev 3 года назад
It's an absolute banger!!
@flufflepimp2090
@flufflepimp2090 Год назад
You been my savior more times than I can count good sir
@Xaeveax
@Xaeveax 3 года назад
I never knew this existed. Very helpful!
@PrismaticaDev
@PrismaticaDev 3 года назад
Glad I could be of service my dude :)
@Tkonpk
@Tkonpk 3 года назад
I feel like we're printing gold at this point
@PrismaticaDev
@PrismaticaDev 3 года назад
I think I have a tutorial stored somewhere for that ;)
@denizkre8111
@denizkre8111 2 года назад
niceee i just subscribet! i love the format. exactly what i needed, i appreciate your work and effort
@hpbecraft
@hpbecraft Год назад
that lava shader is 🔥
@alinarangi7826
@alinarangi7826 6 месяцев назад
Thanks, man for your tutorials, to use Height Lerp the object needs lots of Vertexes?
@PrismaticaDev
@PrismaticaDev 6 месяцев назад
If you're using it with Vertex Paint, then it has to have "some" verts. By that I mean that a square with 4 verts wouldn't give you much control, but if you subdivided it even once it would get a lot easier. It's best to experiment and add verts where needed. For example, a lot of the Wall meshes I use from the marketplace were just 1 big plane, and wooden support beams were the same. So I divided them length-wise so the vert colour would be more detailed. But in general, the HeightLerp is there to actually hide the lack of detail haha
@alinarangi7826
@alinarangi7826 6 месяцев назад
@@PrismaticaDevthanks man
@bakedcheese4475
@bakedcheese4475 3 года назад
Hey man love your content, I have learned a lot from your tutorials keep it up! kind of an offtopic question, but what monitor are you using?
@PrismaticaDev
@PrismaticaDev 3 года назад
Heya Cheese! I'm using an AGON as my main monitor - 35 inch, 21:9 ratio, 100Hz, 2K resolution and it's c u r v e d hahaha. An absolute game changer for productivity! As for my 2nd and 3rd monitors one is an old Samsung 720p TV and the other is an even older SoniQ 720p tv haha.
@bakedcheese4475
@bakedcheese4475 3 года назад
@@PrismaticaDev I definitely want an ultra wide for those productivity points xD. But Thanks man, have a wonderful day.
@AgWhatsUp
@AgWhatsUp 2 года назад
tried doing this on a landscape but it didn't work, any options I need on?
@AE_Surowka
@AE_Surowka 3 года назад
Thank you
@PrismaticaDev
@PrismaticaDev 3 года назад
Hope you find it useful! :)
@mannythepirate
@mannythepirate 3 года назад
These are the things
@PrismaticaDev
@PrismaticaDev 3 года назад
The things that go
@yiannibompotsis7219
@yiannibompotsis7219 Год назад
I am trying to figure out how to make a master material with 3 blending textures. Is there any way of making it??
@PrismaticaDev
@PrismaticaDev Год назад
You might want to have a look at my Vertex Painting video :)
@MarioAndYoshi1409
@MarioAndYoshi1409 3 года назад
Awesome! Is this node cheap on performance or should I use it carefully?
@PrismaticaDev
@PrismaticaDev 3 года назад
Extremely cheap - it's just a Lerp and a couple of multiplies. It's essentially free if you're re-using a heightmap or packing a heightmap in your texture (like the one I'm using with it in the Alpha channel)
@MarioAndYoshi1409
@MarioAndYoshi1409 3 года назад
@@PrismaticaDev that's awesome, thank you so much for answering! i think I've said this a couple of times already, but you really are the best resource when it comes to material stuff man, thank you for doing all of this!!!!
@PrismaticaDev
@PrismaticaDev 3 года назад
@@MarioAndYoshi1409 No worries at all, I always reply to 100% of comments haha. Hope to see you in the next one!!
@JieDu-yj2vd
@JieDu-yj2vd Год назад
Hi,Should the grayscale images used to blend textures be linearColor or masked?
@PrismaticaDev
@PrismaticaDev Год назад
Either should work fine as long as the output is 0 to 1 :)
@JieDu-yj2vd
@JieDu-yj2vd Год назад
@@PrismaticaDev Yes, I tested that they can all work, but I want to know which one is better and which one is cheaper?
@PrismaticaDev
@PrismaticaDev Год назад
@@JieDu-yj2vd in terms of performance they're all identical, so just have a look at the Memory usage in the texture details when you change the compression type :)
@Dhieen
@Dhieen 2 года назад
why dont you put your textures in the A and B of the heightlerp instead of a simple lerp?
@danlee7923
@danlee7923 Год назад
It does not work with mip maps unfortunately
@HomakHakerok
@HomakHakerok 3 года назад
damn you are a fucking legend
@PrismaticaDev
@PrismaticaDev 3 года назад
Not as much as you! Thanks for the support m'dude :)
@alessioalonne4333
@alessioalonne4333 2 года назад
GREAT!
@andrewbyrnes6389
@andrewbyrnes6389 3 года назад
But how do you combine this with a world space tiling texture that uses parallax occlusion masking (like a brick wall)
@PrismaticaDev
@PrismaticaDev 3 года назад
So, the parallax occlusion function takes in a heightmap value - you’d just use the same value there as you would here and use it for the colour/normal. If you wanted the moss to actually “fill” the gaps in the bricks, you could add a Clamp to the parallax’s height value of which you could adjust the minimum clamp from 0 to 0.5 or something using the transition value
@andrewbyrnes6389
@andrewbyrnes6389 3 года назад
@@PrismaticaDev I’ll give it a try. Thanks for the tips. I think from memory there was some problems with the tiling because the worldposition needed a texture object and the height blend needed a texture sample but idk. I’ll give it a try again!
@qwetry-j2u
@qwetry-j2u 2 года назад
Hi! Is there a way to use the HeightLerp in conjunction with Parallax Occlusion Mapping? In fact, I'd like to blend 2 materials together (like dirt and pebbles) with POM applied to each of them. I've tried to create such msterial myself, but faced some issues.. Can you make a tutorial about it? I'd really appreciate that :)
@Jukerlaw
@Jukerlaw 3 года назад
Darn it i wanna test it so bad! Pls give the texture u use XD
@YouWillDoAsYouAreTold
@YouWillDoAsYouAreTold 3 года назад
great content :) +1sub
@TheTrickyify
@TheTrickyify 3 года назад
Not first
@cyberafterlife
@cyberafterlife 3 года назад
I love these videos dude, this and the bump offset video you put out have really come in clutch in my collaborative project at uni. Also while I'm here, at around 2:05 you change a parameter and have it update in realtime without needing to apply the material, how do you do that? It would save me so much time rather than having to go to an instance every time I wanna dial in a value.
@PrismaticaDev
@PrismaticaDev 3 года назад
Hey there! Really glad to hear that it helped you out :) As for the parameter, since I have the material on an object in the world it will update in real there, but not in the material viewport for some reason haha.
@vi8799
@vi8799 9 месяцев назад
How to blend 3 materials with it?
@gursimransingh8726
@gursimransingh8726 3 года назад
WHAT ABOUT THE NEW SKY ATMOSPHERE NODES
@PrismaticaDev
@PrismaticaDev 3 года назад
Eeee I haven't used any atmosphere effects yet :'( Haha I will get around to it eventually!
@RomarioDev
@RomarioDev 3 года назад
SUPER LATE BUT AWESOME VID BRO!!!
@PrismaticaDev
@PrismaticaDev 3 года назад
@Martin00able
@Martin00able 3 года назад
You're explaying things really good! Can you make a lesson about auto landscape material? :)
@PrismaticaDev
@PrismaticaDev 3 года назад
Already have! Check out my landscape auto-cliffs video :)
@Martin00able
@Martin00able 3 года назад
@@PrismaticaDev Missed it somehow, thank you :))
@pto2k
@pto2k Год назад
Hello, I wonder where can I find this brick texture assets with alpha? I found some textures from Megascan but they do not contain alpha channels. How would you create height map for those? Thank you!
@lemonworm
@lemonworm 3 года назад
I really want a hard stylized noise and or height driven edge between materials and its basically impossible to accomplish with landscape paint. The wshy washy opacity of the paint is really frustrating to have to resign to. Is it possible/viable to utilize vertex painting instead? Or do you have any other suggested methods of creating a refinable edge between materials?
@PrismaticaDev
@PrismaticaDev 3 года назад
Sure do! You can use HeightBlend instead of WeightBlend to get some great blending going. Landscape painting is basically vertex paint, except there aren't many verts to play with. By using a height texture you can "break up" the grid-y-ness. I'll be doing an entire sub-series about Landscapes in the coming weeks, but feel free to google landscape HeightBlend in the meantime :)
@lemonworm
@lemonworm 3 года назад
@@PrismaticaDev i have height blend w the maps set up but i still am having trouble avoiding the translucent landscape paint brush opacity. Id ideally like to have it set up so the "strength" of the brush fills in the height more, rather than controlling opacity. Even better would be if I could somehow mask the blend between painted materials, like you can with auto landscape, So i could use noise to define the edge
@PrismaticaDev
@PrismaticaDev 3 года назад
@@lemonworm Hmmmmmm... Mind sending me a screenshot on Discord? I'm sure we'll be able to get it working :)
@lemonworm
@lemonworm 3 года назад
@@PrismaticaDev will do !
@FerlinDev
@FerlinDev 3 года назад
First
@PrismaticaDev
@PrismaticaDev 3 года назад
First
@tamwyn0018
@tamwyn0018 3 года назад
Wow the node is so awsome
@PrismaticaDev
@PrismaticaDev 3 года назад
One of my favourites, for sure :)
@cptraymond
@cptraymond 2 года назад
I absolutely love your work!
Далее
Landscapes | 5-Minute Materials [UE4]
9:58
Просмотров 43 тыс.
Single Layer Water | 5-Minute Materials [UE4/UE5]
11:54
+1000 Aura For This Save! 🥵
00:19
Просмотров 9 млн
"Когти льва" Анатолий МАЛЕЦ
53:01
D-Buffer Decals changed my life! [UE5]
24:12
Просмотров 18 тыс.
Why Solo Developers Should Use Unreal
9:51
Просмотров 385 тыс.
Virtual Textures Are Now My Favorite Thing
29:20
Просмотров 52 тыс.
Object Pivot Point | 5-Minute Materials [UE4/UE5]
11:34
The Fresnel Node | 5-Minute Materials [UE4]
6:47
Просмотров 43 тыс.