mrdoob/three.js — pull request #1726 by jfeldste (2012-04-13 19:08:00+00:00)
Title: Unrolled a loop in the shadowmap fragment shader

As per our previous conversation, this is the PlayBook specific work-around that we came up with to fix the fact that indexed sampler arrays are not supported on the PlayBook.

In general, this change makes it so that samples that use shadows work as expected.

I'm not sure if this is at all useful for you, but we figured we'd share it anyways. :)