verifying glyphs

glyph.start & glyph.count look good, curves look good, incremental debugging :-)
This commit is contained in:
jrkb 2023-04-01 19:48:41 +02:00
parent d8a7bc7a98
commit 412c64298d
3 changed files with 99 additions and 64 deletions

View file

@ -123,10 +123,10 @@ void main() {
alpha += computeCoverage(inverseDiameter.y, rotate(p0), rotate(p1), rotate(p2));
}
}
vec4 debug = texelFetch(curves, int(uv.x * textureSize(curves)));
result = vec4(debug.rgb, 1.0);
//vec4 debug = texelFetch(glyphs, int(uv.x * textureSize(glyphs)));
//result = vec4(debug.rgb, 1.0);
return;
//return;
if (enableSuperSamplingAntiAliasing) {
alpha *= 0.5;