Capturing scene displays only the skybox via FBO
ronjunevaldoz opened this issue · 1 comments
ronjunevaldoz commented
How to properly capture the whole scene FBO using scene manager?
Example fbo capturing
// capture reflection
sceneManager.renderShadows()
reflectionFbo.begin()
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT or GL20.GL_DEPTH_BUFFER_BIT)
sceneManager.renderColors()
reflectionFbo.end()
Actual screenshot of fbo
mgsx-dev commented
Hi, it looks like your framebuffer doesn't have depth buffer, maybe you forgot to set it during its creation.
For questions and help, please use discord server instead : https://libgdx.com/community/