# 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:** 24

<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 14, 2024, 8:57pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/478 "2024-11-14T20:57:15Z")

</div>

Sorry, but the Lightmass process for UVs remains unchanged. The only thing we do in that context is converting Substrate materials to Lightmass materials.

---

<div class="post-metadata">

**Author:** ![Twads9816](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twads9816/32/1049194_2.png) [@Twads9816](https://forums.unrealengine.com/u/Twads9816)\
**Post date:** [November 14, 2024, 9:06pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/479 "2024-11-14T21:06:46Z")

</div>

Should the Unlit BSDF still be visible when the Transmittance Color is 1 for a translucent material? It’s invisible in the preview but visible in the world.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/d/d2d44c2886a8d3aa13b1a94d597e6982a003986f.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/f/8ef4f20f38e278a3141e4f22512d7dd984c220e9.jpeg)

Update: I tested with an analogous legacy material in an identical level, and as expected it’s invisible:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/a/09ad7cdee8de385129872ccbd73e3175b46fcbce.jpeg)

This seems to have something to do with fogging. Disabling Apply Fogging makes the material fully transparent. However this has the side affect of, well, not fogging the material when the transmittance is not 1. This makes it visible through fog from far away:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/2/22230238d395ad407fd48053d0ad17ee89bc8bda.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/3/d63030b8d379dac40bae3f7708eb112eb7cdb004.png)

---

<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, 2024, 8:22am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/480 "2024-11-15T08:22:42Z")

</div>

Hello,

I think what you are looking for is _coverage control_ using the **Substrate coverage node**. This one will behave like the opacity of the legacy system. Opacity in legacy == coverage. Not transmittance. Using that node, it should work as you expect.

Fog scattering is harder to resolve for transmittance. The correct way would be to integrate the fog scattered light in between each translucent surfaces. But as you can imaging that is would be too expensive (each surface are rendered in isolation without knowledge of anything else). So we do an approximation which is not identity in some cases. The legacy ThinTranslucent shading model has the same problem you describe here (because there is no accurate solution for that in real time, unless you integrate scattering in between each surfaces interaction as I mention above).

I have added a note to add these details to the documentation when we update it.

---

<div class="post-metadata">

**Author:** ![Ibtesam\_Sadiq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ibtesam\_Sadiq](https://forums.unrealengine.com/u/Ibtesam_Sadiq)\
**Post date:** [November 15, 2024, 1:08pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/481 "2024-11-15T13:08:42Z")

</div>

UE 5.5 Crashes when I enable substrate:  
It is related to post-process material. if you add scene texture with Shading model Color ID and attach it to unlit BSDF it crashes the engine with substrate enabled but it was fine in the old lagecy material system.

Can’t share screenshots because it won’t let me open the project after conversion.

Error:

LoginId:4a5eef4d44a98418791cd39c8ca0a9ce  
EpicAccountId:337a7e269326490f931ae031b64c3111

Assertion failed: View.SubstrateViewData.SubstrateGlobalUniformParameters != nullptr || !IsSubstrateEnabled() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\Substrate\Substrate.cpp] [Line: 704]

UnrealEditor\_Renderer  
UnrealEditor\_Renderer  
UnrealEditor\_Renderer  
UnrealEditor\_Renderer  
UnrealEditor\_Renderer  
UnrealEditor\_RenderCore  
UnrealEditor\_RenderCore  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_RenderCore  
UnrealEditor\_RenderCore  
UnrealEditor\_Core  
UnrealEditor\_Core  
kernel32  
ntdll

---

<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, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/482 "2024-11-15T14:47:34Z")

</div>

Hi,  
Thanks for reporting.

Sorry but I could not repro in the incoming 5.5.1. By creating the shader itself with substrate enable or even after conversion. Maybe there is another case failing I have not encountered. Hard to tell without a project or material.  
Or it got fixed when I fixed the shading model issues reported above (missing some data and missing unlit ID/Color, that is fixed now).

---

<div class="post-metadata">

