Sign in to follow this  

Showing the fallback Texture

Recommended Posts


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.


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.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.