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

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

</div>

Thanks so much for your response!

---

<div class="post-metadata">

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

</div>

Hello Team,

How far substrate is performant ? Is it same as legacy shaders ? The instruction set count ?  
I mean with pure substrate material without layer in legacy shaders.

Thanks in advance.

---

<div class="post-metadata">

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

</div>

Pure substrate material without layer? What does that mean?

How performant substrate is depends on, well, what you want to do with it. If you’re sticking to a single layer and the legacy featureset, performance seems a bit worse than the legacy model for now (like for like content), at least in my testing. That said, unless you have a need to make use of the more advanced effects substrate offers, there’s no good reason to upgrade.

---

<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:** [December 2, 2024, 8:07am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/501 "2024-12-02T08:07:34Z")

</div>

Hi,  
Answering with a few points to clarify that:

- All the legacy shading models should roughly have the same base pass / lighting cost.
- Use the Substrate _material properties_ or _classification complexity_ tools to get that knowledge (tile complexity and legacy material identification)
- All passes are tiled now so some parts are faster
- More features supported, deferred decals enforced: nothing is free. **Substrate might end up having a small overhead in the end (time will tell). But we also need to move forward and extend visual possibility for artistic freedom.**
- We still are working on performance optimization in order to we reach production ready state.
- Then, the more feature you use on a slab, the more expensive it will be. In short, the lighting cost will also increase with the number of slabs for a pixel (two slabs: cost x2). Contered on lower end devices by forcing full simplification to a single slab (configurable per project).

I already added a note previously to have those details in the documentation.

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [December 2, 2024, 5:04pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/502 "2024-12-02T17:04:18Z")

</div>

> [@SebHillaire](#):
>
> But we also need to move forward and extend visual possibility for artistic freedom.

What’s next on the docket for substrate in terms of new artistic features? I remember in the SIGGRAPH presentation that a lot of possibilities were offered but I don’t know what’s actually planned for the near future.

---

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [December 3, 2024, 6:47am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/503 "2024-12-03T06:47:36Z")

</div>

I’ve been using Substrate for a while now relatively bug free, but I can’t seem to follow Ben Cloward’s tutorial about water caustic decals (while using my best substrate interpretation) without running into a crash. Using SceneTexture:WorldNormal consistently causes me to crash. Is there something I’m missing?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/e/17e1c3f097f86f9619e5301ce98e0c35c8cda3d8.jpeg)  
(As soon as I plug in those masks running off from WorldNormal into the two lerp nodes, it causes the editor to crash)

https://www.youtube.com/embed/9z6EMsoqLDY?feature=oembed&wmode=opaque&list=PL78XDi0TS4lHBWhZJNOrslnkFWHwE67ak

```auto
LoginId:2af0452a4e683c9b15e8399b5c587166
EpicAccountId:e4435b781145438fbf7f5357319f4c63

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RHICore\Public\RHICoreShader.h] [Line: 147] Uniform buffer bound to slot 2 is not what the shader expected: Bound : Uniform Buffer[Material] with Hash[0x00a00c00] Expected : Uniform Buffer[Strata] with Hash[0x09700811] Shader Name : <unknown> Layout CB Size : 160 Layout Num Resources : 8 Resource Types : 5 8 5 8 5 8 8 8

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_Renderer
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
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:** [December 3, 2024, 7:42am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/504 "2024-12-03T07:42:40Z")

</div>

@jblackwell Near future, the focus is production readiness and make it more performant with all our tech, e.g. Megalight & Lumen. More feature dev will only happen after that as a function of needs/requests.

@SgtFlexxx Thanks for reporting! Added a bug to try to repro and fix.

---

<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:** [December 3, 2024, 12:36pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/505 "2024-12-03T12:36:52Z")

</div>

What version are you on @SgtFlexxx ? It works on latest 5.5 for me. It rings a bell that we fixed this problem before. So I suggest you get latest version otherwise I would need better repro steps if that is in 5.5.1.

---

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [December 4, 2024, 12:00am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/506 "2024-12-04T00:00:50Z")

</div>

This was on 5.3. I’ll attempt to upgrade and see if the issue persists or not.

---

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [December 4, 2024, 7:09am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/507 "2024-12-04T07:09:24Z")

</div>

Alright upgraded to 5.5 and thankfully the issue seems to be gone now.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/6/02656cd2c035436588df6abf6d61b199f54e9e3f.png)

---

<div class="post-metadata">

**Author:** ![Madeira3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madeira3d/32/902998_2.png) [@Madeira3d](https://forums.unrealengine.com/u/Madeira3d)\
**Post date:** [December 8, 2024, 1:34am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/508 "2024-12-08T01:34:14Z")

</div>

Hi,

I just started experimenting with Substrate and created a glass material, applying a simple glass and an opaque material. However, I noticed a significant difference in how things look in Lit mode versus Path Tracer.

My base material (M\_MyBase) is a dark grey, and Lit mode seems to render it more accurately. Could you clarify why the results differ so much between the two modes?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/d/30db8c8c83f8e2f2188a6a7fd7b772c22cb39f42.jpeg)c  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/6/d76268ab94381e4d3ccd944c1af06b3480bab8d5.jpeg)

BTW: If I change Translucency to Raytracing I get this… nasty results

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/f/5af73f88851db0644d7a73891adccda361e14e97.jpeg)

---

<div class="post-metadata">

**Author:** ![Kidt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kidt/32/639186_2.png) [@Kidt](https://forums.unrealengine.com/u/Kidt)\
**Post date:** [December 8, 2024, 10:49am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/509 "2024-12-08T10:49:23Z")

</div>

@SebHillaire With Substrate enabled UE keeps recompiling shaders on every (sub)frame when rendering with MRQ.

```auto
LogShaderCompilers: Warning: Failed to compile Material /Engine/Transient.Footage CaptureData Material for platform PCD3D_SM6, Default Material will be used in game.
  /Engine/Private/SlateElementPixelShader.usf:168:58: error: no member named 'GetFrontSubstrateHeader' in 'FMaterialPixelParameters'
            FSubstratePixelHeader SubstratePixelHeader = Parameters.GetFrontSubstrateHeader();
                                                         ~~~~~~~~~~ ^
  /Engine/Private/SlateElementPixelShader.usf:169:50: error: no member named 'SubstrateTree' in 'FSubstratePixelHeader'
            FSubstrateBSDF UnlitBSDF = SubstratePixelHeader.SubstrateTree.BSDFs[0];

