How to set image as background for gltf format?

am using gltf loader to load gltf file and i need to set image as background.
so, anyone help to set image background.

thanks in advance

You can use scene.background for this:

https://jsfiddle.net/f2Lommf5/10167/

Alternatively, you can pass alpha: true when creating an instance of WebGLRenderer and create a background via HTML and CSS.

https://jsfiddle.net/f2Lommf5/10169/

2 Likes