Maniphest T57741

consecutive bump nodes with image textures give nan in normal pass
Closed, ResolvedBUG

Assigned To
Brecht Van Lommel (brecht)
Authored By
ronald engel (ronald8e)
Nov 9 2018, 11:04 AM
Tags
  • BF Blender
  • Cycles
Subscribers
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
ronald engel (ronald8e)

Description

System Information
All OS tested

Blender Version
Broken: 2.79.6
Worked: 2.79

**Description
In our materials we use textures to add scratches and dirt to the normals via bump nodes (textures go to the height input). For some time now we have broken normal passes. Instead of sending you our shitty shaders I isolated the problematic parts:

If you use an image texture as height input for the bump node and then connect the normal output to another bump node also with an image texture for the height you will end with nan pixels in the normal pass. This "works" even if no image is selected in the image texture node. See blend file for reproduction.

Might be linked to https://developer.blender.org/T56798

Related Objects

Event Timeline

ronald engel (ronald8e) created this task.Nov 9 2018, 11:04 AM
ronald engel (ronald8e) updated the task description.Nov 9 2018, 11:06 AM
ronald engel (ronald8e) added a comment.Nov 26 2018, 9:23 AM

While updating our shaders to workaround this bug we noticed that the added bump node could use any texture for height input and the resulting normal pass after adding this to another bump node would be wrong.

So for instance a noise texture bump node added via the normal input to an image texture bump node would give nan in the normal pass.

Bastien Montagne (mont29) assigned this task to Brecht Van Lommel (brecht).Nov 29 2018, 4:38 PM
Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.
Bastien Montagne (mont29) added a project: Cycles.
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).

Indeed seems related to T56798

Dalai Felinto (dfelinto) removed Brecht Van Lommel (brecht) as the assignee of this task.Dec 23 2019, 4:35 PM
Dalai Felinto (dfelinto) added a project: Tracker Curfew.
Dalai Felinto (dfelinto) added a subscriber: Brecht Van Lommel (brecht).
Brecht Van Lommel (brecht) closed this task as Resolved.Jan 27 2020, 12:10 PM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "Bug".
Brecht Van Lommel (brecht) removed a project: Tracker Curfew.

This appears to have been resolved in latest master, I can't see NaNs anymore.