Using my crystal ball, I would suggest that your app is incorrectly written where the rendering of textures and materials are concerned. I looked very closely, but couldn't quite make out the line numbers of said offending code.