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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
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.