Cycles: UV render pass corrupted in viewport #92986

Open
opened 2021-11-10 11:02:05 +01:00 by Jeroen Bakker · 16 comments
Member

System Information
Operating system: Windows-10-10.0.18363-SP0 64 Bits
Graphics card: Intel(R) Iris(R) Plus Graphics Intel 4.5.0 - Build 27.20.100.9664

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-09 23:23, hash: aa440923c8
Worked: 2.93 LTS

Short description of error
When switching the render passfrom normal to UV the UVs are not displayed correctly.

Exact steps for others to reproduce the error
Download bmw demo file.
in viewport switch to render mode
Enable the normal render pass. After that enable the uv render pass.

{F11785393 width=100%}

Film::update_passes sets shader->need_update_uvs. The problem is that in 3.0 this is called as part of scene update after all syncing, instead of immediately after updating the render passes. That means this information is not available when we sync the geometry.

Note: you can get the proper UVs back if you click on the UVMap in the Property Editor UV Maps panel

**System Information** Operating system: Windows-10-10.0.18363-SP0 64 Bits Graphics card: Intel(R) Iris(R) Plus Graphics Intel 4.5.0 - Build 27.20.100.9664 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-09 23:23, hash: `aa440923c8` Worked: 2.93 LTS **Short description of error** When switching the render passfrom normal to UV the UVs are not displayed correctly. **Exact steps for others to reproduce the error** Download bmw demo file. in viewport switch to render mode Enable the normal render pass. After that enable the uv render pass. {[F11785393](https://archive.blender.org/developer/F11785393/uv_render_pass.png) width=100%} `Film::update_passes` sets `shader->need_update_uvs`. The problem is that in 3.0 this is called as part of scene update after all syncing, instead of immediately after updating the render passes. That means this information is not available when we sync the geometry. Note: you can get the proper UVs back if you click on the UVMap in the Property Editor `UV Maps` panel
Author
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

#102208 was marked as duplicate of this issue

#102208 was marked as duplicate of this issue

#100235 was marked as duplicate of this issue

#100235 was marked as duplicate of this issue

#100157 was marked as duplicate of this issue

#100157 was marked as duplicate of this issue
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @gusdleon

Added subscriber: @gusdleon

Broken in 3.0.0 Beta too

Changing from renderpass "combined" to "UV", breaks the two render pases

Starting with Combined
image.png

Changing to UV
image.png

Returning to Combined
image.png

But if you change from workpase or even change
from object mode to edit mode the glitch is gone
image.png

Broken in 3.0.0 Beta too Changing from renderpass "combined" to "UV", breaks the two render pases Starting with Combined ![image.png](https://archive.blender.org/developer/F11791650/image.png) Changing to UV ![image.png](https://archive.blender.org/developer/F11791655/image.png) Returning to Combined ![image.png](https://archive.blender.org/developer/F11791669/image.png) But if you change from workpase or even change from object mode to edit mode the glitch is gone ![image.png](https://archive.blender.org/developer/F11791682/image.png)
Member

Added subscriber: @leesonw

Added subscriber: @leesonw
Member

Did this work before 3.0?

Did this work before 3.0?

Works as intended on 2.93.5 a791bdabd0

Tested in the same .blend of my past screenshots
image.png

Works as intended on 2.93.5 `a791bdabd0` Tested in the same .blend of my past screenshots ![image.png](https://archive.blender.org/developer/F11793654/image.png)

Added subscriber: @brecht

Added subscriber: @brecht

Film::update_passes sets shader->need_update_uvs. The problem is that in 3.0 this is called as part of scene update after all syncing, instead of immediately after updating the render passes. That means this information is not available when we sync the geometry.

`Film::update_passes` sets `shader->need_update_uvs`. The problem is that in 3.0 this is called as part of scene update after all syncing, instead of immediately after updating the render passes. That means this information is not available when we sync the geometry.

Added subscribers: @3di, @mano-wii

Added subscribers: @3di, @mano-wii

Added subscribers: @IlyasseL, @PratikPB2123

Added subscribers: @IlyasseL, @PratikPB2123
Member

Added subscribers: @ThatMash, @lichtwerk

Added subscribers: @ThatMash, @lichtwerk
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:02:55 +01:00
Member

Note: you can get the proper UVs back if you click on the UVMap in the Property Editor UV Maps panel

Note: you can get the proper UVs back if you click on the UVMap in the Property Editor `UV Maps` panel
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
6 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#92986
No description provided.