I vaguely recall reading somewhere that some mathematical formula for Unified Field Theory (or similar physics concept) was originaly derived as a part of a game engine and patented.
http://www.bbspot.com/News/2003/12/valve_unified_theory.html
Is that what you had in mind?