Static hatching shader [request]
ฝัง
- เผยแพร่เมื่อ 17 พ.ย. 2024
- I've been asked, is it possible to make my hatching shader: • Hatching shader tutorial static, without moving when the camera moves.
This is a quick test, it's simpler than you think.
All you need to do is to replace all TriplanarCameraVector nodes with WorldAlignedTexture.
Then connect SceneTexture:WorldNormal➡️World Space Normal (V3)
Remember to increase the tilling value of a texture to something like 60
Check my Twitter for pictures: He...
Very nice look! You should add some outlines! I'll have my take on that sooner or later, always wanted to experiment with such effect, I love crosshatching :D
Thank you! In the next tutorial we will explore lines and outlines.
Thank you!
You're wellcome!
Excellent thank you
You are welcome!
@@HepnerKamil subscribed man. I've been looking around for a crayon style shader and it doesn't exist, or no one wants to share it. Do you think it would be too much work for you to attempt?
@@nawhz6292 Sounds Interesting, I'm alwywas happy to help. Contact me on my Twitter if you can. Cheers.
thanks !
You're welcome!
Thank you so much for the videos! Would you have an idea of how to make the cross stitch texture not shift on a moving object?
I've messed around with adding the hatch textures to an objects material, but I'm unable to get it to interact correctly with lighting/shadows besides the main directional light in the scene.
If your object is moving, let's say a character moving across the screen, the hatching would need to move as well. If you want to "stick" the hatching to the moving object, that would require a completely different setup. However, I'm not sure if that's what you really want, do you have an an example of what are you looking for?
is it still possible for the hatching to bend according to the shape of the object if it's static?
I'm also getting UV distortion from world normals.. It looks great in preview but in scene my textures keep moving. Any idea what might be happening?
Hard to say, you probably missed some steps. Try to go step by step and compare your network with the one in the video. If you can't sort it out, send me an email.
@@HepnerKamil Turns out something was somehow corrupted, and the exact same material I had worked in another version.
Does this still work in Ue5? I may be doing it incorrectly but when I follow the instructions in the decription, my hatching texture goes away and becomes just dots and become buggy. They also still move with the camera.
Yes it works in UE5, it could be related that you have high resolution screen like e.g. 4K?
Is there a way to add an outline?
Of course! If you browse through my channel, you will see that we eventually added outlines.
Don't know if you're still active, but my hatching still moves when the camera zooms. Do you know a way to lock these likes to their normals regardless of the camera's zoom level?
Could you please reach out to me via Ko-fi messages or Twitter? I'd like you to share some screenshots of your network with me so I can help you in debug it