Fix #119527: Aliased Wireframe In XRay #119656

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:fix/119527 into blender-v4.1-release 2024-03-19 14:23:53 +01:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker e4cfa7dd09 Fix #119527: Aliased Wireframe In XRay
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
This change reverts 14500953ed. This commit improved the performance
but introduced the regression. The wireframe shader checks the normal
buffer to detect if attributes are being rendered. The VBO contains both
positions and normals.

In Blender 4.2 this VBO was separated (#116902)and this solved the rendering. It is
to late and risky to add this separation to 4.1 in the last minute so we
decided to revert the performance improvement as it was already an issue
for several years.

The performance improvement will still be in Blender 4.2 where it doesn't
have these artifacts.
2024-03-19 13:31:58 +01:00