I’m making a game with opengl+SDL and i want to render polygons with a constant alpha value so when two polygons overlap the alpha value isn’t added onto the polygons.
I googled around and i read somewhere that glBlendFuncSeparate could be the answer to my problem.
The only problem is that i dont have access to the function at all,like the function isn’t even in the header of GL.h or GLU.h.
So my question is…is there is a way to achieve a constant alpha value without this function? And if not, how do i get access to this function?
Do you have to do this much work to get a function in direct3d as well or is opengl just weird like that?
The site i googled stated that glBlendFuncSeparate was an opengl 1.4 function.
I’m not really sure how to determine what version of opengl im using. I have an ATI radeon 5850, the box says it supports openGL 3.0. So does that mean i can only use functions <=3.0? I’m getting really frustrated with how this stuff works. I really can believe i have to do all this just for a function.