Page MenuHome

Cycles: Normals for disp+bump and vector displacement
Confirmed, LowPublicTO DO

Description

Normals for disp+bump and vector displacement (and possibly tangents as well) aren't correct currently.

Here is a render that shows the issue. Left side of the meshes is flat shading, right is smooth.

Test file:

Related Objects

StatusSubtypeAssignedTask
ConfirmedTO DONone
ConfirmedTO DONone

Event Timeline

Mai Lavelle (maiself) lowered the priority of this task from 90 to Low.Feb 6 2018, 3:25 AM
Mai Lavelle (maiself) created this task.

At the moment the bump mapping code only works with heights, computed by taking the dot product between the normal and the displacement vector. The math in svm_node_set_bump will likely need to change quite a lot to make this work.

Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "To Do".