PGD Home

P0-B2: Part 1108: Improvements, Debugging

by on Jul.31, 2022, under Astral Realms, P-0, P0_B2, Software and Games, Spiritus Astrum

I have made extensive improvements to the UI system in the game.

The UI system is world space, and I want to keep it that way, since it is far more immersive.

One of the problems with this though is that in some cases items in the world clip through the guis (such as walls, etc).

Normally, this would be fixed by using a nested camera system, where the UI is on a different layer, however this did not work in my case, probably because I already have a complex nested camera system in place, as well as various post processing effects, etc.

Instead, I modifed all of the UI shaders and some of the standard shaders that I am using to render them on top of everything else, so that I get the effect that I want without causing any additional rendering issues with the world.

This is also a lot more efficient that creating another camera.

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!