is there an easy way to get an underwater effect like depth of field to work? i found some code
in svn, but couldnt get it to work though.
also, it would need to be enabled when the camera gets under water.
thanks for your help
Setup the DepthOfFieldFilter as a post-processing filter. And then enable it when the player is underwater.
You just have to set the distances right. This is what Mythruna does…and is why I wrote the depth of field filter in the first place.
Note: there is a test for the depth of field filter that should show how to use it.