test

map = THREE.ImageUtils.loadTexture('../texturez/dots.jpg');
geometry = new THREE.TorusKnotGeometry(115.31, 29.04, 57, 8, 2, 3, 1);
material = new THREE.MeshPhongMaterial({shading: THREE.SmoothShading, color: 0x000000, ambient: 0x000000, emissive: 0x000000, specular: 0x939393, shininess: 6.63, map: map, side: THREE.DoubleSide, transparent: true, opacity: 1});
mesh = new THREE.Mesh(geometry, material);
map.wrapS = map.wrapT = THREE.RepeatWrapping;
map.repeat.set( 6.852668816980547, 6.852668816980547 );
mesh.scale.x = mesh.scale.y = mesh.scale.z = 1.76;
mesh.castShadow = true;
scene.add(mesh);

bg = document.body.style;
bg.background = '#1623ff';

renderer.shadowMapEnabled = true;

scene.fog = new THREE.Fog( 0xff0000, 4963.45, 9000 );

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s