Additional LUTs.

This commit is contained in:
Marisa the Magician 2022-01-01 17:38:49 +01:00
commit 5f654d973e
4 changed files with 33 additions and 1 deletions

View file

@ -8,7 +8,7 @@ void main()
vec2 coord = TexCoord;
vec4 res = texture(InputTexture,coord);
vec3 lc = clamp(res.rgb,0.,63./64.);
vec2 lcoord = vec2((lc.r+lutindex)/16.,lc.g/64.)+vec2(1./2048,1./8192.);
vec2 lcoord = vec2((lc.r+lutindex)/32.,lc.g/64.)+vec2(1./4096.,1./8192.);
double minb = floor(lc.b*64.)/64.;
double maxb = ceil(lc.b*64.)/64.;
double theta = fract(lc.b*64.);