any way to just render a vtkTextureObject in a viewport?

Hello @gpu

The vtkOpenGLRenderUtilities class might offer assistance in this context. However, as I pointed out in your other question, it’s significantly more straightforward to debug the depth buffer using developer tools like Renderdoc rather than attempting to manage it within your code. Debugging depth buffer-related issues can be complex due to the need to handle diverse depth attachment formats, accessing the texture, configuring a sampler for the shader program to render the depth texture, and more.