Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Wireframe not rendering when using Vulkan API.
Jira ticket: https://jira.unity3d.com/browse/UUM-36914 Initial context + initial fix + explanation: https://github.cds.internal.unity3d.com/unity/unity/pull/25910 More context for the Vulkan Terrain edge case: https://ono.unity3d.com/unity/unity/pull-request/111240/_/graphics/vulkan/case-1205332 It looks like the fix was not working for Vulkan (Scene View + URP + Wireframe mode), due to the `UseGfxDeviceWireframeShader(device)` if statement. Basically, the wireframe was not rendering at all. Removing it and using the normal path (`BeginWireframeWithShader`) fixes it. `Before vs After`: ![image](https://media.github.cds.internal.unity3d.com/user/1911/files/41435df5-1bcb-4fda-99c1-21b894e30910)
- Loading branch information