Custom Texture Shader in Three.js
You are still using the old syntax for uniforms var uniforms = { texture1: { type: “t”, value: 0, texture: THREE.ImageUtils.loadTexture(“texture.jpg”) } }; This is the new syntax var uniforms = { texture1: { type: “t”, value: THREE.ImageUtils.loadTexture( “texture.jpg” ) } };