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"

Normal Shaders to PBS

Hello , i have a weapon that i have created in Blender and Texturef it in Ddo and Ndo so the résult is :

1 diffuse texture

1 Gloss texture

1 Specular texture

and a normal map

so in UE4 i've setup a basic material , Pluged the Diffuse on the basecolor and the normal map in the normal but for the gloss and the specular , i know that the specular work only with non metalic materials ,how can i convert these maps to put the rougness

sorry for my bad english and thank you

Product Version: Not Selected
more ▼

asked Sep 01 '14 at 07:19 PM in Rendering

avatar image

43 6 9 16

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

1 answer: sort voted first

Hey Amiot -

Here is a conversion Material Function which can get you started. You may want to play around with it to better suit your needs.

alt text

Thank You

Eric Ketchum

converttopbm.jpg (489.4 kB)
more ▼

answered Sep 02 '14 at 06:40 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image Amiot Sep 03 '14 at 10:45 PM

Thank you very much , you saved my life but just a litle thing , i think that the specular dont work with metalic materials and i need for roughness any idea ! and thnx another time

avatar image Lovecraft_K ♦♦ STAFF Sep 04 '14 at 01:59 PM

Hey Amiot -

So the Metallic setting is an approximation as all the outputs in this material function technical are. In the PBM system in UE4, Metallic really should be limited to either a 1 or 0, is it metallic or not, for most material setups. You can get some interesting things by using the range between 0 to 1, but for the purposes of most materials and in specific materials which are supposed to be metals just plug in a 1 (metals) or 0 (non-metal).

For the Roughness setting I updated the above Material Function with a new area which combines the Specular and Glow Maps to get a rough roughness approximation.

alt text

You may need to adjust the contrast math in the function used in the Roughness setup.

Good Luck!

Eric Ketchum

pbm_update.jpg (113.2 kB)
(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