x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

vr.oculus.PixelDensity.adaptive not recognized

Hi there,

I recently updated my VR project to 4.20 and realized that the adaptive pixel density command for Oculus no longer works (vr.oculus.PixelDensity.adaptive). I've been trying to get hold of an updated list of console commands, but so far I've found nothing. Oculus suggests that I look in the file UE4-Oculus.txt that they say should be located in the engine root directory, but there is no such file there.

So can anyone tell me how to activate the adaptive pixel density feature in 4.20?

Product Version: UE 4.20
Tags:
more ▼

asked Dec 04 '18 at 03:29 PM in VR

avatar image

Hejden
136 6 12 21

avatar image Hejden Dec 10 '18 at 10:39 AM

To comment on my own question here, I found out that the UE4-Oculus.txt file is located on Github and not the installed engine root directory. In that file there is no mention of vr.oculus.PixelDensity.adaptive, but instead they mention r.DynamicRes.OperationMode as the new command.

This is Epic's new dynamic resolution feature, but it only supports Temporal AA with TAAU so if you're doing a VR project with forward render you'll have to give up the crispy MSAA. Also, I haven't really been able to get it working properly. It seems like any oversampling just results in the screens in the Oculus becoming magnified.

If anyone has any input on how to get this working I'd very much appreciate it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The answer is that there is currently no possible way of getting adaptive pixel density (or dynamic resolution either for that matter) for the Oculus.

So you'll currently have to purchase a variety of graphics cards with different performance and then test how they perform in the engine's GPU benchmark and find a resolution that gives a desired framerate on that card. After a while you will have a range of GPU benchmark values that correspond to a range of resolution settings. Please note that these resolution settings will need to be adjusted for each VR headset that you support, since different headsets will have different hardware and display resolutions.

You will also need to use the VR Expansion plugin in order to properly detect which headset is currently used (and adjust settings based on model), as that is currently not supported fully in the engine.

more ▼

answered Feb 05 '19 at 03:38 PM

avatar image

Hejden
136 6 12 21

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question