Skip to content
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

Tile flickering on tile map when using CanvasModulate #15113

Closed
1 task done
jonbonazza opened this issue Dec 28, 2017 · 14 comments
Closed
1 task done

Tile flickering on tile map when using CanvasModulate #15113

jonbonazza opened this issue Dec 28, 2017 · 14 comments

Comments

@jonbonazza
Copy link
Contributor

jonbonazza commented Dec 28, 2017

Godot version:
Godot 3 b2

OS/device including version:
Windows 10.

Issue description:
When adding a Canvas Modulate to a scene with a Tile Map, certain tiles will "flicker" as seen in this video. There are no issues with the tile map when not using the canvas modulate. The source file for the canvasmodulate can be found here.

  • I searched the existing GitHub issues for potential duplicates.
@ghost ghost added this to the 3.0 milestone Dec 28, 2017
@mrcdk
Copy link
Contributor

mrcdk commented Dec 28, 2017

duplicate of #9913

@jonbonazza
Copy link
Contributor Author

@mrcdk i wasnt sure if this was a duplicate because I only see the issue when using canvasmodulate node--not without.

@brainsick
Copy link
Contributor

Just as a learning exercise, I ported your DayNight.cs to GDScript. Now, this is apples to oranges, but I do not experience the flicker with this sample project. Is this sample representative of your issue? Do you still experience the flicker if you run this sample?

Ubuntu 17.10, Godot 3.0 Beta 2, AMD Radeon R9 Fury.

TileMapTest.zip

@jonbonazza
Copy link
Contributor Author

@brainsick I haven'y forgotten about this. I've just been busy with moving and haven't had a chance to try it out.

@jonbonazza
Copy link
Contributor Author

@brainsick so now I am just really confused. I downloaded your project and ran it, it worked fine. I then swapped out your gdscript... err... script for my c# one and again, it worked fine... I then closed your project and reopened mine (that hasn't been touched since I took the attached video and submitted this issue) and re ran it... and it worked fine... O.o Nothing has changed in the project or the code. The only thing that did change is that I have since disconnected and reconnected my monitors (I moved apartments this weekend, so I had to reconnect my desktop), but I don't think that would cause the issue.

@jonbonazza
Copy link
Contributor Author

Hmm interesting... It seems that if I move my character around it starts to happen (though now, the artifacts are different. Rather than entire tiles disappearing, these weird lines appear across the screen) but if my character is just sitting there, there is no issue.

@brainsick
Copy link
Contributor

brainsick commented Dec 31, 2017

As mrcdk said, this sounds like a duplicate of #9913 then.

@jonbonazza
Copy link
Contributor Author

@brainsick very much looks like it might be (now). For whatever reason, I no longer see the flickering "squares" that are portrayed in the video, but instead see these weird lines that look more like what is captured in the other issue. Also, FWIW, removing the DayNight node entirely doesnt seem to help. I'm not sure where the old flickering squares came from or what happened to them, but that much seems to be resolved at least.

Should we close this ticket for now or leave it open?

At the very least, I want to present my findings regarding character movement in the other issue because it's odd that it only seems to occur while the character (or I guess maybe the camera?) is moving and if everything is still, the issue doesn't present itself.

@brainsick
Copy link
Contributor

@jonbonazza If you're on board with this being the same issue, I would close this one. I definitely recommend adding a comment to the other issue with any new information.

@jonbonazza
Copy link
Contributor Author

@brainsick hmm now Im not sure it's the same issue... I just tried taking a video of it and while it definitely occurred during filming, it's nowhere to be found in the video. Something is odd here... I wonder if it's related to the NVida GeForce overlay thing?

@jonbonazza
Copy link
Contributor Author

Looks like there is a driver update. Gonna try installing that and disabling the geforce game overlay and see what happens.

@jonbonazza
Copy link
Contributor Author

No dice. :/ Even after a restart, the issue still persists.

@jonbonazza
Copy link
Contributor Author

Oh wow.. the original tile flickering is back too. lol

@jonbonazza
Copy link
Contributor Author

I thinkk this is the same as the other issue though as it even happens when there is no CanvasModulate in the scene. Gonna close this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants