UI Display

author: Swapnil Narola

Date:  2/24/2022


I had to display UI on the screen and didn't know what to do and how to do, didn't found any example online because it was so easy to have a tutorial. i made billboard to make it as a display but not success to attach it to camera.

i found Sascha will ems blog post on post process and he uses a huge triangle to cover the screen without buffers and  vertex input, but its just one image i can put on at the end of day, so i learn from that triangle to make a quad on a screen and finally able to display pause menu on screen. which i only had to pass a quad to vertex shader and multiply with world matrix and change rasterizer pipeline cull mode to front, there you have a ui display.

Comments

Popular posts from this blog

Adding assets to every enemy -- Owen Meyers

Sphere to AABB collision