Search Issue Tracker
By Design
Votes
0
Found in [Package]
11.0.0
Issue ID
1295485
Regression
No
Depth sorting is not working when using a Custom render feature with a custom shader
How to reproduce:
1. Open the attached project named "Case_1295485"
2. Open the MainScene02a located in Assets/Scenes
3. Enter Play mode
4. Click Custom Mode -> Suspension
5. Observe the Front Right suspension strut
Expected results: The Front Right suspension strut is rendered in front of the Back Left strut
Actual results: The Front Right suspension strut is obscured by the Back Left strut
Reproducible with: 10.1.0(2020.2.0b10), 10.2.2(2020.2.0f1), 11.0.0(2021.1.0a10)
Could not test with: 2018.4(URP was in early preview stage), 2019.4, 2020.1(Scripts breaking on downgrade)
Notes:
1. Reproducible in Scene and Game views
2. Graphics APIs tested - D3D11, D3D12, Vulkan, OpenGLCore
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
It is intended functionality, because Callouts pass uses GEqual depth function which is in d3d11 converted to LEqual (Reverse z).
Simply change depth compare function to LEqual.