# Substrate - Feedback Thread

**URL:** <https://forums.unrealengine.com/t/substrate-feedback-thread/691314>\
**Category:** Rendering\
**Tags:** Staff-Pick-UE, Physically-Based-Shading, unreal-engine, Substrate, Rendering\
**Created:** [November 15, 2022, 5:18pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314 "2022-11-15T17:18:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 15, 2022, 5:18pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/1 "2022-11-15T17:18:55Z")

</div>

Hello everyone,

My name is Sébastien Hillaire and I am the co-author of Substrate along with Charles de Rousiers.

Substrate Materials have been released as experimental in Unreal 5.1. As described in the documentation: “Substrate is a new way of authoring materials that replaces the fixed suite of shading models, such as Default Lit and ClearCoat, with a more expressive and modular framework that provides a greater range of surface appearances and a wider parameter space from which to work. Performance for Substrate Materials scales according to complexity and desired budget of a project, with legacy materials having a similar cost as before.”

For 5.1, the Substrate docs will be hosted on the Dev Community. [They can be found here](https://dev.epicgames.com/community/learning/courses/92D/unreal-engine-substrate-materials/). Please be sure to read all of the docs before posting, especially the [Experimental Status](https://dev.epicgames.com/community/learning/courses/92D/unreal-engine-substrate-materials/O2Z3/unreal-engine-substrate-experimental-status-limitations) Section to learn more about current limitations. We will likely update the docs over time based on your questions and feedback. Furthermore, a sample project with training and usage examples will be released soon.

We are starting this thread for general feedback and discussion. If you have more focused feedback that might require a longer conversation, please start a new thread under Rendering and apply the Substrate tag. Before replying to this thread or starting a new topic, please search the forum first to see if there is already a relevant thread.

We and other Epic employees will try our best to answer as much as we can, but cannot promise responses to all of your posts. We do read everything here and will try to incorporate your feedback into future work.

NOTE: Substrate is the new name. The previous, now deprecated name, was Strata.

---

<div class="post-metadata">

**Author:** ![Shiv0r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shiv0r/32/483716_2.png) [@Shiv0r](https://forums.unrealengine.com/u/Shiv0r)\
**Post date:** [November 15, 2022, 11:49pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/2 "2022-11-15T23:49:13Z")

</div>

How would you achive the subsurface scattering like in the shading model?The one on strata behaves like the subsurface profile which is nice for skin but less for something like a candle.

---

<div class="post-metadata">

**Author:** ![EG.NMorgan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eg.nmorgan/32/924117_2.png) [@EG.NMorgan](https://forums.unrealengine.com/u/EG.NMorgan)\
**Post date:** [November 16, 2022, 4:11am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/3 "2022-11-16T04:11:52Z")

</div>

You can use the Mean Free Path (or the more perceptually uniform helper node Transmittance-To-MeanFreePath) to give a SSS effect (and color). Keep in mind that the value range for Mean Free Path is 0 to infinity. If you want the object to get more scatter, you can definitely multiply the MFP value as high as you need to hit the look you want.

---

<div class="post-metadata">

**Author:** ![Shiv0r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shiv0r/32/483716_2.png) [@Shiv0r](https://forums.unrealengine.com/u/Shiv0r)\
**Post date:** [November 16, 2022, 9:16am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/4 "2022-11-16T09:16:57Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/0/c0010e5e176c20e823ec5b1ca4cc326042b391c7.jpeg)  
If I try to multiply the value im getting a pretty noise artefact as a result.

Not sure if I’m doing something wrong.

---

<div class="post-metadata">

**Author:** ![EG.NMorgan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eg.nmorgan/32/924117_2.png) [@EG.NMorgan](https://forums.unrealengine.com/u/EG.NMorgan)\
**Post date:** [November 16, 2022, 5:28pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/5 "2022-11-16T17:28:56Z")

</div>

Yeah, that’s definitely the right idea. You should also plug in the thickness - as the two parameters work in concert. If you’re still not able to hit the look you want, you can try to toggle the ‘Use Subsurface Diffusion’ boolean on the slab itself. This will cause SSS to revert to a wrap lighting mode which is (quite) similar to the legacy shading models (non-SSP).

---

<div class="post-metadata">

**Author:** ![EG.NMorgan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eg.nmorgan/32/924117_2.png) [@EG.NMorgan](https://forums.unrealengine.com/u/EG.NMorgan)\
**Post date:** [November 16, 2022, 6:31pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/6 "2022-11-16T18:31:43Z")

</div>

I actually think you have found an edge case in how the model is parametrized. You have a MFP of 1 in the transmittance to mean free path color for the blue channel - meaning that blue light is not attenuated at all. Simply changing the blue channel of your vector parameter to 0.99 will give the behavior I was expecting.

 ![UnrealEditor_Nyn7m0IfmX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/9/27909343d87540b2aa710693c702999281b6a8d5.jpeg)

---

<div class="post-metadata">

**Author:** ![Jz\_Fan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jz\_Fan](https://forums.unrealengine.com/u/Jz_Fan)\
**Post date:** [November 17, 2022, 5:07pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/7 "2022-11-17T17:07:11Z")

</div>

The scenetexture is very weird, I don’t know how to do some stylized post-process now.

---

<div class="post-metadata">

**Author:** ![EG.NMorgan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eg.nmorgan/32/924117_2.png) [@EG.NMorgan](https://forums.unrealengine.com/u/EG.NMorgan)\
**Post date:** [November 17, 2022, 11:00pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/8 "2022-11-17T23:00:36Z")

</div>

Which scene texture(s) are you trying to use, and how are you viewing them? Strata generates the buffers on request - so looking at the buffer in the viewport may not look like you’re used to seeing.

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 18, 2022, 10:33am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/9 "2022-11-18T10:33:45Z")

</div>

Thanks for reporting those issues.

A few extra points:

- I have tested scene textures from a post process in 5.1 and it seems to work (I have not tested everything). Please be _accurate_ when something does not behave as in the non strata path otherwise we do not know what to look at. Thanks.
- From our side, we will need to add details for the subsurface setup in the course.
- As mentioned by @EG.NMorgan, when **UseSubsurfaceDiffusion** is ticked on the slab node, the screen space subsurface scattering diffusion method is used. Use the transmittance color to specify the bleeding color as well as the thickness to specify the distance at which this color is reached. Directly feed MFP if you have physical data.  
 ![StrataSSSDiffusion.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/1/bc14770c6d321ab07ec4d07154493c2154e50dba.jpeg)
- Then if **UseSubsurfaceDiffusion** is unticked, the shading is similar to the Subsurface shading model: transmittance color represent the subsurface color. The subsurface scattering distance is controlled using the phase input for now (same as Opacity before, adhoc non PBR way to remain cheap)  
 ![StrataSubsurface.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/f/e9f2f26a87fb7d8116ca34f1db71bc792cdbb8bb.jpeg)
- Transmittance=1 will result in an infinite MFP. We have made that safe but maybe we have missed a spot so we will look at fixing.

---

<div class="post-metadata">

**Author:** ![Jz\_Fan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jz\_Fan](https://forums.unrealengine.com/u/Jz_Fan)\
**Post date:** [November 18, 2022, 1:30pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/10 "2022-11-18T13:30:05Z")

</div>

Thanks for the quick replying.  
It seems cause by TSR.

 ![TAA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/9/d5996f67740a13ed9097d3529dce4b967ca51c09.jpeg)  
when use TAA, it get what I expected.

 ![TSR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/e/b9e56fef995949df61875cc1a67b4250fd52d7b7.jpeg)  
But when use TSR, the result is very weird.

---

<div class="post-metadata">

**Author:** ![Jz\_Fan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jz\_Fan](https://forums.unrealengine.com/u/Jz_Fan)\
**Post date:** [November 18, 2022, 3:43pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/11 "2022-11-18T15:43:04Z")

</div>

gradient color also won’t work expected.

 ![color](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/1/351400189d61a7cc7abc5a12e4bbdf78d86c03d2.jpeg)

---

<div class="post-metadata">

**Author:** ![Amanda.Schade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amanda.Schade](https://forums.unrealengine.com/u/Amanda.Schade)\
**Post date:** [November 18, 2022, 5:01pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/12 "2022-11-18T17:01:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![Charles](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/charles/32/924314_2.png) [@Charles](https://forums.unrealengine.com/u/Charles)\
**Post date:** [November 21, 2022, 2:46pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/13 "2022-11-21T14:46:53Z")

</div>

Thank you for reporting the issue! We found the problem, and it is now fixed in the mainline. We should be able to provide a fix for the next release patch.

---

<div class="post-metadata">

**Author:** ![ZkarmaKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zkarmakun/32/1194545_2.png) [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Post date:** [November 23, 2022, 10:18pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/14 "2022-11-23T22:18:22Z")

</div>

I was checking a bit of the code, I see everything is still hooked to the HLSLMaterialTranslator.cpp with hardcoded functions just to receive the pins values, I am wondering if in future will it be possible to inject a custom BrDF functions from a plugin, so we can create custom shading models

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 25, 2022, 9:41am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/16 "2022-11-25T09:41:12Z")

</div>

> [@ZkarmaKun](#):
>
> I was checking a bit of the code, I see everything is still hooked to the HLSLMaterialTranslator.cpp with hardcoded functions just to receive the pins values, I am wondering if in future will it be possible to inject a custom BrDF functions from a plugin, so we can create custom shading models

Hi,

We may have a plan for that already because Strata can make that possible. But there is no promise or ETA: we want to make this right, future proof and there are lots of elements to develop before we get there.

Any UX and workflow suggestions are welcome. Thanks!

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 25, 2022, 9:45am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/17 "2022-11-25T09:45:09Z")

</div>

> [@sunset0308](#):
>
> It is just me or does f90 reflectivity seem to be broken? f0 seems to work but the f90 input doesn’t seem to do anything.

Hi,  
Please always provide more details for us to reproduce. It works as expected for me in 5.1:

Dielectric:

 ![F90a.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/d/eed8a0b457a1ab24bf7de039364be2f78cb7a082.jpeg)  
Dielectric smooth:  
 ![F90b.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/1/d8195c596e521e267b025c07cfd8a2599b08128d.jpeg)  
Conductor rough:  
 ![F90d.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/1/471bc667022a6b421dd3d1e8603038196d6756a0.jpeg)  
Conductor smooth:  
 ![F90c.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/6/6f6ebfd23a0935c0711ff116582c496f8d23e66b.jpeg)  
Flipflop node:  
 ![F90flipflop.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/e/a4e5782c7f684abb570c9109248d20188ed9e5f1.jpeg)

---

<div class="post-metadata">

**Author:** ![sunset0308](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sunset0308](https://forums.unrealengine.com/u/sunset0308)\
**Post date:** [November 25, 2022, 3:30pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/19 "2022-11-25T15:30:25Z")

</div>

nvm it seems the material i was using was just too rough for the effect to be noticeable.

---

<div class="post-metadata">

**Author:** ![sunset0308](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sunset0308](https://forums.unrealengine.com/u/sunset0308)\
**Post date:** [November 25, 2022, 5:29pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/20 "2022-11-25T17:29:31Z")

</div>

The thing that threw me off is that f0 seems to affect overall specular amount similar to the specular node while f90 doesn’t seem to.

 ![Capture1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/5/90546f9f0c9255dec5ece0ce838a0d8fe0496395.jpeg)  
 ![Capture2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/d/f0d5c3c86229fc0fc87d1e88b39073efc37f2039.png)  
 ![Capture3.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/8/c68dd3b1c71fef9f2c352dd7498bf08bb9403d7b.jpeg)  
 ![Capture4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/7/35797a043dae0c35fb1bf10aaee91073991f8ee0.png)  
 ![Capture5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/9/469e3848c42648f59bb829227a06f05023b97b77.png)

As you can see f0 has a dramatic effect on overall specular values while f90 doesn’t. Though that may be intended.

Based on the description I was expecting an effect more similar to what’s shown in this video [Specular & Roughness control for Unreal Landscapes - YouTube](https://youtu.be/pEC3mEWddsY?t=95) though I guess I may have just misunderstood.

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 27, 2022, 9:25am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/21 "2022-11-27T09:25:34Z")

</div>

> [@sunset0308](#):
>
> As you can see f0 has a dramatic effect on overall specular values while f90 doesn’t. Though that may be intended.

Yes that is expected. F90 is only here to control specular at grazing angle and the way it progressively appears follows some physically based rules.  
F0 controls reflectivity at facing angle. And we enforce physically based energy conservation/preservation. So F0 in [0,0.08] is for dielectric. Then when going higher up, conductor progressively appear (while diffuse progressively disappear).

If you want to hack/cheat around to better control the specular color, you can use the FlipFlop node (we still enforce energy conservation/preservation):  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/b/bbb9cc062d2cc5425ccedd38017a60e4c6d0d320.jpeg)

Also, if you want the old basecolor/specular/metallic parameterization you can also use the _ **Metalness-To-DiffuseAlbedo-F0** _ helper node:

 ![Slab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/d/6bd515badd9e20cf0530e111f6ff8761146f7f65.png)

---

<div class="post-metadata">

**Author:** ![Suthriel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suthriel/32/1195643_2.png) [@Suthriel](https://forums.unrealengine.com/u/Suthriel)\
**Post date:** [November 30, 2022, 9:31pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/22 "2022-11-30T21:31:22Z")

</div>

I couldn´t test Strata yet, so i just have a question: Will Strata be able to get something like an Edge shader/curvature shader (i think, its called Bevel node in Blender), so that we can isolate edges and corners on meshes? Just asking, because that one opens some really cool possibilities for procedural textures, as shown in this video here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/d/53dd64ce6db52f5191fadac432945fc42a3378a2.jpeg "How to Texture Spaceships Like ILM (in Blender Cycles!)") ](https://www.youtube.com/watch?v=QvZHDZDCfVw)

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/f/11f01fade82c032801cc5b63d4589347143331c0.jpeg)

And Color Ramp ^.^

[Next page](https://forums.unrealengine.com/t/substrate-feedback-thread/691314.md?page=2)