**Author:** ![Ibtesam\_Sadiq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ibtesam\_Sadiq](https://forums.unrealengine.com/u/Ibtesam_Sadiq)\
**Post date:** [November 15, 2024, 3:42pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/483 "2024-11-15T15:42:47Z")

</div>

> (missing some data and missing unlit ID/Color, that is fixed now)

I wanted to check if these issue were fixed on not when I encountered the crash. to be clear these are fixed in 5.5.1 and not in 5.5.0. right?  
and also let me know if base color related to hair shading model is also fixed or not because when i checked in in 5.5.0. I can still see black color covering the actual base color of hair shading model when I use scene texture(Base Color - Gbuffer ID)

---

<div class="post-metadata">

**Author:** ![Twads9816](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twads9816/32/1049194_2.png) [@Twads9816](https://forums.unrealengine.com/u/Twads9816)\
**Post date:** [November 15, 2024, 8:58pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/484 "2024-11-15T20:58:00Z")

</div>

I should have linked this in my original post but this is related to a [previous post](https://forums.unrealengine.com/t/should-unlit-transparent-substrate-materials-use-coverage-weight/2121550) I made asking whether transparent unlit substrate materials should use coverage weight for their opacity. It sounds like the answer is yes.  
There are a couple things that cause confusion about this that might be worth revising. First, as I mention in that post, the Substrate documentation says:

> Substrate Operators do not work with all [Substrate BSDFs](https://dev.epicgames.com/documentation/en-us/unreal-engine/overview-of-substrate-materials-in-unreal-engine#substratebsdfnodes). Only **Substrate Slab BSDF** and **Substrate Simple Clear Coat** can use these Operator nodes.

This made me assume that unlit materials are supposed to achieve transparency through their transmission rather than use the Coverage Weight Operator. Does this note not apply to Coverage Weight?  
Second, the built-in Substrate UE4 Unlit Shading material function under Substrate Building Blocks has an Opacity pin, but does not use Coverage Weight.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/9/309b4638f764f4ac8e9730b8fc9651a958935a95.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/2/082cae737adbf343f0edb0cdeda9195947c89a68.png)  
It sounds like this is incorrect.  
Thanks for your time.

---

<div class="post-metadata">

**Author:** ![CraigWithoutList](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CraigWithoutList](https://forums.unrealengine.com/u/CraigWithoutList)\
**Post date:** [November 16, 2024, 10:11pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/485 "2024-11-16T22:11:58Z")

</div>

> [@MRQ continuos compile with substrate](https://forums.unrealengine.com/t/mrq-continuos-compile-with-substrate/1879215/3):
>
> Can confirm I am now getting this issue, running v5.4.4

Is there a fix for continuous recompiling with MRQ when Substrate is enabled in 5.4.4? I’ve seen the errors listed in thread linked here.

---

<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, 2024, 11:33am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/486 "2024-11-18T11:33:41Z")

</div>

Hi,  
Answers to the last posts:

- hair shading model is showing material data in the gbuffer on latest 5.5.1 for me. So it should all work as far as I can see and could test. Groom/hair strands are not working yet, will be fixed when we get to it.
- Yes, Coverage node works with unlit now. This has probably been added after that first documentation got set up. Substrate is still evolving (Beta in 5.5) and documentation will get updates when we get our heads out of the water.
- I added a note to see if we can reproduce that bug with MRQ and fix it. Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![Armines53](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Armines53](https://forums.unrealengine.com/u/Armines53)\
**Post date:** [November 18, 2024, 4:06pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/487 "2024-11-18T16:06:48Z")

</div>

> [@Water material is not working corretly after enabling substrate materials](https://forums.unrealengine.com/t/water-material-is-not-working-corretly-after-enabling-substrate-materials/2133130):
>
> (substrate material disabled) (substrate material enabled) Enabling substrate materials ruins water completely, is this supposed to happen?

---

<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, 2024, 8:16pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/488 "2024-11-18T20:16:43Z")

</div>

I have never seen that before. Without more details to reproduce: I do not know more.

---

<div class="post-metadata">

**Author:** ![0xsb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0xsb](https://forums.unrealengine.com/u/0xsb)\
**Post date:** [November 19, 2024, 12:06am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/489 "2024-11-19T00:06:00Z")

</div>

Seems like the MRQ recompiling issue happens only when both Substrate and the Metahuman Plugin are enabled.

---

<div class="post-metadata">

**Author:** ![Armines53](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Armines53](https://forums.unrealengine.com/u/Armines53)\
**Post date:** [November 19, 2024, 12:31am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/490 "2024-11-19T00:31:27Z")

</div>

Its probably started to happen when i swiched to 5.4 from 5.3. Even in the new projects its like this. When i enable substrate material, water changes.

---

<div class="post-metadata">

**Author:** ![qubitVicks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qubitVicks](https://forums.unrealengine.com/u/qubitVicks)\
**Post date:** [November 19, 2024, 10:29am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/491 "2024-11-19T10:29:45Z")

</div>

Hi, I had originally posted this in the MegaLights feedback thread and they advised me to drop it in here instead. In a nutshell, been experimenting with 5.5 and if I have Substrate enabled and then enable MegaLights I get a consistent crash mentioning SubstrateGlobalUniformParameters != nullptr || !IsSubstrateEnabled(). If I disable MegaLights again the level works as expected.  
(full error is in in the link below)

> [@MegaLights feedback thread](https://forums.unrealengine.com/t/megalights-feedback-thread/2051575/118):
>
> Keep in mind that SWRT path has pretty bad quality at this point, this is why we have hidden it behind r.MegaLights.SoftwareRayTracing.Allow. Yes, that’s something we will have to tackle at some point. Unfortunately most ray tracing bits are either inside hardware or driver, so proper solutions take a long time. For now we could bake a better RT proxy indeed. It’s fixed in UE5-Main, but didn’t make it to 5.5. If this is with Substrate enabled, then you should post in the Substrate thread…

---

<div class="post-metadata">

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

</div>

Okay i fixed it, somehow water materials pins were wrong.

---

<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 19, 2024, 6:59pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/493 "2024-11-19T18:59:31Z")

</div>

Hello,  
Substrate support for MegaLight is minimal in 5.5 unfortunately. We currently have substrate running with MegaLight in the Main branch (for 5.6) and used for projects. So I believe this crash does not happen anymore.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Twads9816](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twads9816/32/1049194_2.png) [@Twads9816](https://forums.unrealengine.com/u/Twads9816)\
**Post date:** [November 20, 2024, 7:44pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/494 "2024-11-20T19:44:29Z")

</div>

Do unlit materials simply ignore the transmittance color when the blend mode is additive?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/b/8bbf39cff3533d455517ba7f840c613ef20c400b.jpeg)

Also, does Responsive AA do anything in a Substrate material?

---

<div class="post-metadata">

**Author:** ![stamisme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stamisme](https://forums.unrealengine.com/u/stamisme)\
**Post date:** [November 21, 2024, 5:55pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/495 "2024-11-21T17:55:45Z")

</div>

question, is there ever going to be SSS + Opacity (combined) support in substrate or is it better for me to start working on my own implementation of that?

---

<div class="post-metadata">

**Author:** ![0xsb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0xsb](https://forums.unrealengine.com/u/0xsb)\
**Post date:** [November 25, 2024, 6:15pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/496 "2024-11-25T18:15:47Z")

</div>

Hey @SebHillaire, any luck reproducing the MRQ bug? I’ve been able to consistently repro on multiply machines. If Substrate & the Metahuman plugin are both enabled, you should see the errors when rendering with MRQ.

a potential fix/hack for the recompiling shaders is to modify line 165 of SlateElementPixelShader:

`#if SUBSTRATE_ENABLED && defined(GetFrontSubstrateHeader)`

This seems to be working for me so far, but I’m not totally confident this is safe. It would be great to get your thoughts. 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 26, 2024, 7:48am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/497 "2024-11-26T07:48:00Z")

</div>

Hello, a few answers:

@Twads9816 Additive explicitly says it will add the luminance contribution. So there is no need for transmittance. Transmittance is only considered for some blend modes. Please checkout the [documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/overview-of-substrate-materials-in-unreal-engine#substrateblendmodes).

@stamisme If you mean large MFP resulting in translucency effect or just SSS on translucent then this is something we want to tackle but not short/mid term. So I guess you can start your own implementation.

@0xsb We are busy and the fix will be made when we get to it. No ETA. Yes that is a good workaround, but we need to understand why that other value happens to not be defined when it should be. Thanks for those extra details, it will be helpful!

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

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