pioneerspacesim/pioneer — pull request #1712 by Ae-2222 (2012-11-13 09:04:25+00:00)
Title: Hack-fix to avoid 0 temperatures from causing nans in shader uniforms

Avoid 0 temperatures from causing nans in shader uniforms. Temporary as part of sysgen needs to be rewritten before the proper fix can be used. Pioneer probably relies heavily on the bug for cooler planets, which allows life/different terrains - without this planets at common distances are probably very hot as found in the temperature refactor.

Using the proper solution involves redoing the planet generation which is a lengthy process (this is wip as part of the softfloat related rewrite).