Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
OpenGL color shade problem/color depth
I have a problem with color shading. I work with OGL in 32Bit mode. When I display sprites with an alpha channel (4 color bits for each pixel), everthing works fine (even though I do not use it when drawing it). But as soon as I display sprites without an alpha channel (3 color bits for each pixel), the image is displayed in kind of 16 bit mode and i get some color problems (shadings etc).
The Pixelformat is configured with 32 Bit alpha and z-buffer as well as PFD_TYPE_RGA.
I found out that this problem does not occur on all systems, only on one.
Does somebody have an idea what is going wrong or how to fix it?