Archive 17/01/2023.

Tech Task - Game Dev. Need Help

keith7

Hey. I create a game. But I need help. Help me please.
The essence of what.
I have a scene as a 3d object, I have dynamic objects and I have a screen-like action as an interface. I need it to be rendered on the screen in this order:
-Static scene
-Picture Interface Over Static
-Dinamic object on top of the interface image
-One more picture of the interface on top of everything

The camera will always remain stationary.

How I can do that ?
Disable depth test not solutions.

jmiller

Hey keith7, and welcome to the forum. :slight_smile:

Here are a few threads with information around these topics.

https://discourse.urho3d.io/t/how-to-control-render-order/1240
https://discourse.urho3d.io/t/how-to-layer-scenes/740
https://discourse.urho3d.io/t/how-to-best-generate-an-in-game-hud/1684

Current docs on render paths
https://urho3d.github.io/documentation/HEAD/_render_paths.html

Modanung

And possibly the RenderToTexture sample?