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
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
- SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
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.