Interesting performance issue

I have a lens flare effect setup on my sun. I also have a virtual cockpit that I want to occlude that sun and flare effect. I have had the cockpit in the transparent queue and was getting 30fps, but of course it wasn't occluding the flare due to being in the transparent queue. When I put it back in the opaque queue, the fps jump up to 60fps (locked with vsync) and the flare occludes as it should. The only thing is that the movement of the ship no longer appears smooth. Pretty odd that higher fps would make it seem less smooth. I'm extending FixedTimestepGame, btw.

Are you actually using vsync or software vsync?

I'm just using:



display.setVSyncEnabled(true);



Is that bad?

That's good…just making sure. :wink: