I’ve used the following to create alpha blending.
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
And have declared the following in the alpha blending.
void main ()
outColor = color;
outColor.a *= .5;
I’ve used Alpha blend to get the transparency working however it only seems to work from one side.
Not sure what the problem is, am new to programming and shading.
Link to see the picture