mirror of
https://github.com/libretro/glsl-shaders.git
synced 2024-11-27 01:40:47 +00:00
add DCI profiles (#346)
* add DCI profiles * Update simple_color_controls.glslp * Update hatari.glslp
This commit is contained in:
parent
26e3438ce8
commit
decccf37cd
@ -139,6 +139,24 @@ uniform COMPAT_PRECISION float CS;
|
|||||||
#define CS 0.0
|
#define CS 0.0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined GL_ES
|
||||||
|
|
||||||
|
mat3 PAL = mat3(
|
||||||
|
0.7954 , 0.1881 , 0.0053 ,
|
||||||
|
-0.0310 , 1.0343 , -0.0044 ,
|
||||||
|
-0.0236 , 0.1383 , 0.8927 );
|
||||||
|
|
||||||
|
mat3 NTSC = mat3(
|
||||||
|
0.6837 , 0.2635 , 0.0336 ,
|
||||||
|
-0.0499 , 1.0323 , 0.0139 ,
|
||||||
|
-0.0119 , 0.1071 , 0.9111 );
|
||||||
|
|
||||||
|
mat3 NTSC_J = mat3(
|
||||||
|
0.8642 , 0.1253 , 0.0030 ,
|
||||||
|
0.0545 , 0.9513 , -0.0029 ,
|
||||||
|
-0.0214 , 0.1554 , 0.8750 );
|
||||||
|
|
||||||
|
#else
|
||||||
// standard 6500k
|
// standard 6500k
|
||||||
mat3 PAL = mat3(
|
mat3 PAL = mat3(
|
||||||
1.0740 , -0.0574 , -0.0119 ,
|
1.0740 , -0.0574 , -0.0119 ,
|
||||||
@ -156,7 +174,7 @@ mat3 NTSC_J = mat3(
|
|||||||
1.0185 , -0.0144 , -0.0029 ,
|
1.0185 , -0.0144 , -0.0029 ,
|
||||||
0.0732 , 0.9369 , -0.0059 ,
|
0.0732 , 0.9369 , -0.0059 ,
|
||||||
-0.0318 , -0.0080 , 1.0353 );
|
-0.0318 , -0.0080 , 1.0353 );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
float saturate(float v)
|
float saturate(float v)
|
||||||
@ -295,7 +313,7 @@ float l = dot(col, lumw);
|
|||||||
vec3 c = vec3(R, G, B);
|
vec3 c = vec3(R, G, B);
|
||||||
col = colorize (col1, c);
|
col = colorize (col1, c);
|
||||||
}
|
}
|
||||||
col *= hue;
|
//col *= hue;
|
||||||
|
|
||||||
col *= mix(postdk,postbr,l);
|
col *= mix(postdk,postbr,l);
|
||||||
col = (contrastMatrix(contrast) * vec4(col,1.0)).rgb;
|
col = (contrastMatrix(contrast) * vec4(col,1.0)).rgb;
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
shaders = "1"
|
shaders = "1"
|
||||||
shader0 = "shaders/simple_color_controls.glsl"
|
shader0 = "shaders/simple_color_controls.glsl"
|
||||||
filter_linear0 = "false"
|
filter_linear0 = "false"
|
||||||
|
scale_type_x0 = "source"
|
||||||
|
scale_x0 = "1.000000"
|
||||||
|
scale_type_y0 = "source"
|
||||||
|
scale_y0 = "1.000000"
|
||||||
|
@ -1,43 +1,45 @@
|
|||||||
shaders = "6"
|
shaders = "7"
|
||||||
feedback_pass = "0"
|
feedback_pass = "0"
|
||||||
shader0 = "../stock.glsl"
|
shader0 = "../misc/shaders/simple_color_controls.glsl"
|
||||||
filter_linear0 = "false"
|
filter_linear0 = "false"
|
||||||
scale_type_x0 = "source"
|
scale_type_x0 = "source"
|
||||||
scale_x0 = "0.500000"
|
scale_x0 = "1.0"
|
||||||
scale_type_y0 = "source"
|
scale_type_y0 = "source"
|
||||||
scale_y0 = "0.500000"
|
scale_y0 = "1.0"
|
||||||
shader1 = "../misc/shaders/simple_color_controls.glsl"
|
shader1 = "../stock.glsl"
|
||||||
filter_linear1 = "false"
|
filter_linear1 = "false"
|
||||||
|
scale_type_x1 = "source"
|
||||||
|
scale_x1 = "0.500000"
|
||||||
|
scale_type_y1 = "source"
|
||||||
|
scale_y1 = "0.500000"
|
||||||
shader2 = "../crt/shaders/crt-consumer/linearize.glsl"
|
shader2 = "../crt/shaders/crt-consumer/linearize.glsl"
|
||||||
filter_linear2 = "false"
|
filter_linear2 = "false"
|
||||||
|
scale_type_x2 = "source"
|
||||||
|
scale_x2 = "1.000000"
|
||||||
|
scale_type_y2 = "source"
|
||||||
|
scale_y2 = "1.000000"
|
||||||
shader3 = "../crt/shaders/crt-consumer/glow_x.glsl"
|
shader3 = "../crt/shaders/crt-consumer/glow_x.glsl"
|
||||||
filter_linear3 = "false"
|
filter_linear3 = "false"
|
||||||
|
scale_type_x3 = "source"
|
||||||
|
scale_x3 = "1.000000"
|
||||||
|
scale_type_y3 = "source"
|
||||||
|
scale_y3 = "1.000000"
|
||||||
shader4 = "../crt/shaders/crt-consumer/glow_y.glsl"
|
shader4 = "../crt/shaders/crt-consumer/glow_y.glsl"
|
||||||
filter_linear4 = "false"
|
filter_linear4 = "false"
|
||||||
shader5 = "../crt/shaders/crt-sines.glsl"
|
scale_type_x4 = "source"
|
||||||
filter_linear5 = "true"
|
scale_x4 = "1.000000"
|
||||||
TEMP = "6863.000000"
|
scale_type_y4 = "source"
|
||||||
gamma_in = "1.000000"
|
scale_y4 = "1.000000"
|
||||||
BLACK = "0.030000"
|
shader5 = "../crt/shaders/crt-consumer/resolve.glsl"
|
||||||
SEGA = "1.000000"
|
filter_linear5 = "false"
|
||||||
gamma_out_red = "1.000000"
|
scale_type_x5 = "source"
|
||||||
gamma_out_green = "1.000000"
|
scale_x5 = "1.000000"
|
||||||
gamma_out_blue = "1.000000"
|
scale_type_y5 = "source"
|
||||||
gammain = "1.350000"
|
scale_y5 = "1.000000"
|
||||||
glow = "0.120000"
|
shader6 = "../crt/shaders/crt-Cyclon.glsl"
|
||||||
sizex = "2.000000"
|
filter_linear6 = "true"
|
||||||
sizey = "0.750000"
|
CS = "1.000000"
|
||||||
SHARPX = "0.200000"
|
C_STR = "0.400000"
|
||||||
interlacing = "0.000000"
|
CONV_R = "0.500000"
|
||||||
SCANLOW = "0.700000"
|
CONV_G = "0.150000"
|
||||||
SCANHIGH = "0.400000"
|
CONV_B = "0.350000"
|
||||||
mask = "3.000000"
|
|
||||||
m_str = "0.400000"
|
|
||||||
RX = "0.400000"
|
|
||||||
RY = "0.150000"
|
|
||||||
GX = "-0.100000"
|
|
||||||
BX = "-0.400000"
|
|
||||||
BY = "-0.200000"
|
|
||||||
BOOST = "0.100000"
|
|
||||||
SAT = "1.150000"
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user