- Home /
Depth of field problem with transparent objects
hi :)
i know that this problem is kinda notorious, but i could not find ANY solution :(
when i try to enable Depth of Field on my camera, all the objects with transparencies and alphas , blurs away like they are from the background :(
any idea how to fix this ? :/
ps: if for mobile hardware is better ;)
thx for the attention
Their shader needs to write to the depth buffer. $$anonymous$$aybe yours doesn't?
I believe they can still write to the depth buffer, and not clip the opaque objects. Can someone else chime in?
Answer by Angelorpheus · Aug 23, 2013 at 02:56 PM
i tried that "camera transparency sort mode" and nothing changed, (im not sure how to configure that to be honest..bur i tried a lot :/)
i tried to implement Pass {ZWrite On
on my shader ...and nothing changed (i tried "off" too for desperation ç_ç)
any other advice? :(
Your answer
Follow this Question
Related Questions
Is it possible to create a blur effect based on the alpha of a transparent texture on a plane? 0 Answers
Looking for a transparent shader 0 Answers
Alpha not displaying when changed in code, unless changed manually in the inspector 0 Answers
Fading in/out SVGs without showing the half-transparent SVG-layers 1 Answer
Mesh transparency halfway cutoff script 0 Answers