Texenv

Adds support for emulating fixed function pipeline behavior, especially for TexEnv calls and multitexturing.