4
$\begingroup$

I have a lighting problem with Eevee, this is the rendering without baking indirect lights and reflections:

enter image description here

nothing strange here. But if I bake lights it render like this:

enter image description here

as you can see there is something strange about reflections on the bottles and the small jar... In the scene there is not an HDR map, only some area lights behind the camera, so I don't expect such reflections on the glass. it seems like it does not take into account the shadow generated by the wine cellar. I have used ony one big reflection cubemap and light probe around the room. Experiments with other light probes showed no relevant effects. I have not tried to use a small reflection cubemap for each object because of memory occupation.

I've already asked elsewhere but the only suggestion is to tweak the glass shader only on the affected objects. If possible I would prefer not to modify it because the camera will be animated and the same shader is present elsewhere in the scene and has not shown the same problems.

I managed to get the same issue (almost same setup as renders above) on a small test file (see attached).


Edit 02/02/2020

Ok, I've run some test on the sample file and this is the final result... I don't know if it can be of any help but I understand that I'm not the only one who is going crazy with Eevee these days...

So, the render above derive from a rather heavy and complex scene, so it is obvious to think that the problem can nestle among countless factors, so to start excluding as many elements as possible I recreated the same scene in a super simplified version (see attached file above).

In the test file there are no textures, there is no HDR map, the background is set to black with strength 0, there are only some rather trivial shaders and 2 types of "glass" taken from the complete scene. The only light sources are 2 area lights.

At this point, if I start a rendering without baking lights and reflections, I get the following image:

enter image description here

If I insert a "light probe> irradiance volume" into the scene, bake and get the following image:

enter image description here

and you can see there is no difference. Now I insert a reflection cubemap that incorporates the whole scene (as in the render of my project) I redo the bake and I get the following image:

enter image description here

And so I recreated the exact same situation I had in the project, with the same problem of too showy and unnatural reflections. Apparently due to reflection cubemap. Then I remove the global cubemap and insert tight cubemaps around the individual glass objects, redo the bake and get:

enter image description here

In this last image the cubemaps are only on the 3 objects of the upper row and on those of the lower row, while there is no cubemap for the central row. I don't know how much you can see from the image but in this case the reflections seem correct, in fact on the cylinders of the lower row you see the structure that contains them reflected while on the intermediate row you don't. And the reflections are consistent with the scene. As a last test I tried to nest the cubemaps, that is I put the cubemap around the whole scene but I also kept the individual cubemaps. By bake and rendering I get:

enter image description here

Apparently, therefore, the smallest and inner cubemaps "overwrite" the information of the larger one that encompasses them and as you can see from this last image only objects that do not have their own cubemap seem to be influenced by the global cubemap.

Conclusions

All this leads me to the following considerations (in response to my own questions):

  1. Can I nest Reflection Cubemaps? Reflection Cubemaps can be nested, this if done consciously can lead to savings in terms of system resources where the global cubemap is sufficient and does not require other specific cubemaps which can be added only in case of actual need

  2. Should I use a Reflection Cubemap for each object in the scene? Probably you can obtain better results if each object (which is reflective) had its own cubemap, but it is undoubtedly expensive in terms of system resources

  3. Reflection Cubemaps or Screen Space Reflections o both? I have not had the opportunity to investigate the matter, but from some rapid evidence it seems that screen space reflections and reflection cubemaps active and used simultaneously can give rise to inconsistent reflections ... however to what I have been able to see so far unless the reflection is the main subject at the center of attention... I can afford to ignore these artifacts.

I hope I have been exhaustive and that this information will be useful to anyone who is striving to achieve maximum realism with Eevee!

$\endgroup$
2
  • 1
    $\begingroup$ are the normals facing the right way? $\endgroup$
    – HenrikD
    Jan 26, 2020 at 15:42
  • $\begingroup$ Hi @HenrikD yes, double checked. Nothing strange about normals. $\endgroup$
    – joaulo
    Jan 26, 2020 at 17:46

0

You must log in to answer this question.

Browse other questions tagged .