forked from bartvdbraak/blender
fdd3032f8f
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. |
||
---|---|---|
.. | ||
app | ||
blender | ||
bvh | ||
cmake | ||
device | ||
doc | ||
graph | ||
kernel | ||
render | ||
subd | ||
test | ||
util | ||
CMakeLists.txt |