Edit: Solved. The problem was that I wasn't setting the precision, so it used low precision (or possibly medium precision). Adding "precision highp float;" at the start of my vertex shaders made the...