0
$\begingroup$

I trying to rendering image with low focal length camera (CCTV like) and I getting weird result. Some materials are appearing ahead while they should appearing behind others. My engine is Eevee.

Here is my preview (solid): enter image description here

And here is my result: enter image description here

Any sugestions?

$\endgroup$
6
  • $\begingroup$ It's a downloaded model, I assume? Did you check for flipped normals? $\endgroup$ Commented Apr 19, 2021 at 17:58
  • $\begingroup$ @metaphor_set Yes, it doesn't work. It feels weird because I have no problem with Cycles engine. $\endgroup$
    – lonz
    Commented Apr 19, 2021 at 18:37
  • $\begingroup$ Look at the modifiers on the objects, perhaps there are some that are disabled during rendering? $\endgroup$
    – Eric Xue
    Commented Apr 19, 2021 at 19:28
  • $\begingroup$ Are you using alpha blend with materials? $\endgroup$
    – TheLabCat
    Commented Apr 20, 2021 at 2:53
  • 1
    $\begingroup$ @ZargulTheWizard Yes! Thanks. Do you know why it doesn't impact on Cycles engine? $\endgroup$
    – lonz
    Commented Apr 20, 2021 at 15:23

1 Answer 1

0
$\begingroup$

Comment echo: This is because of alpha blend in EEVEE materials. Because EEVEE uses rasterizing (fakes physical effects like transparency using formulas), it can be suspect to flaw in odd situations. Alpha blend tries to implement full transparency function, but mainly experiences problems where it is trying to sort faces within the same object. Which one is in front? Treating something as partially transparent when you’re faking is very tricky to do.

Cycles does not have this problem because it uses ray tracing. It simulates the behavior of real light, and traces out every single pixel in the image. This is why cycles takes more computing power, but produces more realistic results.

If you have to use EEVEE, one good halfway solution is alpha hashed. Alpha hast is basically alpha clip, but with random threshold for each pixel, each sample. Alpha clip means a pixel is either fully transparent or fully opaque, depending on the threshold level. What then happens in alpha hashed with partially transparent materials is kind of a fuzzy mixture that looks better with each successive EEVEE sample.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .