Endless materials in Unreal Engine 4 (Part #1)

  Рет қаралды 30,842

SOA Academy

SOA Academy

Күн бұрын

Пікірлер: 59
@RVillani
@RVillani 3 жыл бұрын
This is, by far, the best tutorial I've seen on solving repetition, because there're no multiple samplers for a single texture map. About the mip problem at the end, you can compute the correct mip to be used by calculating the difference of texel distance for close-by pixels on the screen and use that to decide what resolution mip you need. It sounds complex, but there're two nodes that can do that for you: DDX and DDY. They compute, for whatever you connect into them, the difference in value from the current pixel to the next one, in X and Y, respectively. If you input U and V values with the tiling from your material, they'll give you that difference (without the atlas offsets, because you just want to know how much UV was traveled from a pixel to the next if the coordinates were standard). Then, you can set the texture sampler to use manual Mip mode and input the DDX and DDY values. UE will then know which mip it should use for the current distance in the screen. Forcing a higher res mip to be displayed could be bad for performance on a material that uses that technique for several textures at once.
@marcusmuller9014
@marcusmuller9014 3 жыл бұрын
For lowering the MipMapping issue you can also set the MipMap settings to Derivative, create DDX & DDY node and put the output of the created DDX and DDY nodes (input for both these nodes are the UVs before the ADD at the end - so the original UVs) into the DDX and DDY inputs of the texture. The UV input of the texture stays the same of course. Maybe not as good as the other technique, but sufficient in many cases and as far as I understand it prevents oversampling like in the other technique.
@robertpaulig7359
@robertpaulig7359 4 жыл бұрын
This is a terrific lesson. Thanks. Detailed illustrations and explanations. Excellent work.
@stateofartacademy
@stateofartacademy 4 жыл бұрын
Thank you Robert! I'm happy you enjoyed it!
@luislazaro9627
@luislazaro9627 4 жыл бұрын
"Pure Gold" Info, thanks.
@ZooDinghy
@ZooDinghy 4 жыл бұрын
Jesus Christ! I am just 3 minutes in and this is already incredible! The way this is taught is just wonderful!
@LyubomirIko
@LyubomirIko 2 жыл бұрын
The MipMapping issue makes this method mostly unusable...Is there an actual fix?
@mv4770
@mv4770 4 жыл бұрын
Been following tuts for weeks now, and this is by far the best one I've dealt with. By far. Thank you!
@AtTheEast18
@AtTheEast18 5 жыл бұрын
The holy grail of texturing. Thank you so much SOA. When will part 2 come out?
@stateofartacademy
@stateofartacademy 5 жыл бұрын
After Easter Holidays. Thanks for your comment, really. See ya soon!
@TacoTimePablo
@TacoTimePablo 3 жыл бұрын
Amazing tutorial! As a beginner I could easily follow along on this one! But I also have a question / small request and maybe a challenge: How would you make this work with an AbsoluteWorldPosition or a WorldAlignedTexture node? Is there a way?
@runasveta
@runasveta 2 жыл бұрын
Hi! Did you manage to get it to work with world position? If yes, please tell me how?
@ConnorW8
@ConnorW8 4 жыл бұрын
wow a tutorial that actually worked and that a beginner could follow along to. much appreciated :)
@stateofartacademy
@stateofartacademy 4 жыл бұрын
Thank you for the comment! Much appreciated too!
@ZeldaRokz
@ZeldaRokz 4 жыл бұрын
Great tutorial. Quick question though. I'm trying to apply what I learned from this video on a texture with rectangular tiles. So 4 rows and 6 columns. While yes, I could rely on the technique from the second video I have a dozen of materials I want to do this with which makes the added expense of essentially quadrupling the texture (have 4 variations packed together into one texture) required for the method in the second part feel very wasteful in terms of resources. It makes sense if there are no other options like in the case of a complicated hexagonal tile or the desert texture from the second video, but this feels like the kind of thing where a solution to my problem should exist. I have already spent well over hour bashing my head against this problem so Any help would be greatly appreciated ;).
@MrPangahas
@MrPangahas 5 жыл бұрын
I have to say the production value in this is top notch.Presentation and content are very very good.
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Thanks mate, your comment made my day.
@tgo1826
@tgo1826 4 жыл бұрын
Thanks for the great tutorial. By the way, when the textur is applied, the texture is completely lost and only the color is applied. What should i do?
@markbay9275
@markbay9275 3 жыл бұрын
Masterful command of materials. Great tutorial, friend.
@ВладимирНемов-ы9е
@ВладимирНемов-ы9е 5 жыл бұрын
The God of Random texture!
@kiariancoohill1679
@kiariancoohill1679 5 жыл бұрын
This is an excellent tutorial. I'm just following along, but you're a genius to think of how to do this.
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Thanks mate :D Not a genius, probably just really motivated to find a solution on this :|
@stateofartacademy
@stateofartacademy 5 жыл бұрын
SECOND PART HERE! ---> kzbin.info/www/bejne/rZKsqYSMa953nac
@FatalisArx
@FatalisArx 3 жыл бұрын
Hi, how we can make same material for a Parquet texture to get and fillet pattern of it ?! thx
@musiczen7359
@musiczen7359 2 жыл бұрын
Noob question, why does DDX and DDY not work with normal maps?
@alaayhya2848
@alaayhya2848 2 жыл бұрын
you are the best man keep it up
@interista-1908
@interista-1908 5 жыл бұрын
Thank you sir for this awesome tutorial! Keep 'em coming.
@ahmedsaif81
@ahmedsaif81 3 жыл бұрын
Hands Down man u are a Legend
@stateofartacademy
@stateofartacademy 3 жыл бұрын
AHAH thanks mate
@peter486
@peter486 5 жыл бұрын
can this be done with different texture sets?. i can see how this would be useful. Kind of like Atlas in a way from Substance do you have to write a script for the viewing distance? or does it always take the lowest depending on what distance.
@stateofartacademy
@stateofartacademy 5 жыл бұрын
You will be able to do this with different kind of texture with the next tutorial I'll release. What you mean about "do you have to write a script for the viewing distance" ?
@peter486
@peter486 5 жыл бұрын
@@stateofartacademy as in "camera distance" Up close with tessellation and far no tessellation just a 4 sided plane . and its all scaled dynamically based of the viewing distance basically.
@soaacademy
@soaacademy 5 жыл бұрын
@@peter486 Correct me if I'm wrong. You're asking if it's possible to achieve with this method something like a landscape material with more textures? Sorry mate but I didn't get the first question.
@LowFiTitan
@LowFiTitan 5 жыл бұрын
Could you use this same method fo doing random skin detail on a human face?
@3darchstuffs
@3darchstuffs 5 жыл бұрын
Very nice tut. Keep it up.
@soaacademy
@soaacademy 5 жыл бұрын
Thanks mate.
@SomeKindOfMattias
@SomeKindOfMattias 3 жыл бұрын
The programmer in me gasped when you put a & in a parameter name :D. But just stellar work, amazing
@stateofartacademy
@stateofartacademy 3 жыл бұрын
haha mate you made my day, I'll stop using &!
@BharathidasanNatarajan
@BharathidasanNatarajan 5 жыл бұрын
good one! looks like substance designer workflow! thanks.
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Thanks! Yes, it resemble the substance trick in some way :D
@Jjauuza
@Jjauuza 5 жыл бұрын
A thing of beauty. :)
@YuuJer
@YuuJer 5 жыл бұрын
cool! at 18:30 would a saturate work the same as a 0-1 clamp?
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Mmh I don't know, we should try. I'm kind of sure that clamp is a cheaper node than desaturation anyway.
@sculptingtools339
@sculptingtools339 5 жыл бұрын
Dude, this is fantastic!
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Thanks!
@sandervereecken8128
@sandervereecken8128 5 жыл бұрын
Hi, great vid, old technique that i think to little people know about! If you want you can even random rotate all squares in the same way you offset them and use ciel to either rotate them 90 deg or fully have them random. Also if you have a flat generic texture you can use the random ofset without the ceil and just add the edges in with a mask this creates a even more random look. And ofcourse you can scale stuff a tiny bit. Just my 2 cents. Thanks again for the great vid and hopefully we will get fully seeded textures in the future
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Hi Sander! In this particular setup you don't want to rotate them or offset them by a random value. The reason is that endless textures work only if you keep them all the same direction so the edges are still tileable together!
@sandervereecken8128
@sandervereecken8128 5 жыл бұрын
@@stateofartacademy hi, i get that, thats why i said mask the edges so only those stay the same and all other things will be fully random, and if the edges are thin you dont get that tiling feel from it.
@sandervereecken8128
@sandervereecken8128 5 жыл бұрын
@@stateofartacademy i agrea it does not work with the setup that you mention but if you simply take a mesh that does not have the tile info and is just generic, then use a different one to add the normal of a tile in. Thanks for the replay
@stateofartacademy
@stateofartacademy 5 жыл бұрын
@@sandervereecken8128 Yes you can do that, but then you need to load even more textures in Unreal, and that's precisely what I tried not to do.
@sandervereecken8128
@sandervereecken8128 5 жыл бұрын
@@stateofartacademy ah, well it works, there is a node called texture bombing that does it aswell a bit but not for tiles, just so you know. Have a nice one
@0x_Anakin
@0x_Anakin 4 жыл бұрын
Great Video
@BlenderIndonesia
@BlenderIndonesia 3 жыл бұрын
cool
@kinggore2969
@kinggore2969 5 жыл бұрын
good stuff.
@stateofartacademy
@stateofartacademy 5 жыл бұрын
Thanks King!
@vorklan
@vorklan 4 жыл бұрын
Whenever I use a material it looks ugly
@lucidphoenix5613
@lucidphoenix5613 4 жыл бұрын
but what's that song tho >_>
@munderwood
@munderwood 4 жыл бұрын
Yep, the people need to know!
Endless materials in Unreal Engine 4 (Part #2)
11:56
SOA Academy
Рет қаралды 11 М.
Sine and Cosine Nodes | 5-Minute Materials [UE4]
9:27
PrismaticaDev
Рет қаралды 39 М.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4,1 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 10 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 2,5 МЛН
Building a Random Tile Material - Unreal Engine 4 Tech Art S01E11
8:42
Using Poliigon displacement textures in Unreal Engine 4
11:57
Poliigon Documentation
Рет қаралды 390 М.
Square Grid Material Function
11:50
SkorAU
Рет қаралды 7 М.
Elon Musk fires employees in twitter meeting DUB
1:58
GeoMFilms
Рет қаралды 16 МЛН
Breaking up Tiling Materials in UE4
8:24
tharlevfx
Рет қаралды 23 М.
Unreal Engine Materials in 6 Levels of Complexity
44:12
pwnisher
Рет қаралды 267 М.
Megascans Plugin for Unreal Engine: Vertex Blend Material
11:40
you need to learn procedural texturing
3:20
Stylized Station
Рет қаралды 242 М.
Dynamic Gradients in Unreal
21:36
tharlevfx
Рет қаралды 27 М.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4,1 МЛН