Hi,
I am using alpha blending, but I can still see the background through some slices nearer to my eye. I did try setting glDepthFunc() to different values, but it doesnt make a difference(it either looks the same or for some values I get a blank window). Please could you help.
Originally posted by alark: Hi,
I did try setting glDepthFunc() to different
I am assuming glDepthFunc() is a “typo”. You probably want to use glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA). You requested/allocated an alpha buffer,correct?