Transparent shadow of object with image texture sequence not updating when previewing animation in Eevee #118561

Open
opened 2024-02-21 12:57:23 +01:00 by Ole Prinds · 3 comments

System Information
Operating system: MacOS 12.6
Graphics card: Radeon Pro Vega 20 4 GB

Blender Version
Broken: 4.1 Beta, 4.1 Alpha, 4.0, 3.6.7, 3.5.1, 2.9.3
Worked: No previous version seems to work

Short description of error
When using an image texture sequence as input for a transparent BSDF the shadow of that object is not updating while previewing the animation in Eevee. It works as expected in cycles, and it also works when rendering the animation or just scrubbing through the animation in the timeline. It works with sunlight, but not with spot, area or point light.

I cannot test Eevee next, because it does not yet work for my hardware.

Exact steps for others to reproduce the error

  1. Extract the image sequence gradient2.zip next to the .blend file
  2. Open the attached .blend file and switch to Eevee in the viewport shading
  3. Press play and watch the animation update the texture, but not the shadow
  4. The shadow will update once playback is stopped or when scrubbing through the timeline

I am guessing this is some kind of optimization in the viewport that defers updating the shadow map.

**System Information** Operating system: MacOS 12.6 Graphics card: Radeon Pro Vega 20 4 GB **Blender Version** Broken: 4.1 Beta, 4.1 Alpha, 4.0, 3.6.7, 3.5.1, 2.9.3 Worked: No previous version seems to work **Short description of error** When using an image texture sequence as input for a transparent BSDF the shadow of that object is not updating while previewing the animation in Eevee. It works as expected in cycles, and it also works when rendering the animation or just scrubbing through the animation in the timeline. It works with sunlight, but not with spot, area or point light. I cannot test Eevee next, because it does not yet work for my hardware. **Exact steps for others to reproduce the error** 1. Extract the image sequence gradient2.zip next to the .blend file 2. Open the attached .blend file and switch to Eevee in the viewport shading 3. Press play and watch the animation update the texture, but not the shadow 4. The shadow will update once playback is stopped or when scrubbing through the timeline I am guessing this is some kind of optimization in the viewport that defers updating the shadow map.
Ole Prinds added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2024-02-21 12:57:24 +01:00

Thank you for the reporting.

I can confirm the issue when previewing the animation in EEVEE and EEVEE-Next.

Maybe this behavior is a performance strategy to avoid unnecessary updates if nothing in the scene is moving.
But deserves further investigation from the developers.

Thank you for the reporting. I can confirm the issue when previewing the animation in EEVEE and EEVEE-Next. Maybe this behavior is a performance strategy to avoid unnecessary updates if nothing in the scene is moving. But deserves further investigation from the developers.
Germano Cavalcante added
Module
EEVEE & Viewport
Status
Confirmed
Interest
EEVEE
and removed
Status
Needs Triage
labels 2024-02-21 14:05:33 +01:00
Author

Thanks for confirming the issue.

I did a quick test and noticed, that setting a single keyframe on the position of the object casting the shadow will enable shadow updates on each frame change while previewing playback in Eevee.

That's a good workaround, but ideally the render engine should detect image sequence textures and mark the shadow to be updated per frame when previewing playback in the viewport without the workaround.

Thanks for confirming the issue. I did a quick test and noticed, that setting a single keyframe on the position of the object casting the shadow will enable shadow updates on each frame change while previewing playback in Eevee. That's a good workaround, but ideally the render engine should detect image sequence textures and mark the shadow to be updated per frame when previewing playback in the viewport without the workaround.
Member

This can be worked around with the Render > Shadows > Jittered Shadows option.
It forces transparent objects shadow-maps to be re-rendered every frame.

It's not ideal, animated transparency should be detected automatically, but it's a tricky problem to solve.

This can be worked around with the `Render > Shadows > Jittered Shadows` option. It forces transparent objects shadow-maps to be re-rendered every frame. It's not ideal, animated transparency should be detected automatically, but it's a tricky problem to solve.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#118561
No description provided.