I’m making a game that draws in 3D, and for the menu system does 2D via ortho mode. For now I’m drawing lines around selected menu options to show which one is currently selected. When I do it, I do something like…
glColor3f(1.0f, 0.0f, 0.0f);
The first problem is the color doesn’t come out right. If I use the color above, instead of being bright red it come out dark. Same with every other color - white shows up gray, etc. I’m not sure why. The project itself is way too big to post, but I can post whatever parts you want. I’m not sure what else to add because I don’t know where this would happen.
And one other issue is that after I call the glColor function, everything is red. It’s like a filter was put over the whole screen. Right now I just call glColor4f(1, 1, 1, 0) after I’m done drawing the lines to prevent that from happening, but when I go into 3D it ends up almost completely white. Is there a way to get rid of the color after calling glColor3f(1, 0, 0) ?
I can take some screenshots if need as well. I am not using lighting.