Screen percentage and VR Preview

Hello,

Changing the screen percentage while in VR preview screw’s the screen coordinates up.
UE4 4.6.0
OR SDK 0.4.4
Please see link.
Oculus forums

Hey Opamp77-

In the link you posted you mention using the ScreenPos node. How and where are you setting this value (in the level blueprint, character blueprint, etc.) Additionally is this affecting both the onscreen view of the Oculus as well as the view THROUGH the Oculus or does it only affect one of the two?

Hi ,

My apologies Im talking about The Material Node ‘ScreenPosition’ which reports a pixel’s screen position.
And it effects both the mirror view and the view through the HMD.
I can post the test post-process shader I used for the screen shots if you like.

That would be helpful in matching what each of us are seeing. Also, if you could post how you are using the shader so that I know I have it setup the same on my machine that too would help.

Hi,
I decided to see if I could repro on 4.7.0 so downloaded and compiled 4.7-np
from the Oculus branch and can still repro so have uploaded a project for that.
[debug-47-np][1]
[1]: Dropbox - Error

Hey Opamp77-

I was able to reproduce the behavior you were seeing on my machine. It seems it is more connected to post processing materials than the screen coordinate node (I saw the same behavior without the screen coord node connected). This has been reported to our internal tracking database as UE-8747 for further investigation. Thanks for the help and the sample project.

Cheers