Original Post
I am writing a simple OGL program and was wondering if there was anyway with OpenIL to load an image either specifying to make a certain color with 0 alpha and all others with 1.0 alpha, or to create mask, or something like that. I looked at the docs and there doesnt seem to. I tought there must be a way to do it considering its supposed to do a lot.
I wanted is easy way to do a transparency effect without resorting to creating masks myself with a paint program, and tought it could save me some time.