Cross-Hatching material Post Process [UE5, valid for UE4]

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 94

  • @GoatOfTheWoods
    @GoatOfTheWoods Год назад +17

    Just found your channel. You are on a toootaly diferent level than the usual UE tutorial creator. Outstanding level of understanding!
    Please do more.

  • @MatrakenKEN
    @MatrakenKEN Год назад +8

    I think adding the same line thickness variance to the outline would give it an even more hand drawn look, thanks for the tutorial as always!

  • @aaronsimon5527
    @aaronsimon5527 Год назад +5

    Absolutely incredible

  • @georgew6478
    @georgew6478 Год назад +7

    How do you create those purple nodes at 3:37 in the video? Seems like they are "variable" nodes that are used for convenience so that the graph doesn't have too many intersecting lines. I tried searching in the unreal docs but I'm having a hard time finding it

  • @MonsterJuiced
    @MonsterJuiced Год назад +1

    I love your sense of humour. Youre right that other method would be a complete disaster to implement 😂

  • @rafapiasek6981
    @rafapiasek6981 5 месяцев назад

    Keep up good work. I love this kind of content from you.

  • @AboutJOB-dq6pj
    @AboutJOB-dq6pj Год назад +2

    Wow it's reall nice tutorial!! Thank you!

  • @RwanLink
    @RwanLink Год назад +1

    This is really good! Do you know how to make a paint stroke effect?

    • @VisualTechArt
      @VisualTechArt  Год назад +1

      Maybe ahahaha

    • @maahisingh7181
      @maahisingh7181 Год назад

      Maybe search for Kuhara effect, that will help you in a direction to start with :)

  • @TheGerislavcheva
    @TheGerislavcheva 2 месяца назад

    Hi! Your tutorial is awsome but im struggling to understand. Are the red nodes that you are yousing at 5:42 Named routs also?

    • @VisualTechArt
      @VisualTechArt  2 месяца назад

      They're Function Inputs :)
      I'm editing a Material Function in that bit

  • @Mireneye
    @Mireneye Год назад

    I'm curious how it would look to draw one set of lines, and then using a kernel that effectively enhances the line towards a perpendicular angle to the line. WIth a kernel set up correctly it could perhaps produce a cross hatch pattern or something close to it.

  • @glenrose7482
    @glenrose7482 Год назад +2

    How does it look on camera moves? Whether that be a circular dolly or parallel dolly move.

    • @VisualTechArt
      @VisualTechArt  Год назад +3

      It's not amazing but I thought it would have been worse :) I feel like the only "disturbing" movement is when the camera goes back and forth, otherwise panning and rotation are fine. Of course you want to remove as much of the temporal effects as you can, otherwise you just get a mess of ghosting

    • @wpwscience4027
      @wpwscience4027 Год назад +3

      A lot of disturbance with these kinds of effects goes away if you can get the any texture you apply to the screen (like that paint one at the end) to project in the world instead of on the camera, which I remember being a real pain to get right, OR just turn those effects way down, you might consider lerping their intensity to something you control with a material parameter collection, then tune it down when your character or camera is apt to do a lot of motion, then back up when they settle down, since these types of effects look so good when you don't have your head on swivvel.

  • @LollyPoppi
    @LollyPoppi 2 месяца назад

    Hey, really love they effect! I wanted to know if it's possible to apply this only on shadow? I'm totally new on this and learning. Thanks.

    • @VisualTechArt
      @VisualTechArt  2 месяца назад

      If you can isolate the shadow, you can use it as a mask :)
      I'd suggest you to watch my Physically Based Cel Shader video, it might give you some hints ;)

  • @fulgi1556
    @fulgi1556 2 месяца назад

    How do you create function nodes at 5:41? are those "in engine" nodes or a collapsed group?
    Great tutorial btw, very helpful.

    • @fulgi1556
      @fulgi1556 2 месяца назад

      i just found out that i can't see input functions in the graph editor. don't know why.

    • @VisualTechArt
      @VisualTechArt  2 месяца назад

      Because that's a Material Function, not a Material :)

  • @fulgi1556
    @fulgi1556 Месяц назад

    Great tutorial! i love the final look of this shader but when i try to make video renders i loose every detail cause it’s all motion blur. is there a way to avoid this problem?

    • @VisualTechArt
      @VisualTechArt  Месяц назад

      Remove Motion Blur xD
      I would personally go much further to make the image work with such a stylized look, photorealistic behaviours would not cut it

  • @FlyToha
    @FlyToha Год назад

    Amazing! Thank you for your videos!

  • @ec1ipsed93
    @ec1ipsed93 5 месяцев назад +2

    I might have missed something, but my texture seems to be applied to the screen instead of being specifically on the shadows. If I did miss something what was it, and if this is how it's meant to be how would I go about changing it?

    • @VisualTechArt
      @VisualTechArt  5 месяцев назад +1

      Double check your thresholds or if you missed bits in the tutorial :)
      If you have a different light setup your threshold will be different, experiment with parameters

    • @gilnye
      @gilnye 4 месяца назад +1

      I also ran into this issue (Using UE 5.4)

    • @ec1ipsed93
      @ec1ipsed93 4 месяца назад

      @@gilnye i found out how to fix it, visual tech art was partially correct in tweaking the values (if the effect is all over your screen you have to change the values), but the main issue that effected the shadows themselves sticking to your screen rather than the world was the fact that (as far as i can tell) thats not what is intended in this tutorial. making it stick would be completely possible if you used the WorldAlignedTexture node, though i dont know exactly how youd implement it.
      if youre intending to use this in a game, Kamil Hepner has a tutorial (video is called "Hatching shader tutorial" on his channel) that is much better suited for video games, especially as it isnt procedural and therefore uses far less processing power, and also introduces you to using curves and curve atlases which are very very useful. This however, does have kind of the same issue, but it can be resolved by simply changing the TriplanarCameraVector node that the SceneTexture:WorldNormal node connects into with the previously mentioned WorldAlignedTexture node. this will give you the effect that im guessing you want, though you do need to make your own hatching images that are displayed.
      really hope this helps you, feel free to ask any questions here and ill do my best to help more :)

    • @ec1ipsed93
      @ec1ipsed93 4 месяца назад +1

      @@gilnye I gave a longer response to this but youtube didn't send it through for some reason. but in addition to tweaking values, take a look at the WorldAlignedTexture node, it'd be possible to implement into here if this is the effect that you want.

    • @gilnye
      @gilnye 4 месяца назад

      @@ec1ipsed93 thank you so much!

  • @serialproduction_
    @serialproduction_ 3 месяца назад

    I get lost at 5:52, the node functionInput does not appear to me

    • @VisualTechArt
      @VisualTechArt  2 месяца назад

      Have you created a Material Function?

  • @Dae-hyeon
    @Dae-hyeon Год назад +1

    Thank you for the good video

  • @hoodiekid8439
    @hoodiekid8439 2 месяца назад

    I'll try to add it to my path traced anisotropic kuwahara experiment

  • @JGHHTechArt
    @JGHHTechArt Год назад

    Phenomenal stuff! Would it be possible to isolate the specular highlight and outline it also?

    • @VisualTechArt
      @VisualTechArt  Год назад

      Yes, you can run the filter on the PPInput0 and threshold it to a certain amount of luminosity

  • @wpwscience4027
    @wpwscience4027 Год назад

    If I remember correctly one of the things about your Voronoi (or how I used it, I forget) was getting a distance field sort of gradient towards the edge of the voronoi cell. That might be something to consider using to vary the line thickness, so the lines trail off at the edge of the cells, instead of just stopping. Also props for getting the light direction that way. I wish I knew about that a year ago. I ended up simulating a whole track the sun across the sky thing pumping the value to a material parameter collection in my level blueprint on tick. Could have saved lots of cost. Has that always been there?

    • @VisualTechArt
      @VisualTechArt  Год назад +1

      It hasn't been around for lots of time, but I don't remember when they added it :)

  • @MrCompassionate01
    @MrCompassionate01 6 месяцев назад

    3:34 How did you consolidate all that stuff into those purple Reroute nodes?

    • @VisualTechArt
      @VisualTechArt  6 месяцев назад

      It's just a video transition, I just moved the nodes away and left on screen the getters of the nodes :)

    • @MrCompassionate01
      @MrCompassionate01 6 месяцев назад

      @@VisualTechArt Gotcha, thank you!

  • @habagun737
    @habagun737 Месяц назад

    Hello I want to buy this. Is it only for black and white or does it render also mesh textures and colors

    • @VisualTechArt
      @VisualTechArt  Месяц назад

      The shader does what you see in the video, but it's very easy to composite over the coloured image :)

  • @hotbergina
    @hotbergina Год назад

    thank you !!!!!!!!! on unreal engine 5, depending on the area the character is, is it possible to change the shader of the environment and the shading of the character too ?

  • @isaacolander8291
    @isaacolander8291 3 месяца назад

    Is there a way to keep the color? So it's not replaced by black and white

    • @VisualTechArt
      @VisualTechArt  3 месяца назад +1

      You can multiply it on the PostProcessInput0 :)

  • @AstralManu
    @AstralManu 9 месяцев назад

    Hi! Maybe this is a silly question, but how did you merge the nodes into one like you did in 3:37 ?

    • @VisualTechArt
      @VisualTechArt  9 месяцев назад

      I've just made a transition with the named reroute nodes :)

  • @SnajpHajp
    @SnajpHajp Год назад

    Hello friends, does someone know how can I to this scene ad a colored light maybe?
    So I have a scene that is black and white and I want to ad simple yellow light or blue for adding that warm/cold effect to the scene.
    I tried adding scene texture as postprocess then normalizing, multiplying it and adding to current texture, and it showed colored light but it also showed all other textures :/.
    Much grateful if someone can help!

    • @VisualTechArt
      @VisualTechArt  Год назад +1

      Multiply the PostProcessInput0 on the result of the crosshatching :)

    • @SnajpHajp
      @SnajpHajp Год назад

      @@VisualTechArt Oh I can understand now, I did multiply it but there is a catch. I can see other materials colors, for example if building has red color I can see it is red and I can see the color of my light that is yellow. I kind of cheated and gave all models black/yellow mat and light is colored hahaahaha. Thank you very much for your response!

  • @DatPhan-uo7ep
    @DatPhan-uo7ep 9 месяцев назад

    how do you create named reroute nodes with the same color?

    • @VisualTechArt
      @VisualTechArt  9 месяцев назад

      You can set their colour in the details panel :)

  • @bewarejoki
    @bewarejoki 10 месяцев назад

    How did you create the Node ´CrossHatchingLayer´? at 6:01 ?

  • @kevinhuffmaster7291
    @kevinhuffmaster7291 9 месяцев назад

    Can anyone tell me how he turned all the nodes into a purple node?

    • @VisualTechArt
      @VisualTechArt  9 месяцев назад +1

      Are you referring to named reroute nodes? :)

    • @kevinhuffmaster7291
      @kevinhuffmaster7291 9 месяцев назад

      @@VisualTechArt I don't think so, it happens during 3:35, all the nodes just become one. Sorry, I'm super new and not too sure about most terms. Thank you for replying though!

  • @hotsauce7124
    @hotsauce7124 Год назад

    AMAZING!!!

  • @andhika1176
    @andhika1176 Год назад

    can you render post process material in sequencer? i tried it but the filter didn't appear

    • @VisualTechArt
      @VisualTechArt  Год назад

      If you have it in the Post Process Volume while you shoot the sequence should work no problem

  • @DatPhan-uo7ep
    @DatPhan-uo7ep 8 месяцев назад +4

    Can I use this shader but not make everything black and white?

    • @VisualTechArt
      @VisualTechArt  8 месяцев назад

      Yes, you can just multiply your colour at the end :)

  • @TinNguyen-dg4zv
    @TinNguyen-dg4zv Год назад

    Very nice!

  • @noisyether9211
    @noisyether9211 9 месяцев назад

    Hello how do you apply this and keep the orginal colors of the mesh?

    • @VisualTechArt
      @VisualTechArt  9 месяцев назад +1

      Multiply the PPInput0 on it

    • @noisyether9211
      @noisyether9211 9 месяцев назад

      @@VisualTechArt Thank you but a little more help plz. Im in the discord as well.

  • @fisherzhou5365
    @fisherzhou5365 10 месяцев назад

    Sorry, may I ask, there is a custom node called "Paper Texture" at the end? What is the relevant content?

    • @VisualTechArt
      @VisualTechArt  10 месяцев назад

      It's just a Named Reroute Node coming from a Texture Sampler

    • @fisherzhou5365
      @fisherzhou5365 10 месяцев назад

      @@VisualTechArt ok,thanks

    • @fisherzhou5365
      @fisherzhou5365 10 месяцев назад

      @@VisualTechArt What is the engine version corresponding to this material?

    • @fisherzhou5365
      @fisherzhou5365 10 месяцев назад

      @@VisualTechArtAlso, where is the node "Circular Laplacian Filter by VisualTechArt" added at the end

  • @Hassan12567
    @Hassan12567 3 месяца назад

    I wanted to know if this is applicable to games or is it maybe too hard on the performance for stable fps while playing?
    also: Do I need to credit you if I publish the game?

    • @VisualTechArt
      @VisualTechArt  3 месяца назад +1

      Credits would be nice :)
      Performance wise, you'll have to take your own measurements as always :D

  • @MohitShukla-g5i
    @MohitShukla-g5i Год назад

    how would the performance for something like this be like in VR? Thanks!

  • @wpwscience4027
    @wpwscience4027 Год назад

    Now that I've had time to sit and play with this, a couple notes: One: When you switch this to post process material don't apply this after tonemapping if you want that invLerp to work right (change it to something else, like before tonemapping, personally I used Replacing the tonemapper because it introduces a neat artifact that looks like a dither for partial values). You also used the invLerp instead of an If, is that cheaper or something? Also why mask the post process input zero instead of a desaturate? Is it cheaper, more control, something else I haven't thought of? Two: Using the Voronoi Applications stuff you did before adds about 20 instructions per, but opens up some interesting possibilities *like using the smooth min max output to taper the lines as you get close to the edge of a Vcell* Three: I had a couple weird quirks That cool World normal effect you do at the end for some reason only renders the preview ball, but in the editor it is fine, so who cares, might throw some folks though. Also your tex coord has a nice big yellow section, mine is almost nonexistent. I'm pretty sure this makes for a problem with the screen uv squeezing along the light vector. Also if you use the Voronoi applications you built in your other video instead of the regular noise node it pushes the blue values to black, but it doesn't matter since you don't actually need to use that second noise node that way since yours already gives you those color values. Four: If you haven't yet, look at your cross hatching on the UE water plugin. It looks awesome. Last thing I promise, try dropping your number of lines, but making them thinner and darker, otherwise when you put a whole scene in this it looks very David Finch Batman, which is really cool and all, but it seems like it would be impossible for a mere mortal to draw, unless they embrace only the night and dedicate their life to fighting crime on the mean streets of gotham. I'm going to play with adding some distance from camera effects as well. I seem to remember getting a hatching texture to bend around objects using a custom rotating world aligned texture, that wasn't procedural though, and was like a year ago so my memory is a little fuzzy. Best of luck with yours though because I am definitely looking forward to learning more from you.

    • @VisualTechArt
      @VisualTechArt  Год назад

      In general I use InvLerps if I want some in-between grays, not sure which one you're referring to specifically :)
      I was interested just in how light the scene is (luminance), the desaturation would have taken into account colour. That is correct too, just depends on what you want :)

  • @lab0004
    @lab0004 8 месяцев назад

    sorry if this is a dumb question but what is the purple node you're using and how do i add them in?

    • @VisualTechArt
      @VisualTechArt  8 месяцев назад +1

      You're probably referring to a Named Reroute Node :)

    • @lab0004
      @lab0004 8 месяцев назад

      @@VisualTechArt yeah, that was it, thanks!

  • @Maxparata
    @Maxparata 8 месяцев назад

    Does AO really adds anything? In Unreal Engine 5 there's no Ambient Occlusion anymore right?

    • @VisualTechArt
      @VisualTechArt  8 месяцев назад

      Well in my case it was there so I used it :D

    • @Maxparata
      @Maxparata 8 месяцев назад

      ​@@VisualTechArt XD but it has no effect!
      However, if you change your GI method to Screen Space (Beta), you'll get the AO working properly.
      Otherwise, if you stay in Lumen it has no effect.
      Same for Ray tracing I think, not 100% sure about that one.

  • @WiDOC
    @WiDOC Год назад

    you -> god

  • @zxcaaq
    @zxcaaq Год назад

    why do you sound like Stepen Hawkings computer?

  • @Balai_823
    @Balai_823 3 месяца назад

    how did you create the yellow node at 8:41 ?