Tags: SigmoidFreud/three.js
Tags
Reverting to Object.prototype = { pattern. Only using it on the metho… …ds that really need it. Misteriously when using the latest version of the lib on the project I'm working on I'm getting this error: > Uncaught TypeError: Object [object Object] has no method 'set' This is caused when THREE.UniformsLib.common.diffuse initialises a THREE.Color (THREE.Color.set() seems to be undefined then). For some reason this only happens when I load Box2D before three.js. If I load it after is all good. But this fixes the problem too. /ping @bhouston
ColladaLoader: Removed positions scaled as suggested in mrdoob#3106.
Update examples/webgl_custom_attributes_particles3.html The result for attributes.size.value[i] can be negative which in turn makes gl_PointSize negative. As an example if Math.sin(...) returns -1 then you'll get -6 as a result. The specification specifically states:"If the value written to gl_PointSize is less than or equal to zero, results are undefined". In fact it is causing such a problem on our platform.
PreviousNext