Rendering fog of scene only on camera 1 and not on camera 2

I’m rendering a scene in fullscreen with one perspective camera and a second version of it from the top with a second camera (as kind of a map).

I’m applying a fog to the scene, which also gets rendered on the second camera. Is there a way to exclude the fog from rendering on the second camera?

Thank you!

There is no way to configure fog settings over the camera.

Have you tried configuring Scene.fog before both renders?

So should i turn on the fog, then render Camera 1, then turn off the fog and render camera 2?

Yes. With current releases of three.js the renderer is able to handle such scenarios way better than in earlier days.


works like a charm. Thank you!