Page MenuHome

Eevee render display error in orthographic camera mode: Mesh material color changes during scaling
Closed, ArchivedPublic

Description

System Information
Operating system: Win7 Home Premium 64-bit, SP1
Graphics card: Nvidia GeForce GTX 750

Blender Version
Broken: 2.80, c9df453ce70b, blender2.8, 2018-12-21
2.80, d96596de294e blender2.80, 2018-12-31

Short description of error
Workspace: Layout
Object mode
Display rendered view: Eevee (other rendered views with Cycles, etc. do not have this problem)
Camera orthographic view (!! in perspective or panoramic view, problem is not there)
Camera type: orthographic
Light: Sun shining perpendicular onto objects

Three cube mesh objects with individual materials

  • Principled BSDF
  • Base Color (either Red, Green or Blue)

The scaling* of one or more objects changes the color appearance in the camera view *and* in rendering.

*scaling can happen either:

  • pressing 's' key and move mouse
  • changing scale values in transform tab

--> I thought there seemed to be an dependency on scale values. For example, scaling to 1.0 would always be a lighter tone than in a different scaling factor. But simply pressing 's' to scale and escaping can change the color tone of the mesh as well.

The direction of the sunlight makes of course a difference when viewing the objects, but after changing sunlight angles there is still the color changes during scaling.

Blend file attached.

Exact steps for others to reproduce the error

  1. Select Display render preview
  2. Simply choose one or more cubes
  3. scale these slowly and the color will change from a fade color to a strong color infrequently

It seems the problem is the camera orthographic mode!?


Details

Type
Bug

Event Timeline

I can not reproduce this, could you try a build from today? https://builder.blender.org/download/


Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.Jan 1 2019, 3:45 PM

Hey Sebastian

I am using the newest build from today, 5 min ago. 4dd0a90f4213-windows64

I updated my graphics driver from version 399.07 to version 417.35, just to be sure..

Erroneous color change is shown on two monitors via DVI: EIZO and LG.

Updated Blend file with animation of scaling.

Screencast with LookDev (works great)
with Camera set to orthographic


Flash Video format, recorded with OBS

Screencast with Rendered (color "flashing")
with Camera set to orthographic

Screencast with Rendered (no color "flashing")
with Camera set to perspective

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Normal.

I'm still not seeing the issue on my end. :c
So I guess this is GPU related.

Can you attach the output (as a file) is you run blender with --debug-gpu ?
You can also try if --debug-gpu-force-workarounds helps.

Wouldn't this issue also appear if I changed the camera perspective? At the moment, it only appears when camera perspective is orthographic. When changed to perspective, all is fine.

Output of GPU Force Workaround (did not change anything):
GPU: Bypassing workaround detection.
GPU: OpenGL indentification strings
GPU: vendor: NVIDIA Corporation
GPU: renderer: GeForce GTX 750/PCIe/SSE2
GPU: version: 4.5.0 NVIDIA 417.35

I would think so too. But as I can not reproduce this on my end, this is my best guess.

I can reproduce the issue on two other computers

1x Win7 64-Bit with GeForce GTS 450
1x Win10 64-Bit with GeForce 910M (laptop)

--> same problem with Eevee in rendered mode and ortographic camera.
--> change to perspective or panoramic camera mode --> the issue is gone.

Brecht Van Lommel (brecht) raised the priority of this task from Normal to Confirmed, Medium.

I can confirm the issue, with GTX 1080 on Linux.

I only get the washed out colors once, right after starting up Blender. After that it displays correct, also when reopening the .blend file.

I cannot reproduce it.

But I can tell this has to do with the specular color and the sun light. So maybe a shadow problem?

@Clément Foucault (fclem)

Did you open the second Blend file? Not the first in this task, since it has no animation.

I tried it again with the newest build, but it did not get better.
I changed the light sources - all show a color "flashing" during animation.

It is strange, that I have this issue on three different computers.. and always when camera is in orthographic mode.

On a 4th PC (laptop), the issue does not appear and animation looks fine.

OS: Windows 10, 64 Bit
Graphics card: Intel HD Graphics 5500
Blender 2.8, 91a155833e59 2019-01-07

So I took a second look at this but I still cannot reproduce.

My best bet would be that the Cascaded shadow maps are being funky on your setup.

@Dan Rockstreet (DanRockstreet) you can try the following:

  • Disabling shadows.
  • Change light type (sun to spot or area).
  • Change the light orientation slightly.

It might be a small precision error that is messing with how the shadow map is rendered.

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.