= new THREE.Mesh(cubeGeom, shaderMat);
                        gfxScene.add(mesh);
                    });
                });

			}

	
			/**
			 * Animate the scene and call rendering.
			 */
			function animateScene() {

                // Tell the browser to call this function when page is visible
				requestAnimationFrame(animateScene);

                // Map the 3D scene down to the 2D screen (render the frame)
				gfxScene.renderScene();
			}

		</script>
	</body>
</html>
