Hi …
i saw onunity the scene camera blur the end of the scenary.
how can i do this, on unity 5 please ?
not the front, just the deep please.
like the picture.
here is a picture.
thaks a lot.
Hi …
i saw onunity the scene camera blur the end of the scenary.
how can i do this, on unity 5 please ?
not the front, just the deep please.
like the picture.
here is a picture.
thaks a lot.
Check if there is a depth of field effect in the standard assets. I’m pretty sure there is one.
Or, you could use two cameras, one renders only foreground and one only background, and have a blur filter in the camera that draws the background. (could be faster than the DOF filter if you set it up right)
If you want to maximize performance wouldn’t it be better to take code from blur filter and DOF filter and create an effect that uses a depth threshold to clip between a fully blurred and the unblurred view? Compared to a fullscreen rendertexture for the other cam I’d imagine that to be a lot faster and maybe even easier.
People always try to obfuscate the job. Just use Depth of Field.
@Martin_H Maybe? But then you’re reading depth and doing a bit of extra math. In any case, I was just offering an alternative.