deathcap / voxel-texture-shader

custom shader for texturing voxels in voxeljs (for three.js-based voxel-engine, no longer needed with voxel-engine-stackgl)
MIT License
8 stars 1 forks source link

animate() broken, references this.options.materialType #6

Closed deathcap closed 10 years ago

deathcap commented 10 years ago

Texture.prototype.animate = function(mesh, names, delay) {

var mat = new this.options.materialType(this.options.materialParams);

but this.options.materialType doesn't exist