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"

Mirror Material without using RenderTarget

I noticed that some materials can actually reflect scene and act like mirror. Sadly, default reflection range is quite short and instead of objects reflects either darkness or skybox.

Cookies

Since default trick with RenderTarget and camera is not perfect, is there a way to actually increase reflection radius?

Product Version: UE 4.14
Tags:
untitled.png (916.5 kB)
more ▼

asked Jan 30 '17 at 08:24 PM in Rendering

avatar image

Ch3shireCat
186 18 21 26

avatar image Ch3shireCat Jan 30 '17 at 11:55 PM

I found something called Planar Reflection Volume (oh the irony, it was even on screenshot before cut), it is basically the method to tell the engine to render larger distances of reflections. It works quite good, but without multiple reflections between two mirrors, which sadly could be just an imperfection of UE4. I'll try to expand and implement in C++ my Mirror class and I'll post the result.

avatar image BLAZE_42069 Jun 15 '17 at 08:50 PM

Hey Ch3shire, first time on this forum but if it possible could u send your exact blueprint for the failed mirror that was in the picture above? Currently have a problem where I am making a maze entirely out of mirrors and the mirrors have a massive black/shaded area on the lower half of all objects with the mirror material. Yours looked like it didnt, wondering how you did it.

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

2 answers: sort voted first

I found it. It's easiest thing in the world - you actually have UPlanarReflectionComponent which you can include in place of your reflecting surface. You need only to rotate it properly to actually get PlanarReflection parallel (and in place) to reflecting surface. As I wrote before, multiple reflections are probably impossible on this stage of Unreal Engine (...shame), but other than that everything works great. Maybe reflection has too small resolution, but you can probably change it in UPlanarReflectionComponent properties.

more ▼

answered Jan 31 '17 at 05:25 PM

avatar image

Ch3shireCat
186 18 21 26

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

I was looking for a solution for this and found your answer which was helpful! Thanks!

To increase the resolution of the reflection, push the "Screen Percentage" to 100 (from default 50).

more ▼

answered Nov 10 '17 at 02:26 AM

avatar image

dionysus
28 1 3 7

(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