Rewrote texture system