working on texture capture; and clipping