topical media & game development
mobile-query-three-plugins-shadowmap-examples-index.htm / htm
<!doctype html><title>Minimal tQuery Page</title>
<script src="../../../build/tquery-bundle.js"></script>
<body><script>
var world = tQuery.createWorld().boilerplate().start();
var mesh = tQuery.createTorus().addTo(world);
mesh.material(new THREE.MeshPhongMaterial({
ambient : 0x888888,
color : 0x888888,
}));
tQuery.createAmbientLight().addTo(world).color(0x444444);
//tQuery.createDirectionalLight().addTo(world).position(-1,1,1).intensity(5);
//tQuery.createDirectionalLight().addTo(world).id('myLight').position( 1,1,1).color(0xFF0000);
tQuery.createPointLight().addTo(world).color(0xFF0000).intensity(5)
</script></body>
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.