You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GL expects Z output in [-1,1], and that's what our math produces (cgmath catering to GL)
DX expects Z in [0,1](while still treating X and Y in [-1,1] like GL does), so we gotta patch it
note that Z we are patching is in the homogeneous coordinates, so we use W there, and the end result (Z/W) goes into [0,1]
From the chat:
Thus, for DX we need to replace this:
by this:
Related: #942
The text was updated successfully, but these errors were encountered: