Hello, fellow developers. Today I was working on my FPS framework and trying to make a blur effect when you aim the gun. I am using Maya70i’s Dynamic DepthOfField module to unblur things in the focus of the sight. However, I was looking and could not find a way to exclude an object from a DepthOfField, just like how you can exclude objects from raycasts. I am looking to blur the back sight and keep the front sight in focus.
Example image:
Any ideas? Help would be greatly appreciated.
Thanks,
SpeakerDev