Solution for parsing texture output