How to Limit Color Output with Shaders in Godot

Опубликовано: 29 Сентябрь 2024
на канале: TheBuffED
7,696
287

A simple shader that restricts the color output to a specified list of colors. Right now it's comparing colors using the built-in distance formula, but a better approach would be to look into calculating actual perceived color differences in the article linked below. Hopefully effect is interesting to people, I think it looks amazing!

Code: https://gist.github.com/erdavids/3cc9...
Color Difference: https://en.wikipedia.org/wiki/Color_d...
Similar Unity Shader: https://roguenoodle.itch.io/gbcamera-...

Patreon:   / thebuffed  
Kickstarter: https://www.kickstarter.com/projects/...