- Home /
Two transparent objects passing through each other problem
What I want to do is this:
Two objects that one is passing through other while both are transparent. I have problems with object two, tried few shaders but object behaves strange under particular angles. Setting obj2 queue to Transparent-1 is not really what I want to achieve.
Is this even possible to achieve in some easy way?
PS. If obj2 is not transparent (Diffuse for instance) everything is working fine.
"I have problems with object two", "object behaves strange". These are not statements that tell us anything useful about the problem you're having.
Answer by Doyle Dice · Oct 28, 2013 at 05:53 PM
as far as i know,the only way to fix is using "transparnet/cutout/soft edge" shader.
this is a Z-index problem.but "transparnet/cutout/soft edge" shader make the Draw call increase very much........
Thank you so much! Working perfectly for my use.
And about draw calls:
this new solution: ~1670
transparent diffuse: ~1740
my old shader I tried to fix: ~1660
So it's not really bad.
HI! i find a new shader to do this: "nature/tree soft occlusion leaves" this shader do the same thing but generate more nice shadow and save more draw call :)