Skip to content
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

gl_showtris depth mode #262

Open
Paril opened this issue Aug 28, 2022 · 1 comment
Open

gl_showtris depth mode #262

Paril opened this issue Aug 28, 2022 · 1 comment

Comments

@Paril
Copy link

Paril commented Aug 28, 2022

Most Q1 engines have some method of using gl_showtris while also respecting the depth buffer; I modified my local q2pro to do this since it makes inspecting BSP face output a lot easier, although the way I did it is kinda flickery. Would be a nice simple addition.

@Calinou
Copy link

Calinou commented Nov 8, 2024

although the way I did it is kinda flickery

Can you use glPolygonOffset() avoid this issue?

I've been meaning to implement something similar in Godot but could never get it to work though, especially in Vulkan...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants