GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
480 stars 56 forks source link

RPRBLND-2257: Math node provides error #595

Closed VascoPi closed 1 year ago

VascoPi commented 1 year ago

PURPOSE

Math node provides an error.

EFFECT OF CHANGE

Fixed error 0.0 cannot be raised to a negative power. Added support for the math operations: Truncate, Square Root, Inverse Square Root, Sign, Ping Pong.

TECHNICAL STEPS

Sanitize data for POWER operation. Added support for operation TRUNC, SQRT, INVERSE_SQRT, SING, and PINGPONG.