How would I go about and do that? I've been trying a few different setups but I can't seem to figure this out.
My initialization looks like this:
1 2 3 4 5 6 7 8 9 10 11
| GLProfile glP = GLProfile.getDefault(); GLCapabilities glC = new GLCapabilities(glP); tileCanvas = new TileCanvas(glC); splitPane_1.setLeftComponent(tileCanvas);
this.tileSelector = new TileSelector(glC, tileCanvas.getContext()); splitPane_1.setRightComponent(this.tileSelector); |
The only thing that gets it rendering both scenes is if I create another Texture for the TileCanvas and bind it during its rendering.