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"

Reflections clarification (roughness, metallic, fresnel)

Hello,

I think I'm mostly getting the physically based rendering approach, but I'm not sure about a few details.

Metallic sounds like a property for metal surfaces, but when I want to make a mirror like surface, roughness alone isn't enough when set to 0. Only after Metallic is set to 1 surface looks like mirror. Is this correct approach (or is mirror some special case with "metal" like surface)?

Where does fresnel effect stand in this? For example with Metallic=0 and Roughness=0, there seems to be some amount of fresnel effect because on the edges of the sphere the reflection is stronger (or that's how it seems). So how do we control fresnel? Is it derived in "physical" correct way from Roughness and Metallic parameters?

What If I really want to have not-so-physically-based shading of a material? For example on a sphere with roughness of 0,5 I want to boost the reflection in the areas perpendicular to the camera but without affecting the shading via metallic parameter as that seems to bring this metallic quality into the shading. Would be pluging fresnel into both roughness and metallic to make reflections in the perpendicular parts of a mesh more pronounced considered an OK practice?

Thanks a lot for helping with this.

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 04:44 AM in Everything Else

avatar image

ue4-archive ♦♦ STAFF
50k 3667 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM

These pages (1 and 2) in the documentation are very helpful in explaining how the Reflection Environment works... but they don't work for dynamic objects, and we're warned to not use to recreate a flat mirror effect. You might just be having a hard time pre-visualizing the effect in the material editor (I found fresnel to be especially twitchy when inverted), maybe you'll have better luck after placing it in a scene with capture actors.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM

Thanks. I have gone through most of the documentation that's available, but I still have those questions I would like to get clarified. I'm using mirror as the most extreme example to explain my point.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM

to create dynamic mirror you need something like SceneCaptureReflectActor. Looks like this is not implemented in current version.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM

Sorry not to be clear enough, but the point of the question really wasn't how to make a mirror.

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

2 answers: sort voted first

Yeah, I'm afraid I don't understand the way you're referencing Fresnel in your example.

Roughness of 0 will simply provide perfect reflection. Too perfect, in most cases, unless you want a REALLY clean mirror. Roughness of 1 will obliterate all specular reflection.

The above statements are true regardless of Metallic's value - the values are independent.

Metallic of 0 is a plastic like surface, in which reflections maintain a fair portion of their original color, just as they do with a really shiny piece of plastic. Metallic of 1 is a metallic surface (yes... I just said that. Sorry), in which reflections receive a large amount of tint from the base color.

more ▼

answered Mar 11 '14 at 04:44 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3667 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM +

Where I'm still confused is in the either/or nature of Metallic and Specularity. What is the fundamental difference between a material with a Specularity value of 1 and Metallic value of 1?

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

Mirror-like surfaces will require a Metallic value of 1. Interesting fact: most modern mirrors are actually made from various metals applied to one side of a sheet of glass. :) http://en.wikipedia.org/wiki/Mirror

Provided you were okay with having a result that wasn't physically-based, as in something you probably wouldn't see in the real world, then yes, it's fine to connect a Fresnel effect into both Roughness and Metallic. It won't break anything. It just wouldn't be "realistic."

I would probably start by running a Lerp into Roughness, with A and B representing the highest and lowest values I wanted for my reflections. Then power the Alpha with a Fresnel and tweak the exponent until I had nice reflectivity on the outside of my object.

more ▼

answered Mar 11 '14 at 04:44 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3667 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 04:44 AM

Thanks for the answer, exactly what I wanted to know.

Could you describe how is fresnel calculated when only constants are used for the roughness and metallic parameters? For example, what's the index of reflection when roughness=0, metallic=0 or roughness=1, metallic=0 and roughness=1, metallic=1? Or maybe question about fresnel doesn't make sense with physically based shading?

(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