Operating system: Linux and Windows
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.116 / Radeon (TM) RX 480 Graphics
Broken: version: 2.80rc1
Short description of error
A camera with an "offset" Background Image sequence causes an object texture with "Window" texture coordinates to be offset as well, but only in EeVee (not Cycles)
Exact steps for others to reproduce the error
- Download the attached images and .blend file.
- Decompact the images in the same directory as the .blend file but within a folder named images/.
- Open attached file.
- Switch the selection between the mesh and camera to compare image sequence settings in the mesh material and camera background. (Must be the same).
- Forward some frames, note that the images are synchronized.
- In any of the image settings (for example the background), change the offset and forward or backward some frames.
- In Eevee and Workbench it makes no difference other than not finding some images in the sequence.
- In Cycles it works correctly.
This can be observed causing an issue at ~13:35 in this video: https://youtu.be/8irtcgc8GqE?t=814
...In that tutorial video, the instructor is removing a large tracking marker using "Window" texture coordinates. At ~13:35 he switches from EeVee to Cycles to do the texture baking on to the overlay plane.
The image sequence on the textured plane aligns perfectly with the duplicate background image sequence when the renderer is set to EeVee, but when he switches to Cycles, it is misaligned.
Strangely, though, I don't think the camera object is using an "offset" in that case, so perhaps the bug (if it is one) goes deeper than I have supposed. [update: turns out he did set an offset, though I'm not clear if it was already in place at the timestamp in that video.]
Another way to reproduce the bug:
- open blender with fresh/clean profile directory
- delete default cube, add a plane, create a new material
- in shader editor, delete BSDF node, add Image Texture node, connect Color output to Surface input of Material Output node
- add Texture Coordinate node, connect Window output to Image Texture "Vector" input
- in Texture Node, open provided image sequence, then enable "Cyclic" and "Auto Refresh"
- select main camera; in Properties -> Camera pane, enable Background Images, click "Add Image" and then "Open" the same image sequence as before; Change Alpha to 1.0
- assume camera view with numpad-0, change to rendered mode (EeVee, by default)
- observe that the background image and the plane texture are in sync, as expected, even when changing frames
- change render mode to Cycles, and observe the same
- select camera object in outliner; in Properties->Camera->Background Images, change the Offset to 1
- observe that in Cycles, the plane texture and background textures are offset by 1 frame
- observe that in EeVee, they are not: the plane adopts the offset of the camera background image