only include textures if texture embedding flag is set