Redesigned texture states system