hat's the difference between $selfillummask and $selfillumtexture?

I’m having some trouble getting my texture to use $selfillum and $translucent, so I was wondering if either of these would work instead of using the texture’s alpha map for both.

EDIT: it’s supposed to say “What’s” in the topic title, not “hat’s.” Can a mod edit it?