Implemented a temporal aliasing fix that wasn't quite working, but seems promising. The code is commented out so as not to break old game projects until it's improved.