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. 

Why are reflections always drunk?

Hi. ive been getting this problem since i started this project and ive been getting this effect on windows too. i thought id fix it up as i get closer to finishing it but i noticed that this problem doesnt only happen on my windows. its also occuring basically on every reflective surface that i have. why are the reflections kind of inverted or something. its like reflecting itself instead of the thing in front of it? and with windows. it reflects the frame instead of the building (or anything infront of it that it should be reflecting instead. heres a picture of what im talking about.alt text

as you can see the glass panel should be reflecting the wall infront of it. but instead, its like redrawing what is beside it as it is (without reflecting or inverting the objects. at first glance you already know that somethings wrong with the reflection. how can i fix it? thank you very much for your time.

btw the glass material is an instance of a duplicate of the M_glass material from the starter content with a little higher metallic and opacity values (i changed some of the constant nodes to scalar)

Product Version: UE 4.10
more ▼

asked Feb 28 '16 at 04:36 PM in Rendering

avatar image

13 3 7 9

avatar image Ram.J Feb 28 '16 at 04:48 PM

Do you have refraction in your material ?

What it does is simulate light breaking, so you would see what's in front of the model but slightly skewed.

avatar image thudz Feb 28 '16 at 05:10 PM

yes i have refraction. i think its 1.4 as it was in the default glass material. i didn't change it.

but it's wrong isn't it? i mean look at it. is so wrong :( so it's not reflection at all?

avatar image Ram.J Feb 28 '16 at 05:26 PM

It's not really clear from this angle, but I'd try to remove refraction and check if anything changes.

You can see the difference here alt text alt text

ref.jpg (131.1 kB)
noref.jpg (121.2 kB)
avatar image thudz Feb 28 '16 at 06:02 PM

Thanks RamJ. I think i'll just do that. But I'm just dying to know, how is glass properly built in ue4? i mean it has to have a refraction value right? If refraction causes this kind of problem then something else must be wrong?

avatar image Ram.J Feb 28 '16 at 06:19 PM

It's not really a problem per se, it's a matter of using it correctly. In your case, it's hard to judge since the scene doesn't have much colour or other objects yet.

It also depends on how you want to use the glass, for example, you can have a thick plate of glass, with the two faces having no refraction, and adding a little refraction on the sides. Or you can use a texture as an alpha to refract a specific area of of the glass.

As far as reflection goes, from what I've encountered, it's a bit difficult to have both transparency and reflection, but it's possible with a little work on the material.

Read this to get it to reflect better, and this to learn more about refraction.

The forums and the documents are a great place to learn about everything the engine has to offer, I learn something new there everyday.

Good luck, Ram

(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