Перейти к содержимому
Mineforgian

Phial

Post-processing shader that aims to mimic the style of pixel art

Загрузки
13K
Подписчики
44
Обновлён
25 октября 2025 г.
Лицензия
MIT

Опубликован 23 октября 2025 г.

Исходный код

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 normalized GLSL array. To quickly convert a list of hex colors to this format, you can use the following site:

https://snorfield.github.io/palette-to-shader/

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)

Ченджлог

1.0.1Релиз1.21.8, 1.21.9, 1.21.10 · 25 октября 2025 г.

Silly me made a pretty serious mistake which caused terrain to just not render :(

Комментарии

Загружаем…