I want the alpha on the windows of my car(alpha=0.3, every other part of car alpha=1.0(no transparency)) to blend properly with my shader lighting.
I have the blend function as follows:
glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
If I disable blending all together, I get:
If I disable shading, enable blending, I get:
If enable shading, enable blending, I get:
Do I need to change my blendFunc?