From 539dc3996bc9a8f575373067d77e03a83fc2b4e9 Mon Sep 17 00:00:00 2001 From: nothings Date: Sat, 6 Dec 2014 23:21:11 -0800 Subject: [PATCH] Update README.md --- tests/oversample/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/oversample/README.md b/tests/oversample/README.md index 4b72edd..c07fd0c 100644 --- a/tests/oversample/README.md +++ b/tests/oversample/README.md @@ -42,3 +42,10 @@ characters. So, setting oversampling of 2x2 in stb_truetype is equivalent to caching each character in 4 different variations, 1 for each subpixel position in a 2x2 set. + +The advantage of this formulation is that no changes are required to +the rendering code; the exact same quad-rendering code works, it just +uses different texture coordinates. (Note this does potentially increase +texture bandwidth for text rendering since we end up minifying the texture +without using mipmapping, but you probably are not going to be fill-bound +by your text rendering.)