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. 

Layering different lighting model materials.

In Unreal 4.1 i was able to material blend different lighting models (for example subsurface and metal) by just using masks in material blending nodes. But in 4.2.1 i just cant do it anymore coz it doesn't want to work. As soon as i change material lighting mode to subsurface i just cant blend in any other materials except subsurface. For instance if i change the lighting model to subsurface, i cant blend in metal surface function on top of skin, it doesnt' reflect as metal, or behave like metal surface.

Did something change in this realease? Is it not possible to do that anymore?

Product Version: Not Selected
more ▼

asked Jun 18 '14 at 11:35 AM in Bug Reports

avatar image

1 5 8 11

avatar image gonzamancg Jun 18 '14 at 11:52 AM

Here's an example of what i mean. Picture on the left has like 4 materials mixed. And 1 of them is skin with subsurface lighting model. All the others have default lighting model. Picture on the right represents subsurface mask that i have on the model.

So when i open tha same file on Unreal 4.2.1 this shader doesn't work and everything is subsurface. And even i i make it from scratch it's all the same.

alt text

avatar image Lovecraft_K ♦♦ STAFF Jun 18 '14 at 08:45 PM

Hi gonzamancg -

I have tried to reproduce this blending effect in 4.2 and 4.1 and have not been able to every get subsurface working. Could you post a screenshot of your material setup that is supposed to work so I can make sure I am following your workflow correctly.

Thank You

Eric Ketchum

avatar image gonzamancg Jun 19 '14 at 07:38 AM

Hi Eric,

Sure here are the screenshots, i made a new test scene with a simple sphere.

sss mat finction http://clip2net.com/s/illDaa

metal mat function http://clip2net.com/s/illFfw

blend layered material http://clip2net.com/s/illGny

Unreal viewport, left pic the shpere itself with blend shader applied, right picture - subsurface buffer visualisation. That's Unreal 4.1.1, and this setup doesn't work in unreal 4.2


Want to point out the the crutial par to make that setup work is to make sure that material lighting model is set to subsurface, and subsurface mask is set up and connected to subsurface input in all of the mat functions. Otherwise it doesn't work.



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

1 answer: sort voted first

Hi Tony -

I am moving this post into the bug report section as this is a bug. That's for helping us track this down. I've entered the bug with our developers and will keep you posted on the outcome.

Thank You Again,

Eric Ketchum

more ▼

answered Jun 19 '14 at 02:40 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image gonzamancg Jun 19 '14 at 04:40 PM

thanks Eric

(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