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 to enable specular color

Hey,

How does one enable specular color? In the paper Real Shading in Unreal Engine 4, Karis writes: "After long discussions, we decided to continue to support the old DiffuseColor/SpecularColor as an engine switch in order to maintain quality in Fortnite, since it was far into development."

This would be useful to fake some post process effects in seperate transparency materials. Also would this switch interfere with the standard physically based shading?

Product Version: UE 4.9
Tags:
more ▼

asked Feb 23 '16 at 10:33 PM in Rendering

avatar image

jgm
72 7 11 16

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey jgm,

I just took a quick read over the presentation myself, and from my understanding the old shader was not as physically accurate as we would have liked, and didn't have the robustness we wanted moving forward with a PBR shader.

We kept the old shader for Fornite since it "has a non-photorealistic art direction and purposefully uses complementary colors for diffuse and specular reflectance, something that is not physically plausible and intentionally cannot be represented in our new material model."

"We don’t feel that the new model precludes non-photorealistic rendering as demonstrated by Disney’s use in Wreck-It Ralph, so we intend to use it for all future projects." In short, it will change a bit of your PBR but will not drastically change your overall look of your materials.

"In the case of the new shader, roughness is going to adopt the old specular color. "There is one situation I have seen a number of times now. I will tell artists beginning the transition to using varying roughness, “Use Roughness like you used to use SpecularColor” and soon after I hear with excited surprise: “It works!” But an interesting comment that has followed is: “Roughness feels inverted.” It turns out that artists want to see the texture they author as brighter texels equals brighter specular highlights. If the image stores roughness, then bright equates to rougher, which will lead to less intense highlights."

The quotes I grabbed should be able to answer your questions straight forwardly.

Cheers,

Andrew Hurley

more ▼

answered Feb 25 '16 at 07:56 PM

avatar image jgm Feb 25 '16 at 08:06 PM

Thanks for the comprehensive response!

(comments are locked)
10|2000 characters needed characters left
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