diff --git a/static/scripts/materials.js b/static/scripts/materials.js index 83b7bb6..12fe02a 100644 --- a/static/scripts/materials.js +++ b/static/scripts/materials.js @@ -5,6 +5,7 @@ var curveProperties = { curvature: 20 }; +// Is called on boot materials.prepare = function() { var ballSprite = new THREE.Texture(document.getElementById("ball")); ballSprite.needsUpdate = true;