How to make an overlay debug appstate?

The debug of the native bullet is awesome: I can see the whole wireframe Terrain despite the occlusion of other objects on the scene graph.

I’d like to do the same thing on my debug appstate. How should I do that?

Well look at the source code?

1 Like