title: LibGDX: Render 2D dynamic fbo texture in 3d space
body: <p>this is my first attempt at a 3d game. My basic idea is that I want to have the player inside a cube, with each wall (all 6 faces) is rendered as 2d using a FrameBuffer and then draw into 3d space. I am currently using decals but I get weird bugs and I'm starting to think maybe there is a better approach. Is there?</p>
  
  <p>Here is what it looks like so far:
  <a href="https://i.stack.imgur.com/ubHCX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ubHCX.png" alt="enter image description here"></a></p>
  
  <p>Each wall is a 2d texture created using an fbo. For now there is only a color being drawn to each wall but eventually there will be 2d sprites and stuff.</p>
  
  <p>Sometimes the blue wall completely renders and other time (like in the photo) there are black boxes that show up. Also, the red wall to the right is good, but there are also black boxes giving it a weird illusion.</p>
  
  <p>So basically, I just need a fast way to render dynamic (60fps minimum) 2d textures in a 3d environment.</p>
  
  <p>Thanks in advance.</p>