I am wanting to make my game view only show on a portion of the screen (Think OSRS or similar games where you have UI wrapped around the games viewport. I believe I can achieve this by using a post process material on the camera to offset the camera to my desired position, but I can for the life of me find any documentation on how to do this correctly or figure it out myself. Any help is greatly appreciated.
sort of but more to be fixed. I want the game viewport in the screen to be on the top and left portion centered if you will so the bottom and right hand side of screen can be UI only.
Everything i read needs me to go into c++ to change the way the viewport renders which is what I am trying to avoid as this is for a blueprint only project. There is plenty of documentation on how to do it in c++. My only work around is to use a post process to offset the UVs of the scene to my desired location and the other parts will be whatever colors or black and just overlayed by a widget.
My main pain is I am not that good at materials and cant find documentation on how to offset the scene texture UV Map to offset the camera view
can you provide an example image of what sorta effect you are looking for? a game screenshot, or drawing for example?
im a bit confused as to what exactly you are trying to accomplish… i think. idk.
my thought process is to offset the Scene texture uv map so it will sit centered inside of the widget like in the picture above. I know the proper way would be to change the way the viewport renders in c++ sort of how the ue5 editor does with viewports around the engines UI but I am being tasked to do this with out c++ modifications.
ohhh. i see. so instead of the centerpoint of the camera being at 0.5,0.5, you want it at 0.4,0.4 for example. let me think… ill see if i can figure out something
for some more info on how this works; its all powered by the TexCoord node. this is short hand for texture coordinate and it allows you to manipulate textures or do procedural math with it. its a very powerful node.
Hi @TheSameGuy , did you figure out the camera offset? I’m stuck with the same problem. I think ‘ndisplay’ might be the solution, but if there’s any other method, I would appreciate some help. Thanks