Bump node in Eevee. Huge performance drop. #79638

Closed
opened 2020-08-08 09:59:42 +02:00 by Sergei · 5 comments

System Information
Operating system: Win10 x64,
Graphics card: Nvidia GTX 1660

Blender Version
Broken: 2.83.4
Worked: 2.8

  1. Start Blender 2.8 with Eevee as a default renderer.
  2. Set viewport shading to Rendered
  3. Plug some color or texture to the Color input of the Principled BSDF
  4. Plug some noise or a map to the Bump node and connect to the Normal input of the shader.
  5. Notice the amazing viewport render speed
  6. Save scene and switch to Blender 2.83.4
  7. Open this scene and set the viewport shading to Rendered
  8. Notice that significant lag with this Bump node.

Far as I have checked, this lag started manifesting from version 2.81 and persists even in 2.91 Alpha. Please correct it, because it is the only thing that averts people from
compiling high-quality PBR shaders in Blender and pushes them to different software for texturing, while it could have been done so much better in Blender.

**System Information** Operating system: Win10 x64, Graphics card: Nvidia GTX 1660 **Blender Version** Broken: 2.83.4 Worked: 2.8 1. Start Blender 2.8 with Eevee as a default renderer. 2. Set viewport shading to Rendered 3. Plug some color or texture to the Color input of the Principled BSDF 4. Plug some noise or a map to the Bump node and connect to the Normal input of the shader. 5. Notice the amazing viewport render speed 6. Save scene and switch to Blender 2.83.4 7. Open this scene and set the viewport shading to Rendered 8. Notice that significant lag with this Bump node. Far as I have checked, this lag started manifesting from version 2.81 and persists even in 2.91 Alpha. Please correct it, because it is the only thing that averts people from compiling high-quality PBR shaders in Blender and pushes them to different software for texturing, while it could have been done so much better in Blender.
Author

Added subscriber: @kritzien

Added subscriber: @kritzien
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Evan Wilson self-assigned this 2020-08-08 11:48:53 +02:00
Member

Thanks for the report. This was an intentional change in 2.81 in order to improve the quality of the bump node.

On EEVEE's bump node implementation.
ffd5e1e6ac

We basically duplicate the height map branch plugged into the bump node,
and tag each node in each branch as dx/dy/ref using branch_tag.

Then we add a one pixel offset on the texture coordinates if the node is
tagged as dx or dy.

The dx/dy branches are plugged into (new) hidden sockets on the bump node.

This match cycles bump better but have a performance impact. Also, complex
nodetrees can now become instruction limited and not compile anymore.

While we do continue to work on improving performance in general, potential performance improvements are not handled as bug reports.

To improve performance, consider using less complex geometry, simpler shaders and smaller textures.

Thanks for the report. This was an intentional change in 2.81 in order to improve the quality of the bump node. On EEVEE's bump node implementation. ffd5e1e6ac >We basically duplicate the height map branch plugged into the bump node, >and tag each node in each branch as dx/dy/ref using branch_tag. > >Then we add a one pixel offset on the texture coordinates if the node is >tagged as dx or dy. > >The dx/dy branches are plugged into (new) hidden sockets on the bump node. > >This match cycles bump better but have a performance impact. Also, complex >nodetrees can now become instruction limited and not compile anymore. While we do continue to work on improving performance in general, potential performance improvements are not handled as bug reports. To improve performance, consider using less complex geometry, simpler shaders and smaller textures.
Author

Whatever you say. But right now, Bump node in Eevee is unusable even with the simplest setup. That's an unfortunate downgrade from version 2.8. Will have to revert to 2.8. Thanks anyway

Whatever you say. But right now, Bump node in Eevee is unusable even with the simplest setup. That's an unfortunate downgrade from version 2.8. Will have to revert to 2.8. Thanks anyway
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#79638
No description provided.