I’m using GLFW library and I would like to increase the far clip plane for the current frustum but whatever the value that I’m setting in glFrustum for zFar it has no effect on the output
whether it is glFrustum( left, right, bottom, top, 0.1, 100000000 ); or glFrustum( left, right, bottom, top, 0.1, 10 ); —> the output is the same.
I’m expecting to see the full model but even if I increase the far plane distance the most far parts of the model are being clipped at some specific distance.
Finally, I’ve figured it out, and it was a noob mistack actually I forgot to update projection matrix as well
glm::mat4 projection = glm::perspective( filedOfView, aspectRatio, nearPlane, farPlane );