HOW TO CREATE AN AUTO ALIGN TEXTURE UNREAL ENGINE 5 THE EASY WAY
HTML-код
- Опубликовано: 24 май 2023
- In this video you will learn how to create a texture for use with things like brick walls that will auto align UV's and scaling to make it easier creating large buildings that have brick walls and repeated geometry.
If you found this video helpful hit the like button and consider subscribing to support the channel and help it grow thanks for watching see you in the next one! :) - Игры
Newer Easier version with Normals - ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
Worked like a charm.
Thank you!
there is an update to this I pinned the comment but here is the link -
ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
@@AMMediaGames I Checked it out, but this one works just fine for me, I put it in a function so I can reuse it without worry.
Thanks.
Thank you soooo much. This is works PERFECT for me
Check the pinned comment for an easier version :)
Amazing... !!
Hey YO, this is awesome, I have a quick question though, is there any way to blurr the sharp seams that show up between the directions? I'd really appreciate it, thank you!
In the material you could use a blend/mask to add micro detail for sure, I suggest only really using this for repeating intentional patterns if you click on the pinned comment you will see a quicker updated version but it all depends on what it is you are texturing :)
@@AMMediaGames Dude, that's amazing, you wouldn't happen to have a screenshot of what a blend/mask node setup would look like would you? Could we not just use the same texture to blend between the sharp seams?
@@TheRoyalSkies It's not just that simple it all depends on the mesh the angles the size the resolution of the texture, how much scene space it takes up how noticeable it will be. what type of object is it, is it a rock? is it a door? a wall? a ball? the answer dictates the fix. :) and if you are a subscriber on youtube then I am more the happy to help over on discord.
Awesome, mate! Can't wait to try it!
This is very similar to HAMMER Editor (The software I use to make maps for Valve games like CS Source and GMOD) By default the textures are always in a "perfect world position" (you move walls or floors but the textures don't move or scale with them, which means they are always perfectly aligned and scaled (this can be disabled at anytime you want)) just like what you figured out in this video! It's very useful so thanks for sharing!
Offtopic:
Despite Hammer Editor being made just for Valve games mapping, it has a lot of small tools like this that make mapping so much easier and convenient, Unreal engine is still behind Hammer in useful tools like this, but at least it makes up for it by letting you try and make tools by yourself
Nice! Thank you!
I have been trying to find a way to fix this for nearly a month now (I'm very new to ue5) thank you so much!
Glad I could help!
Here's a better way :) ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
Thanks for the great tutorial!
You are most welcome, Thanks for your appreciative comment.
This helped me greatly! Thank you so much!
No problem thanks for the feedback :)
yes!
Check the pinned comment :)
Wow, this is crazy amazing. Thanks for sharing!
Theres a better one in the pinned comment and i think in the description :)
@@AMMediaGames Oh thanks, I didn't see that.
@@tommygunn2782 no problem i also made a video about controlling rotation too if you need that.
@@AMMediaGames Awesome, I gotta check that one out too.
Thank you! I have been looking everywhere for this answer!!!!😭
use this one instead works with Normals better
ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
This is exactly what I was looking for! Thank you!!
If you wait for about 20 to 30 minutes i am actually uploading a better version of this for you :)
@@AMMediaGames Lol I just saw it. The timing xD
You're a saviour! Thank you so much)
Just what I needed)))
use this newer version instead :)
ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
@@AMMediaGames it's doing the same thing?
two blocks of different sizes will have the same "seamless" texture?
@@MrPyCCkuu1 yes it does the same thing but with the included " normal " map too for depth detail :) and it's easier to setup
Amazing, thanks for the solution! Great video
Check out the pinned comment for an updated version. :)
Thank you so so so so so so much man. Great tutorial and very easy to follow 🤩
You're welcome!
whats gonna happen if rotated?
The world explodes. Merry Christmas 🎅
thanks for the video!!
Most welcome
So useful, thanks
Thanks for the feedback
Awesome!
Check out the link on the pinned comment for an easier way including normals. :)
Will do, thank you.@@AMMediaGames
brilliant!
Thanks hope it helps :)
What about world aligned texture function?
Up to you how ever you want to use it you could use a world align texture node and connect into base colour if you want. But for this video i chose a different way.
You can do it this way too ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
Hi! I've been messing around with getting materials to tile nicely and this tutorial helped A LOT, thanks!
I have been having 1 issue though...
When I apply this to my texture, the top and bottom of cubes turn into streaks rather than the correct tiled texture, have you run into this? I have everything coded the same way as you, but while I watched your video and it looks like your texture tiles correctly on all sides of the cube, mine only works on the edges, and the top and bottom get stretched into oblivion.
Any recommendations?
Well It's impossible for me to recommend anything without being able to see the topology of the mesh you are using if it's a standard Cube or Rectangle go to Material Edit mode in modelling and make sure that the faces are all linked so for example the Front facing " face " is one face and not split into multiple faces etc failing that join my discord and sent me some images of the issue as Unfortunately as honest as I can be it's impossible for me to say what the issue is if I can't see it :)
Thanks@@AMMediaGames ! I found that some of my textures worked fine with the code and some didn't, and it wasn't mesh related. I'll try your suggestions though and see if I can't learn a thing or two by trying to get this sorted on my own. Thanks again for a great tutorial!
@@rpgpaladin7403 here's a newer version ruclips.net/video/ketSy5zRdKo/видео.htmlsi=cPk26uA_7xAYwCZX
Amazing, thanks@@AMMediaGames !
will this method work if I scale the wall horizontally?
Yup
@@AMMediaGames thanks for the vid, cheers.
@@thesmile7595 you are most welcome it will align the texture in all directions including seperate walls if you need any more help or have questions leave me a message here or join my discord as i dont always see youtube messages.
Loved the tutorial and it worked perfectly. But with this method I'm not abled to add the normal map because pixelnormalWS conflicts with setting the normal of the texture.
I'll have to look into a way to get this done, but maybe you already found a way to do it. The textures repeat but now look flat.
I shall take a look and let you know
@@AMMediaGames I just tried something different which looked real clean and it accomplished the same.
I converted the textures to texture objects and then added nodes like WorldAlignedTexture, WorldAlignedNormal and WorldAlingedTexture_SeperateChannels
Those also repeated without moving around and the graph looks clean.
Normalmaps and ORDP maps can also scale this way.
You can look into it. It might make your projects a lot easier to maintain too.
@@LustraGaming I will take a look and yes that sound perfect to be honest good way of reworking that material code.
Thanks for video! What if i have two different brick's material for one wall and i need to merge them?
You can adjust the scale and tiling in the material by changing the value on the UV Param Node.
Ok thanks@@AMMediaGames
Very good video, couldn't get the normal map to work though haha.
Yes pixel normal won't work funnily enough with " Normal " input on a material node but stay tuned as I am doing a follow up on this for normal map too. :)
I never intended for this to be used with normal mapped textures like detailed brick work etc original idea was for wallpaper on walls but it's definitely something i will look into doing in a part 2.
Just really busy working on some projects and other IRL commitments.
so this cant be used on anythign that animates, that moves, otherwise you will see the texture is not moving with object.
Auto align is for static objects, you can use project UVs and UV scaling to get a result you want for movable objects all depends on what outcome you want.
Not sure why you would want a world align material on an animated object any way 🤔
Ctrl+D
I'm having a strange problem in ue5 where all my characters movements and opening doors and stuff has become extremely choppy when in standalone game. Any idea how to fix this?
Hmm, could you possibly elaborate a little more?.
@@AMMediaGames I could upload a video showing it in a bit?
@@DeadEndGames do you have access to discord?
@@AMMediaGames yes
@@DeadEndGames well if you can access my discord channel I can have a look there and see if it's something I can help you with.
ty!
Ya welcome :)
Thats it? thats all we have to do?
Read my pinned comment :)
Hi, thank you for the TUT, i am having an issue with the absolute world position node, mine is different, i am on 5.3, mine has 3 outputs, xyz,xy and z. z is blue.
i have it on the top one, xyz, but it only works on the surface of the cube, stretches vertically.
do you have an idea on how i can fix this?
I am away at the moment for Christmas holidays but when i get back i will help you with this absolutely i do have a discord channel if you hop on to it and post in the " HELP " channel im sure one of the 70 plus members on there will help you quicker failing that if you don't mind waiting till after Christmas i will look into it for you :)
Mine is the same way - just use the xyz for all
0 value key name pls ?
Need a bit of context to a question as to understand what it is you are asking. :)
Are you talking about 5:13?
Hold 1 and left click in the material editor to bring it up.
thank you@@JBReinhardtsen
it was helpful. but i got onr problem. normals cant work. can you explain in the coments how i can fix them?
Its more for wallpaper and basic texturing unfortunately this method is limited but i will be doing another tutorial on bump map and base colour so it works with normals etc.
@@AMMediaGames waiting
@EugeneCat00 check the pinned comment
@@EugeneCat007 check the pinned comment.
Thank you it worked. But when I connect it in the normal texture map it throws error
If you check out the pinned comment theres an updated version for normal maps