1
$\begingroup$

The same as this question probably.

Here is the setting:

  • Two cubes which overlap (so, I know, they are "z fighting")
  • One cube with diffuse
  • The second with transparency

I was expecting the transparency won't be mixed here, but to see only the blue cube, because a transparent object should stay transparent (?).

Is it possible to avoid that without changing the cubes' positions?

enter image description here

$\endgroup$
  • $\begingroup$ No I don't think it is, the solution is really not to have overlapping geometry, no render engine likes that really, and most deal with it pretty badly as far as I know, unless both objects have exactly the same material. Why would you want overlapping geometry in the first place, if I may ask? $\endgroup$ – Duarte Farrajota Ramos Mar 6 '17 at 19:15
  • $\begingroup$ Thanks for this comment, @DuarteFarrajotaRamos, I don't want overlapping geometry, but I'd like 'overlapping geometry safe' solution for this issue. $\endgroup$ – lemon Mar 6 '17 at 19:22
  • $\begingroup$ Only workaround I really know is that if both objects use a similar shader or material color the Z Fighting becomes less visible or unnoticeable $\endgroup$ – Duarte Farrajota Ramos Mar 6 '17 at 19:26
  • $\begingroup$ @DuarteFarrajotaRamos, could you elaborate more this last comment? FYI, each cube here has its own material... so how can be understood 'similar shader'? $\endgroup$ – lemon Mar 6 '17 at 19:31
  • $\begingroup$ Nothing too elaborate, just mentioning that if both cubes were blue colored then you can't really see the Z fighting between them. $\endgroup$ – Duarte Farrajota Ramos Mar 6 '17 at 19:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.