learning-threejs-third
learning-threejs-third copied to clipboard
Ongoing project for learning Three.js third edition
# HTTPS Mixed Content error Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script ''. This request has been blocked; the content must be...
 I thought all the front sides should have the same color , and all the back sides of course should display in another same way. But it doesn't. Could...
In chapter-11, These demos are broken. - 103-post-processing-masks.html - 104-shaderpass-simple.html - 105-shaderpass-blur.html - 106-shaderpass-advanced.html - 107-shaderpass-custom.html If you try to open them, they will show empty pages.
THREE.ExtrudeBufferGeometry: amount has been renamed to depth.
This demo is using `addLargeGroundPlane`. So remove unused `groundPlane`, otherwise will throw > Uncaught ReferenceError: groundPlane is not defined if user toggle it.
For these two: - CylinderGeometry (https://raw.githubusercontent.com/josdirksen/learning-threejs-third/master/src/chapter-05/js/05-07.js) - ConeGeometry (https://raw.githubusercontent.com/josdirksen/learning-threejs-third/master/src/chapter-05/js/05-08.js) Right now ConeGeometry's code is exactly same with CylinderGeometry which is wrong.
For **chapter-03/02-spot-light.html**, when I try to enable `shadowDebug`, the console shows an error. > THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.
Just move the body element to the right place. BTW, thanks for the awesome book!