tiopeluca
(tiopeluca)
August 12, 2016, 2:38am
1
hello comunity!
First of all, sorry for the poor english
I have a problem trying to do a mask of DOF on a post process volume.
Researching, i found this.
EDIT: From this thread, I started to work on various glass and mirror materials. If you’re interested in what’s going on, you can check these 2 posts: ...
Reading time: 17 mins 🕑
Likes: 4 ❤
Someone showed a material setup to create a mask just like i want to do …but is not working for me.
First, when i try to create a SceneTexture:SceneColor node, an error is displayed saying: SceneColor lookups are only available when MaterialDomain = Surface …
I changed SceneColor For PostProcessImput0 , but nothing happens.
Aparently the mask work because when i chose DiffuseColor the black parts of the mask dont show the DOF.
With PostProcessImput0 it look like this
This is with DiffuseColor
And this is the Post Process Material
I dont know where to continue searching, you guys are my only hope
expose
(expose)
August 12, 2016, 8:09am
2
can you detail what you want to achieve exactly please? do you want a geometry to stay sharp ?
tiopeluca
(tiopeluca)
August 12, 2016, 1:04pm
3
i want to do a Tilt-Shift blur like. Something like this
http://1.bp.blogspot.com/ BWXh-5GBWTA/TEhkDFy24GI/AAAAAAAACRA/7p6e6BTQKCQ/s1600/TiltShift-before-n-after .jpg
It doesnt need to be dynamic. A mask like this should work for me
expose
(expose)
August 12, 2016, 1:29pm
4
so, if you want to use a mask, you ll have to use a postprocess blur. and mask it (that s what is used in your links) not camera blur.
you can find blurs i made here : FREE custom nodes non kernel blurs - Community Content, Tools and Tutorials - Unreal Engine Forums
but you may have to modify them a bit if you want a lens blur look (be aware that it will have a pretty heavy performance cost)
you may need this : Post Processing Content Examples | Unreal Engine Documentation
it s a tutorial for postprocess, based on the content exemple project for UE.
hope it helps !
tiopeluca
(tiopeluca)
August 12, 2016, 2:30pm
5
Thanks!! i will give it a try. im gona comment the result in a few hours.
tiopeluca
(tiopeluca)
August 13, 2016, 1:05am
6
IT WORKED!!!
This is the setup and result
Thank you again!