voxel-texture@0.5.6 now has a materialFlatColor option. This will disable textures and use new this.THREE.MeshBasicMaterial({vertexColors: this.THREE.VertexColors}).
You can specify colors in the materials array:
var game = createGame({
//materials: ['brick', ['grass', 'dirt', 'grass_dirt'], 'dirt'],
materials: ['#E04006', '#C0D890', '#8A360F'],
materialFlatColor: true
})
The AO isn't that great but I'll make it better in time. Thanks!
voxel-texture@0.5.6 now has a
materialFlatColor
option. This will disable textures and usenew this.THREE.MeshBasicMaterial({vertexColors: this.THREE.VertexColors})
.You can specify colors in the materials array:
The AO isn't that great but I'll make it better in time. Thanks!