Hi Stuart and Brecht, In kernel_bvh.h, the if conditions in line 160 and 164 are the same. So either one of them is redundant, or the second component should be "w" instead of "z". Best regards, Thomas -- Thomas Dinges Blender Developer, Artist and Musician www.dingto.org