-
Notifications
You must be signed in to change notification settings - Fork 7.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
Tilemap Vertical Alpha Banding / Artifacting #3766
Comments
I had the exact same issue and fixed it by setting the second parameter of the camerca startFollow function to true I hope this helpes. |
@flowan ,let me try that! Thank you so much for responding! |
The tiles need to be extruded if you want to use WebGL. This will help: http://phaser.io/news/2018/05/webgl-tile-extruder |
@photonstorm ,thank you very much! I didn't know about this until now |
I'm not 100% sure what the best way to describe this issue in words is, so I will use images.
You can see here that sometimes, the Tilemap produces a vertical banding effect. Here is a gif:
A few things: I am using Tiled, as the editor for the Tilemap and loading it that way.
Here is the part to the code:
Here is the full code : https://github.com/simiancraft/create-phaser-app/blob/master/src/scenes/game.js
here is the tilemap:
I used a 1px padding around the tiles
Here is the relevant level code: https://github.com/simiancraft/create-phaser-app/blob/master/src/assets/levels/test-level.json
You can see the effect in the gh-pages, this code is running.
If this is expected, or is a side effect of a certain way I am loading this, I apologize in advance. I can't quite determine if this is my usage or if its in the engine itself.
The text was updated successfully, but these errors were encountered: