Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1300910
Regression
No
[URP] Fog's Start/End positions are inverted when the Fog Mode is set to Linear
How to reproduce:
1. Open the user's attached "PSX_shader_port.zip" project
2. Open the "SampleScene" Scene
3. Open the Fog settings (Window -> Rendering -> Lighting -> Environment)
4. Set the Start property in the Fog settings to 10
5. Set the End property in the Fog settings to 12
6. Observe the Fog in the Game view
Expected result: Fog starts from 10 to 12
Actual result: Fog starts from 0 to 12
Reproducible with: 10.2.2 (2020.2.2f1), 11.0.0 (2021.1.0b4, 2021.2.0a3)
Could not test with: 7.5.2 (2019.4.19f1) - Due to errors in the Shader Graph when downgrading
Note:
- The issue is not reproducible with Exponential, Exponential Squared Fog Modes
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0a16 (12.0.0)