```

So yeah, basically what the title says. Usually this problem can be resolved by fixing a “bad” material but this time the issue is related to Substrate. Once I turn it off in the project settings, all the scenes will render fine.

It will even occur in a completely empty map which is super strange.

Any tips? I couldn’t find anything on Discord, Reddit or UE forums.

---

<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:** [December 9, 2024, 7:13am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/510 "2024-12-09T07:13:37Z")

</div>

Thank you for the reproductin steps. It helped me to reproduce the issue locally. Indeed, there was an issue with the SSS surface and hit lighting (this was the missing part on my side). The issue should now be fixed on our mainline (UE5Main CL 38565780 / GitHub: [https://github.com/EpicGames/UnrealEngine/commit/eb39ae87861ac542403bafb87f56076a0b0efb37](https://github.com/EpicGames/UnrealEngine/commit/eb39ae87861ac542403bafb87f56076a0b0efb37)) and will be available on 5.6.

Cheers,

/Charles.

---

<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:** [December 9, 2024, 12:38pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/511 "2024-12-09T12:38:28Z")

</div>

Hi @Madeira3d ,  
Yes the path tracer is not accounting for scattering in a slab in 5.5 and before. So if diffuse\>0 with a MFP making it look translucent, it can look different.  
A basic support is added for 5.6/main branch (non view dependent scattering). We hope to have it fully implemented for 5.6.

---

<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:** [December 9, 2024, 12:40pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/512 "2024-12-09T12:40:53Z")

</div>

Hi @Kidt ,

Yes, I have seen that reported a few times recently, and I have tried to reproduced but never succeeded. So it is unclear what is causing that yet, even after reviewing the code.  
Would it be possible for you to share a small project for me to investigate further?

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [December 9, 2024, 1:34pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/513 "2024-12-09T13:34:11Z")

</div>

Hi @SebHillaire !

Just a ‘side’ issue, but as you are so active in the forum (thank you so much!) I would tell you a little problem. Maybe you know or can do something (as reporting it):

I know Main branch is not thought to work perfectly, but it’s giving me some packaging errors, while I can successfully package in 5.5. I have already installed MSVC 14.36, 14.38 and made all kind of combinations, but nothing (using Project Launcher as Shipping in an empty new project):

 ![Captura](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/1/5d149e6e15213d9e7f446ad0c5f35ace36d585e8.png)

Would you know something about this? or, if you usually make package tests, could you warn us when you notice a packageable state of the Main branch?

Thank you very much and apologizes for the offtopic question.

---

<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:** [December 9, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/514 "2024-12-09T15:08:32Z")

</div>

Hi,  
Sorry but you should ask in another forum section like [Getting Started and Setup](https://forums.unrealengine.com/tags/c/development-discussion/getting-started/150/unreal-engine).  
Maybe making a post similar to [this one](https://forums.unrealengine.com/t/unrealbuildtool-has-banned-the-msvc-toolchain/556715) there would help you more (maybe that one thread is the answer too).

---

<div class="post-metadata">

**Author:** ![APOCRS1980](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/apocrs1980/32/1002276_2.png) [@APOCRS1980](https://forums.unrealengine.com/u/APOCRS1980)\
**Post date:** [December 10, 2024, 6:31am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/515 "2024-12-10T06:31:46Z")

</div>

This may have already been reported, but I found out what is causing Substrate to crash UE 5.5 with the ( GPU crashed 3d3 or D3D device removed) error.

Apparently when I imported some of the CC4 materials into the project two of them once converted to Substrate had pins in the world position offset slot.

This is what has been causing it.  
Once unpinned and saved, no more crashes.

---

<div class="post-metadata">

**Author:** ![Kidt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kidt/32/639186_2.png) [@Kidt](https://forums.unrealengine.com/u/Kidt)\
**Post date:** [December 12, 2024, 2:23am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/516 "2024-12-12T02:23:01Z")

</div>

Thanks for the reply. We’re currently trying to reproduce the error inside another project. A colleague of mine has the same issue in a different project, so we started comparing our imported asset (packs): Automotive Materials, Metahumans or Megascans. Maybe one of those could be the culprit.

I’ll definitely share a workbench project with you once I’ve successfully reproduced the error. It’s driving us all completely insane.

---

<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:** [December 12, 2024, 7:26am UTC](https://forums.unrealengine.com/t/substrate-feedback-thread/691314/517 "2024-12-12T07:26:09Z")

</div>

@Kidt Thanks for trying! Maybe try disabling metahuman. Someone fixed it with that. But I could not reproduce after enabling it so it must be somethings specific.

@APOCRS1980 Thanks! we will try reproducing with that. But would be good to get more details:

- image of the material before/after substrate conversion would be helpful.
- Also the version of the engine. Always try latest, we have fixed some issues with conversion in the latest 5.5.

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

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