Numerically stable acos dot product derivative?

I had the same problem.

Using clamp(-1.0 + eps, 1.0 - eps) instead of clamp(-1.0, 1.0) made it for me…

2 Likes