-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Camera smoothing causes sprites to flicker #2667
Comments
I was comparing the project settings against the platformer demo and I noticed something strange: my projects doesn't even have rasterizer/use_pixel_snap option! The project was created with the git tip. |
i guess make some test scene On Sat, Oct 24, 2015 at 12:59 PM, seadra [email protected] wrote:
|
Here is a test project that shows the flickering problem. I disabled mipmaps and filter because things were blurry and I was getting strange artifacts like this: |
The flickering of the sprite is present with or without pixel snap it seems. |
I'm having a similar problem with ParallaxBackground, setting the camera2D smoothing on and to a very low value makes the parallax look "jittery". Seems to me that is due to the camera smoothing. |
can you make a small demo project? On Thu, Jun 16, 2016 at 10:36 AM, Alex [email protected] wrote:
|
On my game seems to happen even without smoothing camera when I set the drag margin off. To be clear, I'm not referring to the repeating of the parallax. |
Folks any update on this? I've tried drag margins off, disabling smoothness, updating the camera in fixed_update right below There is one solution thoughYou enable the However... some of my images I don't want the filter to be enabled on because I need the sharpness for that particular sprite. Is there a possible temporary work around for this? |
@Dillybob92 You should be able to update the filter on per-sprite basis by overriding its flags (AFAIK). |
@bojidar-bg yeah, looks like that will do for now. It's just some sprites for the world I don't want filtered as it ruins the sharpness of the image. I just don't know if this is what all game engines do, or just a godot thing. But filtering definitely fixes it. I thought it was a camera issue at first. reduz gave update here as well |
Can anyone still reproduce this issue on 3.2beta4? If so, does setting the Camera2D update mode to Process improve the situation? |
Duplicate of #35606, which has more information about the issue at hand. |
When using 2d pixel snap with a camera that has smoothing enabled, sprites flicker (move, say, left-right ~1 pix several times) just before the camera settles.
The position of spires is probably a non-integer.
Edit: Problem persists without pixel snap.
The text was updated successfully, but these errors were encountered: