Blender Git Loki
Git Commits -> Revision fe5d244
Revision fe5d244 by Jeroen Bakker (master) December 18, 2020, 09:26 (GMT) |
Fix T83494: Eevee clamp node incorrect when min > max. In glsl the clamp function has undefined behavior when min > max. For the clamp node this resulted in differences between cycles and eevee. This patch adds the expected implementation for minmax. The old clamp function is still used in cases where we know for certain that the input values are correct (math node clamp option). GPU uses optimized code and silicon in these cases. |
Commit Details:
Full Hash: fe5d2448c6e1348be1f82f10a65d65b992f2477b
Parent Commit: ffb6648
Lines Changed: +8, -2