-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android libGDX flickering #148
Comments
The issue can be more clearly observed if we enable the continuous rendering in GdxMap.create(): Gdx.graphics.setContinuousRendering(true); |
Among the various settings of cfg.numSamples = 2; |
It seems What about clearing the screen in your render method?
This seems to help also, but again the camera is sometimes jittering/flickering. |
Which Regarding clearing see also #5, where a fix was needed for the desktop. Side note: we have multiple platforms sharing a common code, so need to be very careful with any change in the core modules, like |
Yes, the one in GdxMap. I've been putting all my code in a GdxMapScreen so I can handle different screens on my Game. I don't have any jittery effects anymore, but sometimes the camera (viewport) is acting strange. |
Made a quick test with just the clear, the result is the same with flickering. |
Mhmm yes indeed, thought it was fixed but after a while it started flickering again. |
@RootSoft on what device(s) do you see the flicker? Because I'm able to see it on Nexus 9 but not on Samsung Galaxy Tab 4 7.0 LTE (Android 5.1.1). |
I'm using an Elephone P9000 (Android 6.0). |
I enabled MSAA in example to check it in action. |
I've uploaded a video showcasing the flicker and camera issue here. Using the following settings:
As you can see, the tree's are sometimes flickering and not rendering for 1/2 seconds too. Don't know if it's related to this issue. |
Thanks for the visual feedback, it always helps understanding better. |
I haven't tried it on desktop yet since I haven't configured the LibGDX desktop side yet. I'll notify once I've tried it there |
Hi Guys! I have this jittering/flickering efects sometimes when i tried to include seamarks to map, and it seems that user the same icon for all seamarks, i use a rendertheme from mapsforge (i don't know if this works) with some changes.. But this happened in version 5.1 or lower.. i android 6 works nice.. |
|
Android libGDX sometimes flickers and jitters when panning / zooming.
Related to #149.
The text was updated successfully, but these errors were encountered: