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
in render.cs there's vec2 variable called imgPos, i don't know why it times 0.5 and plus 0.5, what does it mean?
Thank you very much if you can answer my questions. : )
The text was updated successfully, but these errors were encountered:
At this point, x and y are in normalized device coordinates, i.e., between -1 and 1. We need them between 0 and 1, then multiply them by the image size to get the pixel coordinates.
in render.cs there's vec2 variable called imgPos, i don't know why it times 0.5 and plus 0.5, what does it mean?
Thank you very much if you can answer my questions. : )
The text was updated successfully, but these errors were encountered: