Jump to content

Image Formats

From Weissblatt Wiki
Revision as of 08:14, 7 April 2025 by Nyamoru (talk | contribs) (Created page with "Weissblatt uses custom image formats for it's sprites, graphics and textures, which it inherited and extended from Doom (1993). All of these formats are ''paletted'', meaning they require a Color Palette to be rendered properly. == Flat == ''Flats'' are textures used for floors and ceilings. The file format is a simple dump of palette indices. Doom originally required these to be 64x64 pixels in size, but Weissblatt supports any...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Weissblatt uses custom image formats for it's sprites, graphics and textures, which it inherited and extended from Doom (1993). All of these formats are paletted, meaning they require a Color Palette to be rendered properly.

Flat

Flats are textures used for floors and ceilings. The file format is a simple dump of palette indices. Doom originally required these to be 64x64 pixels in size, but Weissblatt supports any square size between 1x1 and 2048x2048.

Fade

The screen fade format is identical to flats; a simple dump of palette indices. Sizes are required to be one of the following:

Image Size
80x50
160x100
320x200
640x400

When rendered in-game, only the red channel is considered when dereferencing colors, with the value of the red channel serving as transparency or alpha channel for rendering the screen transition. For convenience, most artists prefer to draw screen fades as paletted grayscale images.

When importing screen fades into your PK3, it must be rendered into individual frames and in-order under Fades/. The file name must match FADExxyy, with xx standing for the screen fade number and yy standing for the frame.

Picture Format