tOcclusionQuerySet(querySet);

			renderer.renderScene(scene, camera, renderOption);

			if (!reading) {
				renderer.readQuerySetResults(querySet, dstBuffer)
					.then(buffer => {
						mainLight.color.setHex(buffer[0] === 0 ? 0xFF9898 : 0x98FB98);
						reading = false;
					});
				reading = true;
			}
		}
		requestAnimationFrame(loop);

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

			camera.setPerspective(30 / 180 * Math.PI, width / height, 1, 1