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"

Setup DepthStencil for SceneCapture2D? [Portals]

I'm currently working on a portal door system where I got some SceneCapture2Ds moving and rotating around portal doors while facing them and some material alignment tricks to get the perspective right. The effect is looking really good, but I got some serious performance issues, because rendering space around the portal doors is wasted, especially when the camera is a few meters away from the door. So I thought about setting up stencils on the portal door planes and only render the scene inside the stenciled areas.

I already inspected the SceneCaptureRendering.cpp, but I don't know how and where to setup the stencil for drawing properly? Could someone please help me?

ps. My portal doors are shaped like real doors (rectangles e.g. 1.0m by 2.2m)

Product Version: UE 4.12 Preview
Tags:
more ▼

asked May 30 '16 at 08:46 AM in C++ Programming

avatar image

DennG
53 4 7 10

avatar image DennG Jun 02 '16 at 12:08 PM

Anyone? EPIC?

avatar image Ian Proulx Jan 26 '17 at 04:59 AM

I am trying to do the same thing. Any luck?

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

0 answers: sort voted first
Be the first one to answer this question
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