title: How do I set certain colors in an Opengl texture to transparent?
body: <p>I am trying to create a library i can use to handle 2d rendering in Opengl (c++) i have it all figured out except I can't figure out how to set current colors transparent (ex. being able to set 255, 0, 255 to transparent) I realize from reading on the topic that I need to preprocess the texture and set that color's alpha value to 0 but I have no idea how to do this.</p>
  
  <p>PS: I am using SOIL for loading textures if that helps.</p>