iWas-Coder / wge

A multithreaded, high performance, fully functional game engine written in pure C, similar in speed to a Wildebeestâ„¢.
https://iwas-coder.github.io/wge
GNU General Public License v3.0
1 stars 1 forks source link

Fix UI layer geometry not displaying correctly #48

Open iWas-Coder opened 9 months ago

iWas-Coder commented 9 months ago

Describe your issue

After implemented #15 , the geometry does not get displayed correctly on the screen, it gets placed in the back of the main geometry, for some obscure reason.

Steps to reproduce

  1. Clone the master branch.
  2. Build the engine
  3. Build and run the WGE 3D template.
  4. Check that the UI geometry does not render correctly (2D) in a separate render layer.

What was the expected result?

That the UI geometry gets rendered in 2D, does not get affected by the camera movement, stays static in the same portion of the screen.

Put here any screenshots or videos (optional)

No response

Extra questions (optional)