texture based glcapture