more tests

This commit is contained in:
Joshua Ashton 2023-04-08 00:35:09 +01:00
parent a9b9a71640
commit 099868392b
1 changed files with 24 additions and 0 deletions

View File

@ -99,4 +99,28 @@ void main()
outColor = vec4(nitsToPq(barycentrics), 1.0);
}
else if (test == 6)
{
float value = (frame & 1 == 0) ? targetNits : 0.0;
outColor = vec4(nitsToPq(vec3(value)), 1.0);
}
else if (test == 7)
{
float value = (frame & 1 == 0) ? targetNits : 0.0;
outColor = vec4(nitsToPq(vec3(value, 0, 0)), 1.0);
}
else if (test == 8)
{
float value = (frame & 1 == 0) ? targetNits : 0.0;
outColor = vec4(nitsToPq(vec3(0, value, 0)), 1.0);
}
else if (test == 9)
{
float value = (frame & 1 == 0) ? targetNits : 0.0;
outColor = vec4(nitsToPq(vec3(0, 0, value)), 1.0);
}
}