Phial

Phial is a work-in-progess shader that aims to add several post-processing options to mimic pixel art.

As of the latest version it has:

  • Color quantization to limit the screen colors to a arbitrary color palette. (defaults to the Ressurect 64 palette)

  • Customizable pixel mapping to lower the screen resolution

  • Ordered dithering

  • Customizable vignette

Custom Palettes

To input custom palettes, you can unzip the shader and locate the palette file at:

shaders\assets\palette.glsl

This requires a special format of storing colors, namely a vector 3 GLSL array. To quickly convert a list of hex colors to this format, you can use the following site:

https://snorfield.github.io/HEX-to-RGB/

Once converted, you can simply open the palette.glsl file in a text editor such a notepad and replace the contents. Don't forget to save!

All you need to do to see the changes is reload the shader.

SLSO8 Palette (https://lospec.com/palette-list/slso8)


Project members

Snorfield

Member

Details

Licensed MIT
Published 21 days ago
Updated 20 days ago