reading scene data from a texture