Tutorial 4 - Z Offset Issue

Issue #93 resolved
Jonanin created an issue

Hi,

In tutorial 4, I'm copying the OrthoCube vertex data, and it appears there is an issue with the z positioning of the object. In my test, it doesn't display unless I had 1.0 to the z value in the vertex shader. It uses Z values -0.75 and 0.75, which is on either side of the camera, is it not?

Comments (2)

  1. Jason McKesson repo owner
    • changed status to open

    The near clipping plane for a pure orthographic projection starts at -1.0 and ends at 1.0. So the object should be visible.

  2. Log in to comment