mrdoob/three.js — pull request #5626 by greggman (2014-11-14 02:12:56+00:00)
Title: Make the fragment shader in this sample spec compliant

The fragment shader in this sample was calling pow(x, y) where x < 0
but according to the spec pow(x, y) where x < 0 is undefined.

This sample therefore didn't run on iOS where that GPU looks like it
it returns 0 or NaN when x < 0