You seem to talking about sun bleaching, which, of course, for textiles, is a time-venerated process. Your concern about flammability seems to imply that your "product" is also flammable, in which case, there is a likelihood that it can dissolve non-glass materials such as acrylics.
I would dispute you assertions about the fragility of glass. There are a multitude of glasses such as tempered glass or Pyrex that are quite durable. And unless you expect that someone is going to be beating on your glass with a hammer or other shock load, there shouldn't be any issue.
Since the bleaching process is going to be exposure time dependent, you need a LARGE area of exposure, e.g., something with a large window with some length in the direction of flow.
Piping is very inefficient for this, because the curvature of the piping causes reflections and reduces the amount of light that actually reaches the fluid.
TTFN