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
it's /me edited this page Mar 2, 2021
·
2 revisions
There are shader translations in which unexpected results occur as a result of a pow calculation. This is due to the different handling of the result. The problem can be eliminated with the help of this substitute function:
// corrected pow-function by Chris Ridings__DEVICE__floatpowcf(floatx, floaty) {
floatret=_powf(x,y);
if (isnan(ret))
return0.0001f;
returnret;
}