0
0
forked from blender/blender
blender/intern/cycles/kernel
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: blender/blender#111294
2023-09-13 13:41:02 +02:00
..
bake Cycles: unify math functions names 2022-06-23 15:02:53 +02:00
bvh Fix T94136: Cycles: No Hair Shadows with Transparent BSDF 2022-11-28 12:29:03 +01:00
camera Cycles: refactor rays to have start and end distance, fix precision issues 2022-07-15 18:46:24 +02:00
closure Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00
device Cycles: fix rendering with Nishita Sky Texture on Intel Arc GPUs in 3.3 2023-02-15 15:11:46 +01:00
film Fix T103403: Lightgroup passes can contain lighting on shadow catchers 2023-01-14 02:10:28 +01:00
geom Fix #106394: motion triangles could have unnormalized normals 2023-04-12 14:12:00 +02:00
integrator Fix T103507: Distant lights partially contribute to wrong lightgroup 2023-01-14 02:34:03 +01:00
light Fix T100814: Cycles wrong area light parametric texture coordinates 2022-09-05 13:25:50 +02:00
osl Fix T103615: OSL image box mapping has flipped textures 2023-01-12 22:08:01 +01:00
sample Cleanup: renaming and consistency for kernel data 2022-06-20 12:30:48 +02:00
svm Fix #111277: NaN in Vector Displacement leading to render errors 2023-09-13 13:41:02 +02:00
util Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00
CMakeLists.txt Cycles: enable AMD RDNA3 GPUs and upgrade HIP compiler 2022-11-28 15:01:19 +01:00
data_arrays.h Cleanup: renaming and consistency for kernel data 2022-06-20 12:30:48 +02:00
data_template.h Cycles: Enable MetalRT pointclouds & other fixes 2022-11-28 19:20:29 +01:00
tables.h Fix T98036: Cycles blackbody inaccurate for low temperature and wide gamut 2022-05-23 22:07:59 +02:00
types.h Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00