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"

How does one get a reflection effect on a cubemap without mirroring?

I am creating a portal system for my game that uses 3D spheres for the portals. I have taken a scene capture cubemap at one of the portals and had it converted to a material to be used on the other portal. It has the visual effect that I intended, except that everything is mirrored. After some looking around, I figured out that the issue is the ReflectionVectorWS node in the material. I tried modifying it with other nodes, but the only 'fix' I found made it so that it appeared as a completely flat circular window instead of a sphere.

Here is a picture of the material blueprint. If you look at the platform in the preview, there is text that appears normal in the actual game. alt text

What I want to know is whether or not I can modify the reflection vector so that it maintains its 3D effect while removing the mirror effect, or if there is some other way to accomplish this effect..

Until I have a solution, I will be using the workaround of flipping the player around when using the portal.

Product Version: UE 4.14
capture.png (178.9 kB)
more ▼

asked Jan 07 '17 at 01:04 AM in Using UE4

avatar image

71 6 6 14

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

So, to any future people out there who want to use this idea, I just found the workaround I needed. The solution was to use 2D scene captures instead of cubemaps, and rotate the camera and the mesh based on the player's relative location. alt text

teleport.png (153.9 kB)
more ▼

answered Jun 16 '17 at 06:19 PM

avatar image

71 6 6 14

(comments are locked)
10|2000 characters needed characters left
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