Hello! Application I’m working on allows user to add background color/background image to a scene. I have no issues at all when setting opacity to background color. However, i have no idea how to achieve that with background image. Is it possible? I’m using TextureLoader.
background color
this.renderer.setClearColor(color, opacity);
background image
const loader = new THREE.TextureLoader();
if (this.backgroundImage) {
loader.load(this.backgroundImage, (texture) => {
this.scene.background = texture;
});
}
Thank you for your help!