Character on Talk Window

hello
i’m going to build a Talk window like visual novel one (dialogue system)

i’m wondering on the best way to make my 3d character visible on the ui window…
is the best way to use an dedicated camera to show only some layer?

any help?

Would be a possible solution.

If the character can be static you could use also AssetPreview.GetPreview()

You can put RenderTexture in canvas image or create a world space canvas around your character.

That’s a UnityEditor class, it’s not accessible in runtime.

Probably he meant one coould save it’s result into texture and use texture in runtime.

but i need also to put a background for the scene… that’s what i’m wondering for

So, yes, you need a camera pointed at the character’s face. Create a Render Texture (which you can do in the project pane by right-clicking), assign it to the camera’s Target Texture, then create a RawImage component in your dialog box UI and assign the same render texture to that. Bada bing bada boom, his face should be on the UI.

so the point here is to put the background image behind the character?

What is the problem with background image? You have your back in texture, you have your character in render texture, now show your setup if something is not working?

Fixed by create a second camera and cut off the layer not needed.
Thank’s to all!