Page MenuHome

Cycles Normal Baking Incorrect Edges with Extrusion
Open, NormalPublic

Description

System Information
Windows 10, Ryzen Threadripper, GeForce 1080Ti

Blender Version
Broken: 2.79 bb98e83b99e
Worked: Can't find a build that does

Short description of error
When baking normals in Cycles, using Extrude instead of a cage object results in incorrect shading on sharp edges. It appears that each face of the virtual cage is firing rays in the direction of its original normals instead of the extruded normals.

This is never the desired behavior for a cage, because the result is the same as what can be accomplished without a cage.

Using Extrude at a value of 0.1:

Using a linked duplicate cage object with a displacement of 0.1:

Exact steps for others to reproduce the error

  1. Unwrap a cube, with margins.
  2. Create a second cube with beveled edges, marked sharp, and set to smooth shading.
  3. Bake the beveled cube's normals to the original cube with 'Cage' enabled and Extrude set to 0.1
  4. Create a linked duplicate of the original cube and give it a displacement modifier with a value of 0.1
  5. Bake the beveled cube's normals to the original cube with 'Cage' enabled and the cage object set to the duplicated cube
  6. Compare both normal maps

Details

Type
Bug

Event Timeline

You need to attach your .blend file.

Jonathan Lampel (jonathanl) updated the task description. (Show Details)

Whoops, thought I had. Done!

Bastien Montagne (mont29) triaged this task as Normal priority.

@Brecht Van Lommel (brecht) no idea whether this is bug or intended behavior, will let you decide.