Help with rendering hair? Alpha sorting?
I want to render hair in my program, however the transparency of each hair strand is overlapping the others. I'm not sure on which kind blending/alpha testing technique to use. I currently using:
but the result I get is above, the hair is 1 mesh containing many triangulated planes with a transparent texture. I've already tried some methods like transparency sorting shown in http://www.opengl.org/wiki/Transparency_Sorting
and also other parameters for glBlendFunc() didn't seem to yield any desired results.
How should I go about this?