ReMinecraftPE / mcpe

ReMinecraftPE - A custom experience based on Minecraft PE as of 2011.
https://discord.gg/UKGhuKNmFu
Other
335 stars 50 forks source link

Generate Missing Texture Texture #116

Closed TheBrokenRail closed 5 months ago

TheBrokenRail commented 8 months ago

This generates a proper "missing texture" texture when one fails to load.

IMO this is way better than everything just defaulting to black. (Seriously, if you don't have assets loaded, the entire title-screen will be 100% black and it isn't that clear what the error is.)

This will also stop ReMCPE from spamming the console with error messages when it can't find a texture. (This issue was caused by it trying to load the texture every frame, but now it will only try to load it once.)

Screenshot: Screenshot from 2024-01-23 22-18-53