QUERY:
I recently stumbled upon this intriguing design:
In my code, I have successfully textured the central ground area. However, I am unsure how to extend it all the way up to the horizon like in the reference link.
It appears that the developer of the referenced design encountered some technical constraints and was forced to use a single color for the portion beyond the central floor area.
Can you provide guidance on how I can make my floor stretch to the horizon or create a skyline effect?
SAMPLE CODE:
var floorTexture = new THREE.ImageUtils.loadTexture( '../../public/assets/grassTile.jpg' );
floorTexture.wrapS = floorTexture.wrapT = THREE.RepeatWrapping;
floorTexture.repeat.set( 10, 10 );
var floorMaterial = new THREE.MeshBasicMaterial({ map: floorTexture, side: THREE.DoubleSide });
var floorGeometry = new THREE.PlaneGeometry(1000, 1000, 10, 10);
var mesh = new THREE.Mesh(floorGeometry, floorMaterial);
mesh.rotation.x = - Math.PI / 2;
mesh.receiveShadow = true;
scene.add( mesh );