VR periscope

hi I’m currently working on VR game project

and trying to find out way to make periscope possible

the idea is

  • move head near Periscope mesh
  • make narrow black masking around round view
  • middle circle view show other camera view

first thought of FOV

but just knew that FOV don’t work on VR camera

Then Vignette but postprocessing was way to heavy for VR hardware

kinda lost and need help

I already made mesh

This sounds tricky to do well on mobile VR without modifying the renderer (which requires a lot of experience with the Unreal source). Unreal doesn’t provide much utility for custom VR rendering.

Ideally to keep the player in full control, you would just render the outside view with a scene capture component, and apply the texture to the periscope viewfinder. This would likely bee too heavy for mobile though.

One option could possibly be to move the camera to the outside viewpoint when the player gets close to the periscope, and put a black mesh with a hole in it in front of the camera to simulate the optics.

It would be a very jarring shift for the player though. Maybe you could fade in the black mesh the closer the player gets to the periscope, and only do the move once it’s fully faded in. You would also have to take care to prevent the player from losing their balance, or getting nauseated from the periscope movement.