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"

How can I create a portal in UE4?

Any idea where I'd start? I know in UDK I'd be using a UTPortal, but I cannot find a similar thing.. I feel like I'm on my way with a Texture Render Target, but I can't seem to find anything on it :P Any hints of how I'd go about this would be amazing.

Thanks, Litruv

Something similar: alt text https://www.youtube.com/watch?v=_HFu-ZuoGjI

Product Version: Not Selected
Tags:
zxcvvcxz.jpg (74.0 kB)
more ▼

asked Mar 25 '14 at 02:38 AM in Using UE4

avatar image

Litruv
3 5 13 17

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

1 answer: sort voted first

Litruv,

I asked a similar question two days ago and I'm still waiting for an answer. Coming from Unity, I was able to do this with a Depth Mask shader that allowed me to draw the output of a second camera, bound to player inputs, to the portal 'surface'. See my forum post here for the outline of what I had done: https://forums.unrealengine.com/showthread.php?739-DepthMasks-and-Portals

I have not recreated this in UE4 yet, though I've been banging my face rather vigorously into my office wall trying over the past few days. Here's a few 'solutions' I've been toying with, though I hate them:

  • RenderToTexture via SceneCapture2D (as you know).

  • Post Process tasks. You can place a Post Process task volume and set the blendable to be the output of the SceneCapture2D object, basically binding the player's camera to another camera elsewhere. This is just a little gimmick I came across and I've not perfected it. May be a dead end.

  • If you're not worried about the cube functionality shown in your video and just want to have doorways, you can use an activator volume to teleport them when they're within 'range' and duplicate the scene at both ends, then have an activator at the destination to send them back.

I'm considering delving into code and probably will to see if I can get around this issue. If I get a better solution, I'll update you. This is a pretty annoying thing to be lacking and is crippling my project, so hopefully someone has a solution. Hopefully something in my answer helps.

Best of luck. - Justin

more ▼

answered Mar 26 '14 at 12:58 AM

avatar image

JMoore5268
161 4 7 10

(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