Offset Scene Texture on screen

Dear community,

Reposting this as I havn’t got an answer in two years.

Trying to create a character editor, I would like to move the focus of the camera to a side of the screen, and not the center, because the other side will be occupied by an interface. I want to achieve something similar to the illustration in this discussion,

which, unfortunately, has been marked as resolved although a last issue was being mentioned (see post 10).

I tried to achieve this effect with a post process material for the moment, but if anyone has another idea, I’m opened to it. Thank you !

Since I havn’t got any answer so far, I add a screenshot a the issue here.

Hello @Idknoidealol

Not sure if I fully understand, but do you mean something like this? I used the screenshot from other thread for reference.
Please let me know.

Thank you for your answer. The issue on the video you recorded, to which I can’t find a solution, is that the player is not centered in the viewport part of the screen. It should be a little offset on the left. I’m trying to achieve what I have in the screenshot above, but without the streched effect on the left.

Lets dig into this a bit more.
I’m still having hard time understanding this (sorry). When you say player isn’t centered do you mean the entire viewport (including the widget on the right hand side) or do you mean not centered in the part where there is no widget?

Apology if I’m being a bit dense

Like, this is dead center of viewport (default settings):

Do you want something more like this:
(needs more work I presume)

How do I replicate what you have on screen, how do you get this stretch effect to begin with?

How about something like this?

I haven’t quite figured out how not to make it so dark, but I’ll keep digging.

Edit:

Are we getting closer?


Yes, these screenshots are more of what I’m looking for ! Did you project the camera view in a UI ?

Yes, that’s exactly what I did. I used Scene Capture. I’m not exactly happy with it, as it’s basically a hacky way of doing it.

That would, I believe, not work in my situation, as I would like to have the viewport “under” the interface (see post 2)

Okay, I’m at a loss then. I played around with it a bit more using cine camera and filmback settings but I guess this won’t work for you too. I’m out of ideas.


I really appreciate your time. I’ve been trying to find a solution for two years now ! How can this be so tricky to do …
I’m actually thinking of using a scene capture with a bigger resolution, and then just display its left part on the widget. Does that sound doable to you ? I havn’t really been experimenting with capture so far.

1 Like

Anything is doable, but there might be a trade off. I honestly wouldn’t use scene capture because it can be expensive and you’ll probably end up running into some other issues along the way.
That being said, try it, maybe you’ll learn something while doing it or it will inspire another idea.
I guess you could explore creating something custom in C++, but that’s something out of my scope at the moment.

Personally, I would go back to drawing board and re-think my idea altogether.
Hope you find a solution that will work for you.