Another magenta test

This commit is contained in:
Joshua Ashton 2023-05-17 20:06:36 +00:00
parent 85480124d9
commit 41b580b3c7
1 changed files with 8 additions and 0 deletions

View File

@ -409,6 +409,14 @@ void main()
outColor = vec4(nitsToPq(color), 1.0);
}
else if (test == nextTest++)
{
vec3 color = vec3(targetNits, targetNits * 0.125f, targetNits);
if (((int(gl_FragCoord.x) & 1) == 0) == ((int(gl_FragCoord.y) & 1) == 0))
color = vec3(targetNits * 0.125f, targetNits * 0.9f, targetNits * 0.125f);
outColor = vec4(nitsToPq(color), 1.0);
}
else if (test == nextTest++)
{
const vec3 barycentrics = vec3(1.0 - coords.x - coords.y, coords.x, coords.y) * targetNits;