blender/intern
Alaska ee2e231adc Fix #111277: NaN in Vector Displacement leading to render errors
Fixes NaN in Vector Displacement node caused by the normalization of
0, 0, 0 vectors.

This fixes both visual rendering issues and an "illegal address" error
on the GPU. The "illegal address" error came from the Light Tree
Sampling code not handling the NaN normals well, leading to weird code
paths being taken, eventually leading to a kernel_assert and a
user facing illegal address error.

In Blender 3.5+, this fixes two errors (visual artifacts and errors on
the GPU when using the light tree). In Blender 3.3 it only fixes one
(visual artifacts) because 3.3 doesn't have the light tree. The commit
message should be adjusted to represent that

Pull Request: https://projects.blender.org/blender/blender/pulls/111294
2023-09-13 13:41:02 +02:00
..
atomic
audaspace
clog
cycles Fix #111277: NaN in Vector Displacement leading to render errors 2023-09-13 13:41:02 +02:00
dualcon
eigen
ffmpeg Fix ffmpeg warnings due to missing header include 2023-06-16 15:26:54 +02:00
ghost
glew-mx
guardedalloc Build: fix NetBSD error in guardedalloc 2023-06-15 13:27:39 +02:00
iksolver
itasc
libc_compat
libmv Libmv: Remove FreeBSD sincos() workaround 2023-06-15 13:17:44 +02:00
locale Fix building with boost >= 1.81 2023-06-15 13:23:10 +02:00
mantaflow
memutil
mikktspace
opencolorio
opensubdiv
openvdb
quadriflow
rigidbody
sky
utfconv
wayland_dynload
CMakeLists.txt