Unreal Engine 4 Tutorial - Auto Focusing Depth of Field

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 115

  • @Manim8
    @Manim8 4 роки тому +44

    For anyone doing this in 4.25... it is slightly different.
    At 3:27, just type 'depth' in the search bar at the top of details panel (with 'Make PostProcessSettings' node selected), then check the 'Aperture (F-stop)', 'Maximum Aperture (min F-stop)', and 'Focal Distance boxes (you may have to expand the drop downs). Then set them on the node itself to '1.0' , 11.0 and connect the Focus Location to the third respectively. Hope this helps.

    • @Terry-ee7gq
      @Terry-ee7gq 4 роки тому

      I use 4.25 but can't find PostProcessSettings

    • @Manim8
      @Manim8 4 роки тому +1

      @@Terry-ee7gq MakePostProcessSettings is the name of the node you need to have selected in order for the right details to show in the details panel. It's the Blue colored node at 3:29 :)

    • @Terry-ee7gq
      @Terry-ee7gq 4 роки тому

      @@Manim8 Thank you very much! But what I'm saying is that I don't see "set post processing settings." this is at 3:12

    • @Manim8
      @Manim8 4 роки тому

      ​@@Terry-ee7gq Oh sorry my bad, are you dragging out from your character reference?

    • @Terry-ee7gq
      @Terry-ee7gq 4 роки тому

      @@Manim8 It's OK. I use 4.25. The version in the video is different. What version of the video can be copied to 4.25?

  • @ScrapingBottomGames
    @ScrapingBottomGames 6 років тому +3

    It's always a relief when I'm trying to do something in UE4 and the first hit is one of your videos. They're consistently professional, concise, well-edited instructions and have been super useful to me over the years. Thank you, Tesla.

  • @TVMaiden
    @TVMaiden 7 років тому +4

    Nice! Worked tidy even in 1.8.4. - For those asking about Overriding DOF Settings, you really don't need these to override again. Just follow the tutorial ignoring that. And if your Event BeginPlay is already being used somewhere, just place a Sequence node and add as many "Thens" as you need.

    • @gplusmpaper7123
      @gplusmpaper7123 4 роки тому

      Hi Andrea! Please can you help me do this on UE4.24.3 - i am a total noob at this... all i see is green moving numbers in the matrix :))

    • @gplusmpaper7123
      @gplusmpaper7123 4 роки тому

      I got it! now it works! :)

  • @TeslaUE4
    @TeslaUE4  9 років тому +16

    This is just one way to get an auto focusing DOF system up and running, there are many other ways (as with everything inside UE4). This one is using the circleDOF. I may expand upon this tutorial further in the future by creating a more advanced version!- Tesla

    • @btjmovies
      @btjmovies 7 років тому

      great tutorial ! my project looks 10 times better now, but I have one problem do you know a way to make this work on a AI character? thanks

    • @barryjenkins8890
      @barryjenkins8890 6 років тому +1

      Can someone please just show a way to do this after you've already created you map and objects that you want to
      shoot in sequencer with the CameraActor that's setup already!? Is that so hard to find on youtube.!?

    • @artfirecrow3354
      @artfirecrow3354 4 роки тому +1

      hi this is no works in new version. can you update the tutorial?
      plz

    • @Manim8
      @Manim8 4 роки тому

      @@artfirecrow3354 yeah it doe's. Just listed differently. in the search bar at the top of details panel (with 'Make PostProcessSettings' node selected), type in 'Depth', then check 'Aperture (F-stop)', 'Maximum Aperture (min F-stop)', and 'Focal Distance boxes. Then set them to '1.0' , 11.0 and connect the Focus Location to the third respectively. Hope this helps.

  • @BillyCouvillion
    @BillyCouvillion 4 роки тому

    Excellent tutorial. First placed that I could find that easily explained how to set postprocess settings in a blueprint.

  • @Struct.3
    @Struct.3 9 років тому +9

    would be cool if you found a way to exclude the gun from the DOF, and have a system that applies the dof to it when you aim down the sights

  • @yk2270
    @yk2270 9 років тому +4

    You tuts are awesome! A Lock On Targeting system Tutorial would be amazing!

  • @TechPunk22
    @TechPunk22 4 роки тому +2

    I just implemented this into my project and looks way cool! Just tweaked it a little so it only activates when you aim down your sight!!

  • @yk89031
    @yk89031 9 років тому

    Thank you so much for this tutorial! Have been looking for something like this for ages but nothing else worked for me :)

  • @meow75714
    @meow75714 4 роки тому +3

    I dont see these options in my Make Post Process settings. I see "Lens|Depth of Field" which only has focal distance and blur radius ??'
    I am using ue 4.24.3

  • @saifgraphics8976
    @saifgraphics8976 7 років тому +3

    Hello Tesla :)
    Could you tell me how to except object from DOF, like the gun?

  • @rohitnair7140
    @rohitnair7140 8 місяців тому

    how were you able to put two begin play nodes in one ?

  • @BritishConcept
    @BritishConcept 9 років тому

    So useful! I was wondering how to use the new post processing nodes. The old way of doing it with 'Set members in PostProcessSettings' required you to connected hundreds of wires.

  • @MohammedIdrei
    @MohammedIdrei 4 роки тому

    would you please make a video about connecting the vive puk tracker rotation to control the cinecamera focus distance, so its more like a real focus puller .. Thanks !

  • @diffraction163
    @diffraction163 6 років тому +1

    this is still great. i used the mouse axis input to update the DOF because i felt like this would be a good idea ;)

  • @PetroDeineka
    @PetroDeineka 7 років тому +4

    Version 18.3 does not have these options "Override Depth Of Field Method", "Override Depth Of Field F-stop", "Override Depth Of Field Focal Distance"

    • @NuLL555
      @NuLL555 6 років тому

      you dont need those now

    • @PetroDeineka
      @PetroDeineka 6 років тому

      Alexis panagiotopoulos What i need? this method does not work!

    • @NuLL555
      @NuLL555 6 років тому

      can i just send you a picture somewhere?

    • @AidanDesigns
      @AidanDesigns 6 років тому +1

      Did you figure it out in the end? I'm stuck too.

    • @artfirecrow3354
      @artfirecrow3354 4 роки тому

      @@NuLL555 hi can you tell me what i need too?

  • @AndreaAvellinoVideo
    @AndreaAvellinoVideo 8 років тому

    Hi Tesla Dev, thank you so much for your tutorial, so clear and useful. It does work perfectly on the FirstPersonCharacter, BUT I can't make it work on a Camera Actor (I would like to export an architectural visualization video in which I'd like to use the DOF) during a matinee. I tried to copy/paste the entire node system from a blueprint to another but I'm a total noob.
    Could you please give me an advice on how to do this right?
    Thanks!

  • @barryjenkins8890
    @barryjenkins8890 6 років тому

    Is there a more amateur way to do this with a DOF option within the project/editor itself?

  • @UnrealArtist
    @UnrealArtist 4 роки тому

    I like how you havnt wasted not a single second of your viewer with bullshit talk, you've earned a sub and like

  • @jorgebarcellona8339
    @jorgebarcellona8339 5 років тому

    Excellent tutorial, could you make one that has the function of screenshot, and be able to handle the blur parameters?

  • @MrNutz001
    @MrNutz001 8 років тому

    wow thats great! just a question does it works when matinee records?

  • @AlmondChocolateMilk
    @AlmondChocolateMilk 3 роки тому

    Thank you for doing this in less than 30 minutes (:

  • @MegariskyYT
    @MegariskyYT 7 років тому

    It seems that with this set up only the circle DOF setting seems to work. The Gaussian DOF is almost inverted, and the Bokeh DOF outright doesn't work. Can you make videos on those?

  • @Torqux0
    @Torqux0 8 років тому

    Hi! My background gets vibrating, now it looks like snowing. What can be the problem? Everything is setp up correctly.

  • @BlackPara11
    @BlackPara11 6 років тому

    Great tutorial! I tell you my problem: it works but when I focus on an NPC (the camera) it looks blurry. What could be? Thank you so much.

  • @saifgraphics8976
    @saifgraphics8976 6 років тому

    hello, that's perfect mate! but, how to create a condition to disable DOF when I examine an items

  • @behzadkhojasteh
    @behzadkhojasteh 3 роки тому

    Thanks for your tutorial, could you help me to find " override depth of field, method, override depth of field focal distance " in ue4.26. I think in the new version all of them change. thanks a lot.

  • @Shuubox
    @Shuubox 9 років тому

    Does this also work for 3'rd person, or this one is just for FP ? great tutorial tho :)

  • @cheyennebockart1706
    @cheyennebockart1706 8 років тому +1

    Is there anyway we can get a updated tutorial on this, the original settings aren't the same nor to they act correctly in 4.13.1

    • @Xenok5TVx
      @Xenok5TVx 7 років тому

      Not the same in 4.18.3

  • @legendofpersia
    @legendofpersia 9 років тому

    hey thank you tesla, your video was great as always.

  • @snowfall5171
    @snowfall5171 9 років тому

    Could you do a tutorial on aiming? Especially the animation part of it?

  • @Matthew.1994
    @Matthew.1994 9 років тому

    can you do a tutorial on a wallhack like system? or like heat vision through walls? so i can turn it on and can see actors behind walls in a different collor?

  • @Cyberex
    @Cyberex 3 роки тому +1

    Hello, can someone post a picture of the whole updated script ?

  • @keola570
    @keola570 9 років тому

    This is a great tutorial. Tesla, how did you learn all of this?

  • @rexx4K_
    @rexx4K_ 2 роки тому

    For Unreal Engine 4.25+ use Manim8's Comment and make sure that if you split the LineTraceByCHannel that Branch's Condition is connected to Out Hit Blocking Hit

  • @MaRRzVideos
    @MaRRzVideos 9 років тому

    Hi, Tesla!
    I have an issue in Unreal Engine 4. I deleted by mistake the Hero FPP1 (or something like that) and I want to add footstep sound, but it doesn't work. No sound btw. :( Could you help me, please. (OR SOMEONE...)

  • @flooblybub
    @flooblybub 9 років тому

    really nice mate, its not too overbearing as well like it is in so many god damn games XD thanks!

  • @Art_911
    @Art_911 8 років тому +2

    small change. You can not directly connect "Out Hit" to "Break hit" You have to bridge the two with a "get"
    Also some strange issues when getting to close to an object -- whole screen goes blurry
    But cool tut, thanks

    • @MegariskyYT
      @MegariskyYT 7 років тому

      What type of get? The only thing that comes up from typing get when dragging out the 'out hit' is 'getsurfacetype'

  • @brianstevennaranjoneuta1447
    @brianstevennaranjoneuta1447 7 років тому

    hola saludos de colombia, estube siguiendo el tutorial suyo pero yo utilizo la version 4.18.1 y a lo ultimo del enfoque no me aparecen la obciones que dice, podria hacer un tutorial pero con esta version. Gracias

  • @kavanjadeja849
    @kavanjadeja849 2 роки тому

    I am unable to connect line tracebychannel with break hit result in UE5, Please Help me in this

  • @ws6nick
    @ws6nick Рік тому

    Still helpful in 2023 :)

  • @YouHungryG
    @YouHungryG 9 років тому +3

    your voice is music to my ears legit hahaha

  • @motcraftlp1122
    @motcraftlp1122 9 років тому

    Very nice, thanks a lot!

  • @ty_teynium
    @ty_teynium 3 роки тому +2

    When a tutorial uses Set timer by function name in place of Event Tick 😎

  • @keola570
    @keola570 8 років тому

    Is there any way to make it so that the gun stays in focus no matter what you look at?

    • @MegariskyYT
      @MegariskyYT 7 років тому +1

      keola570 edit the aperture to your liking I think. He put a value of 1 for the sake of the video, but you can toggle it for some different effects.

  • @JOWNATANN
    @JOWNATANN 3 роки тому

    funny that every time I start a new project I come back in this video, I do it for 4 years

    • @susmusadam7239
      @susmusadam7239 3 роки тому

      so this shows how much you care about little details like this autofocus system. Really, it is just a modern necessity

  • @TheUkuleleXD
    @TheUkuleleXD 6 років тому

    Can anyone help me with slow down the effect? How to set it more fluently? not so cutted?

  • @loganwheeler3975
    @loganwheeler3975 8 років тому

    override settings for Post Process settings aren't there for me

    • @taylorgriffin1393
      @taylorgriffin1393 8 років тому

      +Boarn it's alright for the new update it isn't necessary.

  • @cettura
    @cettura Рік тому

    how can I make the game to not affect weapon?

  • @weok-doing-things
    @weok-doing-things 4 роки тому

    Thank you very very much

  • @Ivan.striker
    @Ivan.striker 6 років тому +1

    nice tutorial, sadly it doesn't work for Topdown :/

  • @SoyKhaler
    @SoyKhaler 3 роки тому

    the add event node doesnt appear :/

  • @nfrancisj2122
    @nfrancisj2122 9 років тому

    Thanks for your vids! Can I request one? Can you show me how to make a ball character roll on a sphere? Kinda like a ball rolling on a mini planet. Thanks !

    • @Kodaemon
      @Kodaemon 9 років тому

      +ニック This seems to be impossible without additional code. However, someone already made a free plugin that lets you do that! :) forums.unrealengine.com/showthread.php?85022-Blueprint-C-Advanced-Templates-Tools-amp-Plugins

  • @GImDOa
    @GImDOa 8 років тому +3

    didn't works for me :(( difference setting 4.11

    • @sklx3D
      @sklx3D 4 роки тому

      search the name, is just in another group

  • @MadpolygonDEV
    @MadpolygonDEV 5 років тому

    awesome.

  • @__dINe__
    @__dINe__ 6 років тому +1

    can someone do this tut for 4.19? Please?

  • @susmusadam7239
    @susmusadam7239 3 роки тому

    Idk but this version of the engine looks a little bit different. If this slight tonal difference it's not related to the video, it is better than last versions of the engine

  • @supreme84x
    @supreme84x 3 роки тому

    3:30 I was with you up until here. This menu does not exist anymore. There is no "DepthofField" drop down menu. There is no "Override Depth of Field Method".

  • @decorix
    @decorix 4 роки тому

    Can anybody share the setup? does this work in 4.24.3

  • @unrealengine4991
    @unrealengine4991 6 років тому

    thanx mr tsla

  • @Kodaemon
    @Kodaemon 9 років тому

    How can I get this to work when I'm looking at an AI character?

    • @btjmovies
      @btjmovies 7 років тому

      I have the same problem, have you already found a way to make it blur on the AI character?

  • @klausbdl
    @klausbdl 6 років тому

    please update :( 4.20.1 isnt the same as the video

  • @coolboysentertainment5846
    @coolboysentertainment5846 4 роки тому

    my postprocessing looks different

    • @heresjhonny702
      @heresjhonny702 4 роки тому +2

      Instead of "set post processing settings" you put " set camera focus settings" and instead of " make post processing settings" you put " make camera focus settings" the rest is the same. And remember the line tracing that gives us the focus distance need to shoot at "collision" so your objects must have a collision.

    • @coolboysentertainment5846
      @coolboysentertainment5846 4 роки тому +1

      @@heresjhonny702 got it to work now. thanks :"3

    • @RyanOConnel
      @RyanOConnel 4 роки тому +1

      @@heresjhonny702 Thank you so much, after countless trail and errors, your advice finally worked. Had absolutely no clue why this wouldnt work. You are a life saver.

    • @Si-Toecutter
      @Si-Toecutter 4 роки тому

      @@heresjhonny702 but thats only for cine camera ?

  • @Si-Toecutter
    @Si-Toecutter 4 роки тому

    if your here in 4.24 onward it doesn't work

  • @dylan6655
    @dylan6655 6 років тому +1

    I had to put him on 0.5 speed to watch and I can't stop laughing

    • @Manim8
      @Manim8 4 роки тому +1

      everyone sounds drunk in slow mo lol

  • @davel9152
    @davel9152 8 років тому

    WHOA Just saying but it sounds like you sped your voice up like 5 x Faster. :P

  • @shannanschisler9577
    @shannanschisler9577 6 років тому

    work goes much faster with Avasva plans.

  • @lhardly
    @lhardly 6 років тому

    Why are all UE4 tutorials narrated by english lads?

  • @gplusmpaper7123
    @gplusmpaper7123 4 роки тому

    I've made it to work on UE4.24.3! - ask and i ll give you a screenshot! :)

    • @Dippns
      @Dippns 4 роки тому +1

      would appreciate a screenshot mate

    • @MatiasSukanec
      @MatiasSukanec 4 роки тому +1

      Me too pls!!

    • @Si-Toecutter
      @Si-Toecutter 4 роки тому +1

      then doesn't reply to anyone ... nob

  • @syahmirh6438
    @syahmirh6438 6 років тому +1

    Dude, Slow down

  • @BlackPara11
    @BlackPara11 6 років тому

    Great tutorial! I tell you my problem: it works but when I focus on an NPC (the camera) it looks blurry. What could be? Thank you so much.