Fixing Error x3004 in UE4 for Deferred Decal Materials (4.23)


In version 4.23 of Unreal Engine, you will most likely be presented with “/Engine/Generated/Material.ush(1964,56–152): error x3004: undeclared identifier ´TextureExternalSample_Decal`” if you try to sample a Media Texture in a Material configured for Deferred Decals with a Translucened Blend Mode.

To work around this issue, we’ve found, that configuring the Sampler Node to consider Mip Map Level Inputs and overriding the default Level with 0, the material compiles without any issues.

Originally published at on December 24, 2019.




Today’s impossible, will be tomorrow’s reality.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A pattern for overcoming non-determinism of Golang select statement

Understanding CSS Grid

More into Efficiency of loops in python

Docker:PHP/PDO + MySQL.. How to?

an abstract represesentation of data

Writing a filterable dropdown menu in elm


Drupal vs. WordPress: Comparing Enterprise CMS Platforms

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Today’s impossible, will be tomorrow’s reality.

More from Medium

The Nature of Reality

Life As A Transgender Deputy Sheriff

Blackberry Juice and Blood