←back to thread

148 points ibobev | 1 comments | | HN request time: 0.616s | source
Show context
rudedogg ◴[] No.45154934[source]
Do you still want to do this for SDF font textures? Or is the lossiness an issue?
replies(3): >>45155143 #>>45159210 #>>45165774 #
1. TinkersW ◴[] No.45159210[source]
A single channel SDF can be encoded to BC4 with fairly good quality, and it can actually represent a wider range of values than a u8 texture... but with the downside of only having 8 values per 4x4 block.

So if the texture is small I'd use u8, for a very large texture BC4 isn't a bad idea.