Short version: How can I create larger textures on faces with a fading effect, allowing them to overlap each other?
-
Currently learning three.js by attempting to replicate the game Warzone 2100. :)
I'm loading a default ground texture using this code:
var texture = THREE.ImageUtils.loadTexture('tile-53.png'); // Specify file
texture.wrapS = texture.wrapT = THREE.RepeatWrapping; // Enable texture repetition
texture.repeat.set(map_width, map_height); // Repeat for every face
texture.anisotropy = 100; // Disable anisotropy
Right now it looks like this. Take a look at this for comparison.
The new renderer in Warzone 2100 improved the appearance of textures by making them larger than the faces and overlapping, eliminating sharp borders. Can the same effect be achieved with three.js, and if so, how would I accomplish that?