Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2020.1.0b8
2020.2
Issue ID
1246037
Regression
No
Inconsistent fog between OpenGL and DirectX
Steps to reproduce:
1. Open the project from the attached file "1246037.zip"
2. Open the SampleScene and inspect the Game View
3. Go to File -> Build and Run
4. Inspect the WebGL build and compare it to the Game View
Expected result: Fog is the same as in the Game View
Actual result: Fog is more further away than in the Game View
Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Note: not reproducible with Mac and Windows builds.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
This cannot be fixed for the built in renderer. It was a conscious decision way back when it would cost too much ALU in the shader to make things unified (GL and DX use different clip spaces). Changing it now would change the look of too many projects so we don't dare doing that.
URP will look into making their fog calculations look the same between backends.