-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a project setting to control wireframe thickness #74387
Conversation
debug/
project setting to force wireframe rendering
debug/
project setting to force wireframe renderingdebug/rendering/force_wireframe
project setting
The way this is implemented makes lines pretty jittery when the depth prepass is enabled: This is not an issue when the depth prepass is disabled or when using the wireframe debug draw mode, as both make all geometry see-through. We should have a polygon offset for wireframe lines (similar to |
One possible workaround for this would be to set I'm having second thoughts about this approach. I'll leave this PR open for now though, in case anyone is interested in using it as a stopgap solution. |
I agree with that too – it might also be worth having an option to synchronize the debug draw mode of the first 3D editor viewport with the running project, similar to camera replication. |
debug/rendering/force_wireframe
project setting
Repurposing this as a |
Probably salvageable? |
Makes wireframes easier to see on high resolution displays. A previous version of this setting force-enabled wireframes, but this has been retired in favor of finding ways to reuse
Viewport::DEBUG_DRAW_WIREFRAME
.