Keep old naive dither as an option.

This commit is contained in:
Marisa the Magician 2023-03-04 18:19:38 +01:00
commit e8b7b1c29f
10 changed files with 145 additions and 36 deletions

View file

@ -196,3 +196,17 @@ HardwareShader postprocess scene
Uniform int doffset
Uniform int palnum
}
HardwareShader postprocess scene
{
Name "mfx_palette_naive"
Shader "shaders/glsl/mfx_palette_naive.fp" 330
Texture DitherTexture "textures/mfxdither.png"
Texture PalLUTTexture "textures/mfxpal.png"
Uniform vec2 sfact
Uniform float palsat
Uniform float palpow
Uniform float paldither
Uniform int dsize
Uniform int doffset
Uniform int palnum
}