# Get GBuffer Information

**URL:** <https://forums.unrealengine.com/t/get-gbuffer-information/407403>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 19, 2017, 2:37pm UTC](https://forums.unrealengine.com/t/get-gbuffer-information/407403 "2017-10-19T14:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Joachim.L](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joachim.L](https://forums.unrealengine.com/u/Joachim.L)\
**Post date:** [July 12, 2024, 8:11am UTC](https://forums.unrealengine.com/t/get-gbuffer-information/407403/3 "2024-07-12T08:11:33Z")

</div>

Hello There!  
I know that this is an old thread but…

In UE5.3, I defined a custom material node to fetch the underlying BaseColor from a Transluency Material:

```auto
FGBufferData GBData = GetGBufferData(UV, false);
return GBData.BaseColor;

```

when I connect the node, UE5.3 crash hard:

```auto
[2024-07-12T07:56:35.031Z]LogOutputDevice: Error: Ensure condition failed: ShaderTableHash == 0 || UniformBufferHash == ShaderTableHash [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Commands.cpp] [Line: 77] 
[2024-07-12T07:56:35.031Z]LogOutputDevice: Error: Invalid uniform buffer FOpaqueBasePassUniformParameters bound on PixelShader at index 2.
[2024-07-12T07:56:35.031Z]LogStats: FDebug::EnsureFailed - 0.000 s
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[FOpaqueBasePassUniformParameters] with Hash[0x09880f28]
	Expected : Uniform Buffer[SceneTexturesStruct] with Hash[0x09700e08]
	Shader Name : <unknown>
	Layout CB Size : 2432
	Layout Num Resources : 49
	Resource Types : 9 8 5 8 16 16 16 16 9 8 5 8 16 16 16 16 9 8 5 8 5 8 5 8 5 8 5 8 9 8 5 8 9 8 13 13 9 9 9 9 9 9 9 8 8 8 5 8 16

```

Also tested:

```auto
FScreenSpaceData ScreenSpaceData = GetScreenSpaceData(UV, false);
return ScreenSpaceData.GBuffer.BaseColor;

```

with exact same results…

Of course, I have no idea what does this mean 🙂  
Any idea someone?

---

_[View the full topic](https://forums.unrealengine.com/t/get-gbuffer-information/407403)._
