YPE.SMOOTH_SHADING;
			phong.needsUpdate = true;
		});

		function loop(count) {
			requestAnimationFrame(loop);

			// rotate camera
			camera.position.x = 100 * Math.sin(count / 1000 * .5);
			camera.position.z = 100 * Math.cos(count / 1000 * .5);
			camera.lookAt(new t3d.Vector3(0, 0, 0), new t3d.Vector3(0, 1, 0));

			forwardRenderer.render(scene, camera);
		}
		requestAnimationFrame(loop);

		function onWindowResize() {
			width = window.innerWidth || 2;
			height = window.innerHeight || 2;

			camera.