Color conversion fixes and BT.2020 support (#723)

This commit is contained in:
Cameron Gutman 2023-01-07 21:28:47 -06:00 committed by GitHub
commit 77d3a7e2ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 13 deletions

View file

@ -31,5 +31,5 @@ void main() {
u = u * range_uv.x + range_uv.y;
v = v * range_uv.x + range_uv.y;
color = vec2(u, v * 224.0f / 256.0f + 0.0625);
color = vec2(u, v);
}