问题
When using normally three.js I get this error at Firebug:
gl.getProgramInfoLog() (54,6): warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
Even all the rest looks like working properly and not giving any problem.
Trying with some examples from the net I see the same error message, you can find it for example at some examples in the net like this one
When it uses three.min.js appears at line: 537 and with three.js it appears at line: 25909.
回答1:
Which version of firefox you are using ?
there was a bug in firefox related to this. Consider upgrading.
回答2:
It was a bug, checkout three.js issue tracker. Apparently, it has been fixed.
来源:https://stackoverflow.com/questions/23367786/three-js-forcing-loop-to-unroll