# Showing the Fallback Texture

**URL:** <https://forum.babylonjs.com/t/showing-the-fallback-texture/4105>\
**Category:** Questions\
**Created:** [June 25, 2019, 3:25pm UTC](https://forum.babylonjs.com/t/showing-the-fallback-texture/4105 "2019-06-25T15:25:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacquesr](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jacquesr](https://forum.babylonjs.com/u/jacquesr)\
**Post date:** [June 25, 2019, 3:25pm UTC](https://forum.babylonjs.com/t/showing-the-fallback-texture/4105/1 "2019-06-25T15:25:21Z")

</div>

Hi,

I saw that the engine has a fallback texture (the red-black checkerboard texture).

Like in this example, where I deliberately try to load a non existing texture.

[https://www.babylonjs-playground.com/#CZ9EMB](https://www.babylonjs-playground.com/#CZ9EMB)

Is there a way to assign this fallback texture to a material via the API on purpose? I want to show it in certain scenarios even when I am not trying to load a texture, but also if I am trying to create an invalid material.

We have a high level material description that must follow some rules and I want to unify the appearance of invalid materials in the scene.

Thus I was thinking using what is already available would be a good way to do it. However, I don’t want to cause it to perform an http request, so the approach in the playground is not really satisfying.

Kind Regards  
Jacques

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 25, 2019, 3:32pm UTC](https://forum.babylonjs.com/t/showing-the-fallback-texture/4105/2 "2019-06-25T15:32:03Z")

</div>

Here we are:  
[https://www.babylonjs-playground.com/#CZ9EMB#1](https://www.babylonjs-playground.com/#CZ9EMB#1)

---

<div class="post-metadata">

**Author:** ![jacquesr](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jacquesr](https://forum.babylonjs.com/u/jacquesr)\
**Post date:** [June 25, 2019, 3:58pm UTC](https://forum.babylonjs.com/t/showing-the-fallback-texture/4105/3 "2019-06-25T15:58:54Z")

</div>

Hi Deltakosh,

perfect, that was what I was looking for 🙂
