mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
705250f23d
gl_Position is expected to be using homogeneous coordinates, which requires w to be a coordinate scale factor, usually 1.0. z should also be set in order for depth to be well-defined. Therefore, we should set gl_Position.zw to vec2(0.0, 1.0). |
||
---|---|---|
.. | ||
EGL | ||
OpenGL | ||
CMakeLists.txt |