Textures: Linear/Nearest labels; prove the filter pass does not resample pixel art (#68)
game-maker / suite (push) Successful in 8m13s

Dropdown labels are now Linear (default) and Nearest; the stored values
linear/nearest are unchanged, old project files load as before.

e2e 12c-ii measures in Play at camera zoom 1.37 (screen scale 1.434): a
Nearest edge sampled across seven pixels is byte-identical with and without
a neutral Adjust colors shader, and brightness 0.5 on the same path darkens,
so the pass really runs there. New hook __gm.gameRect(id).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Fable 5.1 committed 2026-09-13 12:53:21 +02:00
1 parent 3e99480b55
commit 06e1494f94
4 files changed
+63 -6

No files matched your search

+2 -2
View File
@@ -138,8 +138,8 @@ const ASSET_SCHEMAS: Record<AssetType, PropertySchema> = {
kind: 'enum',
default: 'linear',
options: [
{ value: 'linear', label: 'Smooth' },
{ value: 'nearest', label: 'Pixel art' },
{ value: 'linear', label: 'Linear' },
{ value: 'nearest', label: 'Nearest' },
],
},
],