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
- Top and bottom color channels are swapped when lighting an object with Six Way Shader Graph in URP
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
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.