After rendering some geometry, a warning appears in my console:
THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.
I'm having trouble understanding why this warning is appearing and as a result, the background of my canvas is now completely black.