We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cb68a commit b28bb42Copy full SHA for b28bb42
libobs/data/default.effect
@@ -51,7 +51,7 @@ float4 PSDrawAlphaDivideR10L(VertInOut vert_in) : TARGET
51
rgba.rgb *= (rgba.a > 0.) ? (multiplier / rgba.a) : 0.;
52
rgba.rgb = rec709_to_rec2020(rgba.rgb);
53
rgba.rgb = linear_to_st2084(rgba.rgb);
54
- uint3 rgb1023 = uint3(mad(rgba.rgb, 1023., .5));
+ uint3 rgb1023 = uint3(mad(rgba.rgb, 876., 64.5));
55
uint b = (rgb1023.b & 0x3Fu) << 2;
56
uint g = ((rgb1023.b & 0x3C0u) >> 6) | ((rgb1023.g & 0xFu) << 4);
57
uint r = ((rgb1023.g & 0x3F0u) >> 4) | ((rgb1023.r & 0x3u) << 6);
0 commit comments