Search Issue Tracker
Fix In Review for 2022.1.X
Votes
9
Found in
2021.2
2021.2.0f1
2022.1
Issue ID
1383719
Regression
No
Decal is not displayed when Fog is enabled
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Go to Window -> Rendering -> Lighting
4. In the Lighting window, select the Environment tab and go to Other Settings
5. Disable Fog
6. In the Hierarchy window, double-click the GameObject "Decal"
7. Observe the appearance of the Decal in the Scene view
8. Enable Fog again
9. Repeat step 7
Expected result: the Decal illustration is visible both with and without Fog
Actual result: the Decal area becomes solid grey when Fog is enabled
Reproducible with: 2021.2.5f1, 2022.1.0a16
Could not test with: 2019.4.33f1 (error CS0115: 'CustomRenderPassFeature.CustomRenderPass.OnCameraSetup(CommandBuffer, ref RenderingData)': no suitable method found to override), 2020.3.24f1 (UniversalRenderer is missing RendererFeatures)
Comments (1)
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
- Imported FBX is rendered differently in Game view when comparing to Scene view
- "GetAllOverlapping failed" Error displayed in console or endless loading process on Application.Message.LeftButtonUp when cycle-selecting GameObjects with GPU Resident Drawer enabled
- Scene View has an inverted Game View window when changing from Game View to Scene View on a specific project
- An error is thrown when one TreeView root element is dragged and held over a parent element but is dropped between the elements
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
Peter77
Jan 26, 2022 10:44
Related forum thread:
https://forum.unity.com/threads/unitys-decal-renderer-dont-get-affected-by-linear-or-exponential-fog.1203403/