#Interactable faux-3D elements in a screen space overlay canvas

1 messages · Page 1 of 1 (latest)

dapper wave
#

Hey folks.

I'm looking for a bit of feedback/critiques.

I'm working on a small game project with an artist. We're in the testing/prototype phase and I made this minimal proof-of-concept to test out the UI features which will eventually be used to make the game.
For now, I only used basic animations and 3D shapes. The actual game will ultimately include 3D rigged characters and the rest of the UI, game elements, and so on.

The challenge was in projecting 3D animations within a screen space overlay canvas and having said animations behave as buttons which may also move around at key moments.

My approach is as follows:
• I set up 3 separate cameras, each looking at their own object and a small world canvas behind it with a background image.
• Each camera targets a render texture. In turn, those render textures are referenced by raw images that are children to the screen space overlay canvas.
• The raw images are each accompanied by a button component with the raw image as its target graphic.

And, that's basically it!

My question is as follows:
Is there a more efficient or "proper" way to produce this effect?
I know render textures can be very expensive if misused.
I'm happy to get any other type of feedback as well.

Thanks!
.

#

👇 This is the 3 camera setup

#

.
👇 This is the canvas setup