We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Background

From SnesLab
Revision as of 21:36, 20 July 2023 by Xetheria (talk | contribs) (→‎Legend: link to affine transformations)
Jump to: navigation, search

A Background is a layer of tiles, mapped and possibly scrolled, that usually appears behind the sprite layer. The SNES supports up to four simultaneous backgrounds, conventionally named:

throughout the official Super Nintendo development manual. The following table describes which background layers support which capabilities in the various background modes. For an explanation of what the enclosed numerics on the right mean, see the legend below (if a layer does not support that function, the cell is left blank).

Mode # of Layers Displayed Layer # of Tile Dots # of Tile Colors # of Palettes # of Colors Per Layer Function
0 max 4 BG1 8x8 4 8 32
BG2 or 4 8 32
BG3 16x16 4 8 32
BG4 4 8 32
1 max 3 BG1 16 8 128
BG2 16 8 128
BG3 4 8 32
2 max 2 BG1 16 8 128
BG2 16 8 128
3 max 2 BG1 256 1 256
BG2 16 8 128
4 max 2 BG1 256 1 256
BG2 4 8 32
5 max 2 BG1 16 8 128
BG2 4 8 32
6 1 BG1 16x8 16 8 128
7 1 BG1 8x8 256 1 256
EXT BG 1 BG1 8x8 128 1 128

Legend

① Horizontal/Vertical Scrolling (each layer)

② Horizontal/Vertical Flip (each tile)

Mosaic

④ Rotate, Enlarge, Shrink (affine transformations)

⑤ Window Mask

⑥ Screen Addition/Subtraction

⑦ Fixed Color Addition/Subtraction

⑧ Color Window

Direct Color

⑩ Horizontal Pseudo 512

Offset Change Mode

Horizontal 512 Mode

Reference