After some more experimentation, it looks like it's specifically a problem with float literals, which are floored / truncated. Things work when I simply replace them with uniforms and set their value in JavaScript.
-- Basic shaders produce incorrect output https://bugs.launchpad.net/bugs/676183 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs