<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - SSAO doesn't work as expected in Supertuxkart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95466#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - SSAO doesn't work as expected in Supertuxkart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95466">bug 95466</a>
from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
<pre>That's correct. I believe it goes haywire outside of the range [-2000pi,
+2000pi]. A number of GPUs use approximations for sin/cos that eventually go
haywire at really large angles - it'd probably be wise to have STK do a range
reduction.
You can just mod(x, 6.283185307179586) rather than converting to degrees and
back.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>