AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Tilemap overides filter method #766

Closed DollarSignSubjectNameHere closed 4 years ago

DollarSignSubjectNameHere commented 4 years ago

Summary

Tilemaps will always use linear texture filtering despite nearest being used in the texture file as seen here. linear filtering tilemap DualityEditor_CjjiWUXYMl

How to reproduce

ilexp commented 4 years ago

Can't reproduce this here.

I think you may have got the wrong spot to specify this behavior. For tilemaps, you don't need a Texture at all, just the Pixmap - all required Textures are created internally in the Tileset (to account for generated AutoTiles), and not exposed through editor UI. You can adjust their desired settings in the Tileset when selecting the layer:

DualityEditor_cOVcgZo2NC explorer_pfPmM226gY

Closing this for now, but let me know if I misunderstood the issue and we'll re-open it.