Skip to content
Search/
Home › Glossary › Game assets

What is nearest-neighbour filtering for pixel art?

Game assets glossary · 1 primary source

Texture sampling that takes the closest pixel instead of blending neighbours, which keeps pixel art sharp when it is scaled up.

Engines default to linear filtering, which makes small pixel art look blurry when enlarged. Set the texture filter to Nearest (in Godot, the project's default canvas texture filter or the node's texture_filter) and scale by whole numbers (2×, 3×, 4×) so every source pixel becomes the same number of screen pixels.

Non-integer scaling with nearest filtering makes some pixels wider than others; integer scaling or a viewport stretch mode avoids it.

Sources

Related terms

On this site

All game assets terms · Full glossary

Free: the Free API Starter Kit

Copy-paste calls for 4 APIs with free daily tiers (CVE priority, VIN recalls, US duty rates, email checks), then 5 short emails on KEV/EPSS, MCP and free data.

You get one email to confirm first. Then the kit, and 5 short emails over two weeks. One-click unsubscribe in every email; we never share your address.