I have a one class of my square drawing. When I’m drawing this square 2 times, it makes alpha channel between them. Here is the pic: http://dl.dropbox.com/u/25397982/Screenshot_2012-09-13-16-21-22.png So how to fix this mistake?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could disable alpha blending before drawing the square.
You can do this by adding the line glDisable(GL_BLEND) before the gldraw call.