The Sun Beams node produces NaNs when the ray length option is zero. This is due to zero division in the code, which we avoid by skipping computation altogether when the ray length is zero.
The Sun Beams node produces NaNs when the ray length option is zero. This is due to zero division in the code, which we avoid by skipping computation altogether when the ray length is zero.