Blender Git Loki
Git Commits -> Revision fdd3032
Revision fdd3032 by Stefan Werner (master) November 19, 2020, 22:15 (GMT) |
Cycles: Fixed zero sized normals when certain attributes were missing. The Normal Map node was falling back to (0, 0, 0) when it was missing the required attributes to calculate a new normal. (0, 0, 0) is not a valid normal and can lead to NaNs when it is normalized later in the shader. Instead, we now return sd->N, the unperturbed surface normal. |
Commit Details:
Full Hash: fdd3032f8fadf3a2de2cff9452801549fa79a779
Parent Commit: 72a199e
Lines Changed: +4, -2
1 Modified Path:
/intern/cycles/kernel/svm/svm_tex_coord.h (+4, -2) (Diff)