
Mode: checkerboard dither, Square size: 4, Diffusion Bias: 0.5
welcome...... to the world of true fake 8-bit randering......
Hello all, this is my own fork of Rachael's palette shader mod, which leveraged a trick I discovered that makes the engine downmix a truecolor LUT to the colors contained in the current PLAYPAL for use as a sampler. An explanation of the trick can be found in the spoiler below. The benefit of using this trick over using the builtin palette tonemap shader is that the programmer now has nearly full control over how the downmixed image should look, including the ability to perform dithering between shades in the game palette or gracefully blending the colors.
Features:
- Everything in Rachael's version and..
- The ability to choose whether the shader should be applied before bloom, on the scene, or on the entire screen.
- Three new blending modes.
2024 update:
DenisBelmondo wrote: ↑Wed May 01, 2024 11:55 pm Hello all! Sorry for the bump, but I've updated this mod with the following changes:
An explanation of the LCH blend modes:
- Updated to use PPShader instead of the now-deprecated Shader.
- Shader is now actually disabled when turned off.
- And most importantly, I've added LCH blending. Blending in a more perceptually uniform color space yields some really pretty results.
Below are some demonstrations of the LCH hue blending mode. I turned the gamma up to 1.5 to better highlight its characteristics.
- LCH Color: performs blending on the Chroma and Hue channels.
- LCH Chroma: performs blending only on the Chroma channel.
- LCH Hue: performs blending only on the Hue channel.
Spoiler: LCH blending screenshotsMuch of the implementation was borrowed from nmz at shadertoy in their brilliant demonstration here: https://www.shadertoy.com/view/lsdGzN.
Spoiler: old post + explanation