hdrtest: Add PQ test patches

This commit is contained in:
Joshua Ashton 2023-05-10 18:18:53 +00:00
parent 1e7fd38bb6
commit 55b54e9ddc
1 changed files with 18 additions and 0 deletions

View File

@ -122,6 +122,24 @@ void main()
int nextTest = 0;
if (test == nextTest++)
{
// PQ (10 bits) PQ (normalize) nits
// 520 0.5083088954056696 100.229885531
outColor = vec4(vec3(0.5083088954056696), 1.0f);
}
else if (test == nextTest++)
{
// PQ (10 bits) PQ (normalize) nits
// 692 0.6764418377321603 499.337816742
outColor = vec4(vec3(0.6764418377321603), 1.0f);
}
else if (test == nextTest++)
{
// PQ (10 bits) PQ (normalize) nits
// 769 0.7517106549364614 998.932391045
outColor = vec4(vec3(0.7517106549364614), 1.0f);
}
else if (test == nextTest++)
{
float bodyBrightness = targetNits * 0.15;
vec2 coord = (gl_FragCoord.xy / 2.2) + vec2(-20, 50);