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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Wrong uv coordinates in post processing in VR

I've tried to test my post processing materials in Oculus Rift DK2. Unfortunately they are bugged in VR mode. So I tried to trace the problem and created simple post processing material outputting ScreenAlignedUVs node.

This is how it looks like when no VR is used. As expected it goes from 0 to 1 in both directions, so we get black to yellow, works fine! alt text

Now there's the same material but in VR mode. As you see it's wrong. While y coord still goes from 0 to 1 in both eyes, x coord goes from 0 to 1 in the left eye, but right eye has wrong x coord (I think it's from 1 to 2) alt text

Due to this my blendables are broken because I do distortion in the materials.

I'm using UE 4.7.

Product Version: UE 4.7
Tags:
grad_novr.png (307.3 kB)
grad_vr.png (726.8 kB)
more ▼

asked May 18 '15 at 10:00 PM in Bug Reports

avatar image

devast3d
242 15 19 47

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

1 answer: sort voted first

Hello devast3d,

After looking over your issue it seems as though you material is displaying as intended. If you would like for this effect to take place in both eyes of the oculus rift, you will need to have the effect tile along the X axis of the screen. I hope this helps.

Example:

alt text

Make it a great day

more ▼

answered May 19 '15 at 03:39 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 523

avatar image devast3d May 19 '15 at 08:55 PM

It's a sad news since distortion-like materials which have some sort of effect center require additional hacks to support VR...

(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