I am struggling with setting an image as a background for my scene without it becoming blurry. I have attempted to use the following code:
textureLoader.load("images/background/space.png", function(t) {
scene.background = t;
});
The problem arises when trying to incorporate lensflare and glow effects, where blending only works if the background is set properly. If I apply the image directly as the canvas's background or add it as a mesh in the scene, everything looks fine. However, due to the need for specific effects, these methods are not suitable.
Including the image as a mesh within the scene causes issues with camera rotation affecting its position, which is not desired. The goal is for the image to act as a stable background element.
The difference in quality between a clear and blurry background is evident. The following images illustrate the contrast:
Blurry:
https://i.sstatic.net/SxlMa.png
Crispy:
https://i.sstatic.net/qBTmb.png
Attempts to adjust properties or set the background in various ways have not yielded satisfactory results. Is there a method to prevent the scene background from appearing blurry?