(Solved) frameBuffer runtime exception on converting to RenderPass

My game consists of many places to visit and views of things.



It is being converted into pass rendering. the first few scene graphs are fine, and it works with the water render pass, but i have a scene that contains a height map, that when viewing displays the following exception.





java.lang.RuntimeException: FrameBuffer: 1, has caused a GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT exception
at com.jme.renderer.lwjgl.LWJGLTextureRenderer.checkFBOComplete(LWJGLTextureRenderer.java:430)
at com.jme.renderer.lwjgl.LWJGLTextureRenderer.render(LWJGLTextureRenderer.java:384)
at com.jme.renderer.lwjgl.LWJGLTextureRenderer.render(LWJGLTextureRenderer.java:325)
at com.jmex.effects.water.WaterRenderPass.renderReflection(WaterRenderPass.java:460)
at com.jmex.effects.water.WaterRenderPass.doRender(WaterRenderPass.java:342)
at com.jme.renderer.pass.Pass.renderPass(Pass.java:90)
at com.jme.renderer.pass.BasicPassManager.renderPasses(BasicPassManager.java:89)
at fts.BaseGame.render(BaseGame.java:274)
at fts.BaseGame.start(BaseGame.java:186)
at fts.ReachGame.main(ReachGame.java:85)




The cause i think is that a texture is missing
When one selects to change scenegraphs

There could be an issue with the texturerenderer's texture being cleared while still in use.  Are you doing any texture rendering or is it just the water test?

aha - i hadnt removed the water render pass from the passmanager, All is good now.