Texture parameters are now set from the gfx program.