but between the pillars that supported the great roof , wooden barriers had been set up , and small shrines erected , gaudy with painted pottery gods , each with its own attendant , who as they passed stretched out a hand for offerings ; there was no way to go but between the barriers , which marked out a confused and zigzagging path .