Тёмный

Distance Fields (Part 2) | 5-Minute Materials [UE4/UE5] 

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

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@morneau502
@morneau502 Месяц назад
Dude, I just wanted to say - your tutorials are not only extremely helpful, and have been helping me overcome problems, but you are awsome to listen to. It is in the same way I would expect one of my friends to explain something to me, it is subtle, brilliant, and I genuinely enjoy the experience. By contrast, out here in the brambles, we are dealing with shit production effort, unintelligible broken English vinaculars, money grabs, outdated/bad advice, it is a warzone... But you my guy, are a nice bowl of hot soup, thank you.
@edmflashback6743
@edmflashback6743 3 года назад
I honestly have never thought that materials could be used to do so much until I watched your channel. Thanks so much and keep up the great work!
@PrismaticaDev
@PrismaticaDev 3 года назад
Graphics are extremely fun to experiment with :) Glad you're learning a lot!
@edmflashback6743
@edmflashback6743 3 года назад
@@PrismaticaDev I think your calling is to be a teacher, you're so good at it XD
@MarioAndYoshi1409
@MarioAndYoshi1409 3 года назад
amazing, this opens so many possibilities. once again, you’re a legend for creating these tutorials
@PrismaticaDev
@PrismaticaDev 3 года назад
Thank you LennSan :)
@O_biwan
@O_biwan 2 года назад
hope this kind of content continues. Thanks to you, I became friends with Unreal :)
@mattfox9252
@mattfox9252 3 года назад
Awesome video Charlie! Learning someone else's way of using the nodes has helped me out a ton :) you are for sure my favorite UE4 RU-vidr
@PrismaticaDev
@PrismaticaDev 3 года назад
Cheers Mattfox :) Hope you learned some new tricks! Haha
@musikalniyfanboichik
@musikalniyfanboichik 3 года назад
my man you are honestly the best, no words can describe how much i like your videos and how helpful they are 🥺🧡 thanks
@PrismaticaDev
@PrismaticaDev 3 года назад
You’re very welcome. Thanks for watching! ❤️❤️❤️
@danieles6684
@danieles6684 2 года назад
I enjoy your videos, your humor, and your content.
@Supernaturalcloak
@Supernaturalcloak 4 месяца назад
I'm trying to add this to a clear force field, so it will glow blue when a model passes through it. But of course, my model itself doesn't have a visible distance field, so blah... But very cool video! This being is my first week using UE, so it may be a little too advanced for me to figure out. Lol I'm hoping I can still use once I smarten up on the subject. Haha
@PrismaticaDev
@PrismaticaDev 4 месяца назад
You could try adding an invisible shape (masked with an opacity of 1) to your character actor, however it might produce some odd shadows on the character itself
@KommanderKarl
@KommanderKarl 2 года назад
You could probably use this for blending two meshes and their materials
@alf3977
@alf3977 3 года назад
PogChamp as always!!
@PrismaticaDev
@PrismaticaDev 3 года назад
Thanks Alf :) Legend!
@yamasaa
@yamasaa 3 года назад
Looking deeper into the distance eh? Noice
@PrismaticaDev
@PrismaticaDev 3 года назад
VERY deep into the field of distance haha
@Fokkusu
@Fokkusu 3 года назад
great video :D, thanks for keeping uploading tuts when it would be much easier for you to keep working on your game and just that. I value that a lot; this may come as offtopic but 2 weeks ago we got a new member in FeatLander, a veteran programmer, which allows me to finally start specializing into something, so I'm taking the chance to study materials (Ur vids + a course :D) and blender (blender guru tuts + course) so I can unleash that magic that happens when you combine coding with materials with models all in a intentional manner like you do, basically a technical artist or a programmer that can do art, whatever thats called.
@PrismaticaDev
@PrismaticaDev 3 года назад
Totally missed this comment somehow! Really awesome to hear dude :) All the best for you and your new focus!!
@Fokkusu
@Fokkusu 3 года назад
@@PrismaticaDev Hey dont worry I know you always reply even if you take some time to do it :), thanks for the cheers ^^
@melpeslier
@melpeslier 4 месяца назад
For the distance field, you need scalability to be set to medium at least, in low it does not work
@JP-vv6gv
@JP-vv6gv Год назад
Love these videos. Thank you!!
@pygmalion8952
@pygmalion8952 8 месяцев назад
i always wondered hwo they made the blob boss from little nightmares 2 (an unreal engine game) i guess this was used to drive that monster. because it was so smoothly stick to other surfaces.
@JamieBainer
@JamieBainer Год назад
This is exactly what I need to grow grass... Chur.
@CosmicComputer
@CosmicComputer 3 года назад
Yeah!
@PrismaticaDev
@PrismaticaDev 3 года назад
Yeeeeeeeeah!!!!
@NickFromPlanetEarth
@NickFromPlanetEarth 5 месяцев назад
Hi, Charlie, i've been follwing along with this, but my material is not reacting the way yours did with the color changing to whatever position it is in comparison to the cube When i hook DistanceFieldGradient into normalize then into base color it does not make my sphere relative to positioning EDIT: hey Charlie, wanted to let you know i discovered the problem is that in UE 5.3 you need to have [allow distance fields (experimental)] enabled
@VVIZART_STUDIOS24
@VVIZART_STUDIOS24 Месяц назад
I'd really love to know how to get a foam smooth trail when the character moves in the water
@PrismaticaDev
@PrismaticaDev Месяц назад
You'll need to use render targets or particles to achieve it - it's sort of impossible with just Distance Fields or material effects. Check out my Prismatiscape Plugin explanations of how it works :)
@deepshah5572
@deepshah5572 Месяц назад
Yes! I figured that out, I think niagra would be a good option for me as I have experience in that rather than using render targets. Thanks a lot! Your videos are amazing !
@dudwls20
@dudwls20 13 дней назад
This tutorial is really great. Thanks to this video, I was able to implement the effect I wanted to implement. However, there is a problem that I can't solve while experimenting with basic shapes like sphere and cone. Cube and cylinder create an area of ​​DistanceToNearestSurface regardless of depth, but shapes like sphere and cone don't create an area according to depth or angle. Does anyone know a solution to this problem? The version of the engine I'm currently experimenting with is 5.2.1.
@BornStellar-yp5st
@BornStellar-yp5st Год назад
Hey Presmatica, I've been trying to use distance fields with your singlelayerwater's tutorial but seemingly having no luck. Are the two compatible or am I just doing something wrong? Mesh distance fields are on and I've been trying to wrap my head around it.
@Maniac-Design
@Maniac-Design 3 года назад
THANKS !!!!!!!!!!!!!!!!!!!!!!!
@PrismaticaDev
@PrismaticaDev 3 года назад
Thank YOU!!!
@MoTL13
@MoTL13 2 года назад
Hello, Charlie! Thank you for sharing knowledge. But can u help a little more with my question?:) Cant figure out how to make distance field mask (to nearest object node) but with all upper pixels included (up by world Z axi) Something like a cock tail with a dist field mask and projection it to the god’s clouds residence..
@NickFromPlanetEarth
@NickFromPlanetEarth 4 месяца назад
Hi Charlie, your videos are a tremendous help as I learn! However, im yielding a different result after completing this. I posted in the discord with pictures. I've watched a bunch but cant figure out what I must be doing wrong or setting that may be wrong.
@darkhummy
@darkhummy 2 месяца назад
When I tried this, I noticed weird shadows that started showing up on my deforming mesh? It seems to be caused whenever I use the DistanceFieldGradient>Normalized. No idea why
@PrismaticaDev
@PrismaticaDev 2 месяца назад
Hey there - unfortunately Distance Fields don't get applied in the Shadow Pass - it's super dumb haha. You can alleviate it by disabling shadows or using a Shadow Pass switch to try and get the shadows to stop self-casting
@darkhummy
@darkhummy 2 месяца назад
@@PrismaticaDev I did try those fixes initially to no avail. But I my issue ended up being something else. When I selected my (skeletal) mesh, I noticed that the outline of the mesh in the editor was deformed in such a way that would actually explain the weird shadows I was seeing on the mesh itself. Almost like a deformed invisible version of itself was casting shadows.. on itself even though the mesh itself did not appear deformed at all. This confused me as I was working with a 0-1 lerp in my logic, but it seems like in any fresh map I make, the DistanceFieldGradient was always returning 0,0,1 by default instead of 0,0,0 which I would have expected. My lazy fix was to just subtract 0,0,1 from the initial DistanceFieldGradient which zero'd out my logic and resolved it for me. (And I did try deleting all static meshes in the map, thinking that maybe the default floor was creating this upwards value but nope. Weird) Thanks for the pointers though
@손명락-x6u
@손명락-x6u 3 года назад
1:00 There is no color change according to the position like in the video. It just looks like a material screen in the world Generate Mesh Distance Field is on.. What can I do..
@PrismaticaDev
@PrismaticaDev 3 года назад
Hey hey! You need to disable "affect distance field lighting" on the object that is using the material, since the material will interact with its own distance fields. You might also need to enable something in your Project Settings about Distance Fields if that doesn't solve the issue
@손명락-x6u
@손명락-x6u 3 года назад
@@PrismaticaDev oh it's going to work!!! Thank you!!!
@СергійІванов-с1х
Hi. Sorry for my english. Can you show distance field on a small meshes objects? Because if I use small object my disrace field look like on triangle. Tanks.
@PrismaticaDev
@PrismaticaDev Год назад
Hey! You might need to increase the Distance field resolution inside the mesh settings, or the overall resolution in project settings
@gamecreator7214
@gamecreator7214 2 года назад
9:10 tutorial about falling sand
@somelittlething6620
@somelittlething6620 Год назад
Hey PrismaticaDev. How to use Distance Fields to hide water inside the boat? I'm trying to do this but i got stuck.
@PrismaticaDev
@PrismaticaDev Год назад
Oooh that's an interesting one. I guess you would want to use the DistanceFieldGradient node, and mask out anything that is positive Blue/Z. However you wouldn't be able to guarantee that if a boat is sunk it won't mask out the water above it. It would also interact with everything else emitting distance fields (landscape, props etc)
@samuelenslin1850
@samuelenslin1850 2 года назад
Dude, I love your videos, please keep doing them! 2-10 mins is about my attentuíon span and you´ve got just the right balance between going through it as quickly as possible, while still mentioning the "this is why and how else you could do it"....
@CAyou
@CAyou Год назад
Can you convert from world to tangent space so it can follow a river flow (like a spline mesh for example)? Because rivers tend to bend and not fully respect one axis direction. Thanks!
@plasid2
@plasid2 2 года назад
Can you make tutorial how using this trick to make ripple in water system river UE5?
@renalone123
@renalone123 Год назад
Could you make a video of emissive materials in Lumen only light the environment to a certain distance and how to increase the distance, I am really struggling to get the effect as a backlit for a signage and when I move back the backlit slowly dissappears, I really appreciate you could help me out , thanks in advance
@PrismaticaDev
@PrismaticaDev Год назад
Hey hey there - emissives aren't really meant to replace traditional lights with Lumen, since distance fields can only extend a certain distance. I'd recommend combining a rect or spotlight with the emissive parts as a sort of "backup"
@renalone123
@renalone123 Год назад
​@@PrismaticaDev thanks for the reply, I hope this will be solved in the upcoming ue versions. lets cross the finger
@philluo3968
@philluo3968 3 года назад
I have a question,if I want to blend to actor that both use the distanceMaterial,I mean I want to mix to mesh like water ,But it doest work out because I disable "Affect distance field lighting" in details option,it just work in only one actor ,not both ,how can I make it?
@PrismaticaDev
@PrismaticaDev 3 года назад
Hey Phil! As far as I know there isn't really a way for 2 objects to interact like that (which is unfortunate)
@philluo3968
@philluo3968 3 года назад
@@PrismaticaDev thank you for reply,I try another way in hlsl ,its seemly like a hard way
@vincentdautremer3869
@vincentdautremer3869 2 года назад
Thanks a lot for all your videos! i wonder if you can explain me how to use the virtual texture but only to the bottom of a mesh, i don't know if i'm clear but i need in a Waterfall material to put translucency when their is a rock in the water but only below the mesh, and currently with virtual textures it applies also on the top of the mesh :( which i don't need. Thanks a lot !
@Korhartful
@Korhartful 3 года назад
I'm really disappointed you did cut the wave at the end short, I expected a lot more waving. Maybe next time :/
@silentship4967
@silentship4967 3 года назад
Why 10 minus?
@PrismaticaDev
@PrismaticaDev 3 года назад
5 minute materials... DOUBLE TROUBLE!
@shammyjeffu
@shammyjeffu 2 года назад
Wait a minute, this was not 5 minutes :think:. Good videos nonetheless (y)
@ariiteajuventin3408
@ariiteajuventin3408 2 года назад
Awesome as always, but I have a problem with my landscape, the distance field doesn't work, Any idea why and how to fix it ?
@officialAfron
@officialAfron 3 года назад
I have a water that ripples when you step on it but the ripples go on forever and it becomes really glitchy with multiple ripples. How can I use a distance field material to only ripple up to a certain distance away from the character and for the ripples to then finish there?
@РУССКИЙ_СОЛДАТ
@РУССКИЙ_СОЛДАТ 7 месяцев назад
is not actual UE5.
@PrismaticaDev
@PrismaticaDev 7 месяцев назад
It works the exact same, my friend :)
@theAlfier
@theAlfier 3 месяца назад
@@PrismaticaDev it actually doesn't, the exact same graph behaves very funny in 5.3/5.4
@neritonreis3340
@neritonreis3340 Год назад
Cara não entendendo seu canal o que voce faz, não ensina nada so mostra poderia fazer tutoriais seria melhor!
@An0ny
@An0ny 3 года назад
How da hell are you changing values in the master material and it show it in realtime like a material instance
@PrismaticaDev
@PrismaticaDev 3 года назад
I believe if you make something a parameter and look at the material in the editor viewspace it will update in real time. I could be wrong though haha
@poweredbygeeko
@poweredbygeeko 2 года назад
Why is there RuneScape in the background? Lmao wtf?!
@RomarioDev
@RomarioDev 3 года назад
Ahh yes a 5 minutes Material that take 10 minutes noice 👌👌
@arunnaruka6874
@arunnaruka6874 3 года назад
that's just name lol...i mean, blender 'guru' is doing podcast about nft, lazy tutorials have tutorials as long as 20 minutes, default cube is doing SDFs and 'don't get fooled by the new ue5 demo' gets you clickbaited so i think this one is actually pretty close to home...
@anonymousse4138
@anonymousse4138 3 года назад
just so you know the unedited footage is close to 30-45 mins
@PrismaticaDev
@PrismaticaDev 3 года назад
Hahaha it's 2 for the price of 1! ;)
Далее
How I made the Falling Sand shader [Free UE4 Tutorial]
21:01
Parallax Occlusion Mapping | 5-Minute Materials [UE5]
15:21
Water Foam - UE4 Materials 101 - Episode 28
20:35
Просмотров 44 тыс.
Single Layer Water | 5-Minute Materials [UE4/UE5]
11:54
Landscapes | 5-Minute Materials [UE4]
9:58
Просмотров 43 тыс.
Unreal 5 Secrets Every Filmmaker Must Know
15:04
Просмотров 213 тыс.
Lumen for Archviz | An Unreal Engine 5 Course
32:27
Просмотров 203 тыс.
Pathways & Roads using RVTs [UE4/UE5]
20:46
Просмотров 39 тыс.
The Fresnel Node | 5-Minute Materials [UE4]
6:47
Просмотров 43 тыс.