You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm reading this wrong it looks to me like a typo as direction is being normalized twice.
So I imagine line 570 can just be removed or commented out.
The text was updated successfully, but these errors were encountered:
Hi,
Been looking through the code and came across this in lightmapper.h
569: ctx->meshPosition.sample.direction = lm_normalize3(lm_add3(n0, lm_add3(lm_scale3(nv2, uv.x), lm_scale3(nv1, uv.y))));
570: ctx->meshPosition.sample.direction = lm_normalize3(ctx->meshPosition.sample.direction);
Unless I'm reading this wrong it looks to me like a typo as direction is being normalized twice.
So I imagine line 570 can just be removed or commented out.
The text was updated successfully, but these errors were encountered: