This project is read-only.

Warning in latest Changeset

Feb 2, 2011 at 1:39 PM
Edited Feb 2, 2011 at 1:40 PM

Warning 1 Warning compiling c:blah\Content\KryptonEffect.fx: warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them


Fyi. 2619. Don't know if you're aware of this? xxx

Feb 4, 2011 at 7:14 PM

Whoops. I forgot I released it with that warning in there. It's complaining because it only works for positive bases, but I'm not allowing it any negative bases, so it's just being a pansy.

I'll add in the abs(...) next round. In the mean time, if it's annoying, just find LightIntensityFactor in the .fx file and change the pow(... , ...) to look like pow(abs(...) , ...)


Feb 6, 2011 at 11:54 AM

It's not an issue, I've got quite a lot of experience with ignoring warnings. ;)