How to remove a fog?
See original GitHub issueonce i setup a fog on a scene, how to remove it ?
- How i setup the fog (works as it appears on the screen)
scene.fog = new THREE.FogExp2( 0x000000, 0.1 );
- how i try to disable the fog (fails as the fog is still visible on screen)
scene.fog = null;
Issue Analytics
- State:
- Created 12 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
3 Ways to Remove Fog from a Car Windshield
1. Turn down the AC if it’s warm outside. If you’ve got foggy windows in the summer, turn down your air conditioner. This...
Read more >How to Remove Fog from Car Glass: Simple Tips to Tackle ...
Shaving foam is another great product that can prevent fogging up. To apply the shaving foam, take a handful and spread it across...
Read more >How to Remove Fog and Mist From Your Photos Using ...
These naturally occurring complications might ruin some of your best pictures of the trip. Luckily, you can remove mist or fog from your...
Read more >How to remove fog in Minecraft 1.19 update?
Fortunately, there is a trick to removing fog from the world. However, it does require a mod. Remove fog from Minecraft 1.19 update...
Read more >How to remove 'fog' and 'water' inside my car's headlights ...
The only solution to remove the moisture from headlamp is to run the car with the high beams ON. The headlamp silicon seal...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think there is a cheaper way of doing this without having to update the material (or materials, in case you have a big scene…)
Just update the fog near/far to make it go behind the camera… this works well.
nice! thanks