Skip to content

Simple tool to extrude tiles to prevent bleeding in WebGL. Used with node or as phaser 3 plugin.

Notifications You must be signed in to change notification settings

nkholski/tileExtruder

Repository files navigation

TileExtruder

Problem: When using WebGL for rendering tilemaps tiles might pick up tiny slices of neighboring tiles due to how WebGL uses textures. Solution: TileeExtruder separates tiles in an image and extend the border pixels so that the tiny slices blend in.

The problem

WARNING

The repository is far from complete. You might manage to use it from node but probably not without going into the code, and the Phaser 3 plug-in will just generate errors ATM.

Installation

Just run "npm i" as usual BUT:

Unless previously installed you'll need Cairo. For system-specific installation view the Wiki.

https://github.com/Automattic/node-canvas/wiki/_pages

About

Simple tool to extrude tiles to prevent bleeding in WebGL. Used with node or as phaser 3 plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published