Palettes

From Downwiki
Jump to navigation Jump to search

Palettes are GLSL fragment shaders which recolor each pixel on the screen. Every Pallet has 4 colors: colorL, colorM, colorD and colorS. The pallet shader maps white pixels to colorL, red pixels to colorM, black pixels to ColorD and blue pixels to ColorS.

The source code includes an additional unused line for a green source pixel and some of the datamined assets which never appear in the game include green pixels. This suggests there was a plan to add a fifth color to all of the pallets but it was never completed.

Palettes[edit]