Use a skybox texture to render object without display it


I am using this code to use a rendering texture

scene.environmentTexture = CubeTexture.CreateFromPrefilteredData('/textures/_/', scene);

const skybox = scene.createDefaultSkybox(scene.environmentTexture) as Mesh;

But I would like to display a blue background (not show the background texture itself)

Not sure that I completely understand your question.
Here is my answer -
No skybox at all, .env texture and blue background.

1 Like

Hello just checking in, was your question answered? @Stephane_Ancelot