Consistent precision

This commit is contained in:
fishku 2024-04-28 23:42:06 +02:00
parent 450a9bc58d
commit ac6692b0f0

View file

@ -1,7 +1,7 @@
// See the main shader file for copyright and other information.
// As determined by counting pixels on a photo.
const vec2 subpx_ratio = vec2(0.3, 0.91);
const vec2 subpx_ratio = vec2(0.296, 0.910);
const vec2 notch_ratio = vec2(0.115, 0.166);
float rect_coverage(vec4 px_rect, vec4 rect) {