I've partially written a 3d engine and come across a bit of a problem:
- I load my obj file pngs with alpha channel
- I map the material information to my object with blending enabled (func = GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
- run the test app (with my poorly drawn model) and I see edges on my textures - in the colour of my clear colour call.
- Decided to make sure the alpha was set - Alpha func enabled, edges disappear
Now using the alpha test to remove edges is all well and good, but I still have the issue with partially visible pixel data.
Any ideas on how to fix this? I've tried moving objects in and out of display lists, etc, the alpha information is definately available...