No matter what I do, I can't get DOF to work with any camera type, any scene, even in the ones I download from Unreal's learning section. I can make the entire screen blurry or the entire screen clear, but absolutely no deviation between a foreground and background, where some things are clear and others are blurred. I really just need to differentiate between a few things up front and a few in the back, so I've been trying to achieve a similar effect with post processing, a plane with a blurring material or a UI panel but nothing has worked so far. Post processing has no effect unless it's unbound (I know that's not right and it's not supposed to, I've used post processing in the past to only effect particular areas, but I can't get anything to respond or show any effect of post processing regardless of location unless unbound is checked and it's applied to everything in the scene), the UI doesn't seem to work in any scene setup (only appearing after hitting "play" for game mode, which I'm not doing, I'm directly rendering a video based on my scene) and none of the plane materials I've tried have worked (either because of the post processing limitation or because, after I set it up how tutorials suggested, it didn't blur anything or work). No matter how I set post process up, using DOF there does nothing, not even blurring the whole scene, regardless of whether it's unbound or not. I don't know how to fix the DOF issue and I am perfectly willing to use a workaround, but after spending all week on this, I really don't have a solution, and I'm running out of time. Any and all advice would be appreciated.
Replies
- Why unbound post process volume wouldn't be a correct approach? It just means you apply the post process to the entire scene, and not to a specific area.
- Post process does work in the editor , you don't need to hit play.
- When you are rendering a video using sequencer or render queue, it actually goes in game.
Can you reproduce this issue in a blank new project? If you can, I can take a look at it if you upload it somewhere and share a link to it.
I used this file to copy a few tutorials and mess around a bit, but it's not big, just two objects and a floor plane to try and get DOF visible. Like I said before, if I lower the setting a ton I can get the whole scene blurry, but nothing I did differentiated between the two objects in clarity, even though the settings and levels should have shown a difference.
I made this screenshot in your project. I did nothing special. I made a new level, added some cubes and a cinematic camera. Adjusted the focal length, the aperture and the focus plane and I got the foreground and the background cubes blurred. Using higher focal length will allow you to get stronger dof. You can also decrease the min fstops parameter in the lens settings section. This will allow you to have stronger dof on smaller focal length.
Settings (HUGE grain of salt, haven't actually used this before and I have no idea what I'm doing and you can probably tell):
It's a bit shite to presume, yeah, and I'm sorry we're being short with you.
Since I did use your exact scene at least, those settings should do something other than... well, nothing. If you can screencap your depth of field debug that might help...? but at this point, In personally feel that, yes, it's something machine-specific-- I hope the different computer clears up any issues and helps you track down the cause of the error. I also hope that you'll still feel like reporting back here if it does.
The bad news is, that still doesn't work on my laptop with the same settings. I'm hoping that if I completely uninstall EU4 on my laptop then reinstall the newer version it might help, but have to wrap up this specific project before I do that just to insure nothing breaks before I meet the deadline. I'm frustrated that I can't find the cause of the problem, since I've had no error messages or render issues or anything I could actually look up or troubleshoot, but all I can guess is that it's either something wrong with the code somewhere or an uncommon issue with that specific iteration of UE4 that either didn't move on to the next or was fixed between the versions (since I did find others with similar issues, but not enough info to determine whether it was the exact same problem or not). Any digital program can have weird unexplained issues, including ones that a restart doesn't fix, but I really hate to not find or understand the underlying source/cause/problem since in my experience, they tend to come back or pop up at inopportune times, but tech support never responded and there are literally no differences in the actual scene, numbers or settings between my laptop and the other computer aside from the version. Doing everything right, and having done the right settings previously, just doesn't function properly on my laptop, but at least I can know positively now that I was actually definitely using the right numbers and settings having gotten it to work elsewhere (without proof there was always a chance I missed something somewhere, or didn't see a previous error message, and I initially approached the problem assuming I was doing something wrong, but after full week+ of testing and copying and research I was either legally blind or doing it right and not getting the results). Nothing I did or tried addressed THAT issue, but with Covid I couldn't just borrow or test on a friend's laptop like I normally might, and I only own one laptop, no extra or PC. It actually wouldn't be the first time I reinstalled Unreal, but last time I simply wasn't using it for over a year and uninstalled everything, I didn't have any issues (nor any opportunity to use DOF in the old work I was doing). Since I didn't find a solution I'm debating deleting the post to avoid cluttering search results, I've seen how many things come up, but thanks for responding at least - I do appreciate the both of you taking the time regardless, since no one did on others, even if didn't fix my scene. Hopefully I'll be able to use the other computer long enough to finish things up.
hi jod13 hope you are still hanging there :) tried whatever u tried checked all tutorial nothing worked .. finally something clicked, not sure if it works for you but worth a try. first override cine camera it will take PPV as sources
adjust PPV