Keep old naive dither as an option.
This commit is contained in:
parent
05b33078fb
commit
e8b7b1c29f
10 changed files with 145 additions and 36 deletions
14
gldefs.txt
14
gldefs.txt
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue