Skip to content

Wireframe mode for OpenGL

Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:ogl-wireframe into next

gr_wireframe 1 will only draw the edges of the triangles. This lets you view various things about the OpenGL renderer, such as:

  • How the map geometry is turned into triangles
  • What is culled and what is not

The textures, transparency and shaders are still retained however, so not everything is visible.

Wireframe mode will not activate if devmode is not also active.

srb20445

Test build: (based on next so be careful with your save files)

srb2win_ogl-wireframe.exe

Merge request reports