Skip to content

Any advice on how to use more than 3 channels? #161

Answered by Chlumsky
CraigglesO asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know of a way to add more fidelity by using 4 instead of 3 channels. I am not saying it's not possible, but my MSDF scheme requires an odd number of channels, so you'd probably have to come up with a completely different method. Or, for specific use cases, you can assign special meaning to some channels and perform a custom set operation - for example, I once used a 2-channel MSDF when I knew all of the corners were convex and I needed the other 2 channels for something else.

However, I believe extending my method to 5, 7, 9, etc. channels (and always finding the median in the shader) should be straightforward, although I never attempted it. "Color" assignment would be probably th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CraigglesO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants