Reworking the texture system, hoping better performances