[Bug 95466] SSAO doesn't work as expected in Supertuxkart

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 26 07:45:08 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95466

--- Comment #5 from Kenneth Graunke <kenneth at whitecape.org> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160526/cf1ea4b9/attachment-0001.html>


More information about the intel-3d-bugs mailing list