View Full Version : Not rendering 3D objects

Jack Web
06-18-2011, 07:21 AM
Hello! My problem is following:
I am not able to render objects when I use perspective [glm] and set Z coord of my vertices. My code is:
At the end there's a shader source code.

When I do not use perspective, set Z = 0.0 - it is ok, but I would like to render 3D objects too. :(

Could somebody tell me what's wrong?