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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
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/