Active UV Map affects Render although a specific UV Map is set in Material #113174

Closed
opened 2023-10-02 20:49:25 +02:00 by Jens · 1 comment

System Information
Operating system: Linux-5.4.0-163-generic-x86_64-with-glibc2.31 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.113.01

Blender Version
Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-01 16:56, hash: 4d3534401060
Worked: Unknown

Short description of error
For a mesh with multiple UVMaps and a specific one of those set in a material as the normal map vector input, switching between those UVMaps as "Active Render" in the UV Maps Panel still affects the Render but only the rotation!
In the attached blend file I scaled "UVMap2" differently but only the rotation of the normal map is affected.

Also, when switching to Edit Mode, the render in the 3D View behaves as expected again, using the correct rotation.
Unless you switch the Viewport Shading to Rendered with Cycles, then the same behavior appears in Edit Mode, too (you can then even rotate the UV Island and see the rotation of the normal map change).

Exact steps for others to reproduce the error

  • Create a new project with an object that has a material assigned.
  • Create at least two UVMaps for the object and set one in the material as the Vector Input of a Normal Map.
  • Rotate the UV Islands differently in one of the UVMaps.
  • Switch the "Active Render" Setting between the UVMaps in the UV Map Panel.

Or use the attached blend file.

**System Information** Operating system: Linux-5.4.0-163-generic-x86_64-with-glibc2.31 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.113.01 **Blender Version** Broken: version: 4.0.0 Beta, branch: blender-v4.0-release, commit date: 2023-10-01 16:56, hash: `4d3534401060` Worked: Unknown **Short description of error** For a mesh with multiple UVMaps and a specific one of those set in a material as the normal map vector input, switching between those UVMaps as "Active Render" in the UV Maps Panel still affects the Render but only the rotation! In the attached blend file I scaled "UVMap2" differently but only the rotation of the normal map is affected. Also, when switching to Edit Mode, the render in the 3D View behaves as expected again, using the correct rotation. Unless you switch the Viewport Shading to Rendered with Cycles, then the same behavior appears in Edit Mode, too (you can then even rotate the UV Island and see the rotation of the normal map change). **Exact steps for others to reproduce the error** - Create a new project with an object that has a material assigned. - Create at least two UVMaps for the object and set one in the material as the Vector Input of a Normal Map. - Rotate the UV Islands differently in one of the UVMaps. - Switch the "Active Render" Setting between the UVMaps in the UV Map Panel. Or use the attached blend file.
Jens added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-10-02 20:49:26 +02:00

Well, the wrong result here is in the edit mode.
You did not specify the UV in the Normal Map node so the tangent is calculated based on the active UV.

However this has been reported before. See:
#99518: Eevee: UV map tangent forces first UV layer when in edit mode

Please subscribe in #99518 if you want to see further updates

Well, the wrong result here is in the edit mode. You did not specify the UV in the `Normal Map` node so the tangent is calculated based on the active UV. However this has been reported before. See: #99518: Eevee: UV map tangent forces first UV layer when in edit mode Please subscribe in #99518 if you want to see further updates
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-10-03 17:03:26 +02:00
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
2 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#113174
No description provided.