Problem: DOF with transparent objects not working


(Delicious) #1

Or perhaps it's working too well? With DOF enabled, transparent objects become blurred at every focal length. Kind of cool, but not very useful for getting realistic DOF...


(Simon Kratz) #2

Yes I noticed the same. Probably a typical realtime transparency problem, I guess the DoF relies on the Z Buffer.
But maybe Sketchfab has a super fancy hack/fix for it? :slight_smile:


(Stephomi) #3

As @essimoon said, the dof reslies on the z buffer, so basically the transparent pixel will be blurred depending of the opaque depth pixel behind it.

An alternative would be to have the transparent meshes always in focus (so no blur).
Not sure which would be best, so I just sticked with the former solution for now.