Skip to content

Loading splash and textures

For creators

You style the splash your scene loads behind: its title, its colours, a picture, and PRESS TO START when everything is in. Then you make the scene’s textures take a fraction of the memory.

▶ Open the circuit racer arcade to see a splash with a cover picture. A click, a tap, any key or any controller button starts the game once it says PRESS TO START.

Every scene opens behind a splash, whether a player opens its link or you press Play in Blender. It shows the scene’s title and a bar of the scene being built, then PRESS TO START when everything is ready. The world loads underneath. From PRESS TO START until the press, the world is paused, so a race or a horde does not start without you. The press is also what lets a phone or a Safari browser start the sound.

All the splash’s settings are scene tags: Scene Properties ▸ Custom Properties, type String.

  1. Add loading.title with your scene’s name as players should see it, and loading.subtitle with a line under it. Without them, the splash uses the scene’s own title.

  2. Add colours as web colours, such as #0a0d13: loading.bg for the page, loading.fg for the text and loading.accent for the bar.

  3. For a picture, add loading.image with an image’s web address: it shows above the title. For a picture that fills the screen behind the title, use loading.cover instead. From add-on 2.2.0 the value can also be an image file on your computer, such as splash.png beside your .blend: Build copies it into the cartridge. A file shows in the built cartridge, not in Play.

  4. Press Play in the 3D View’s header. The splash comes up in your scene’s colours, fills its bar, and says PRESS TO START.

Play shows the splash for the first scene it sends, not again each time you change something in Blender.

Tag Values What it does
loading.title text The headline (default: the scene’s title, else its name)
loading.subtitle text A line under the headline
loading.image an image address, or an image file on your computer A picture above the title
loading.cover an image address, or an image file on your computer A picture filling the screen behind the title
loading.bg · loading.fg · loading.accent web colours The page, the text and the bar
loading.press 0 No PRESS TO START: the splash lifts by itself when everything is in
loading.off 1 No splash at all

Add ?splash=0 to any scene’s address to open it without the splash (URL parameters).

Textures are what fill a graphics card’s memory. Build Cartridge can write every image your models use as a compressed texture (KTX2) that the viewer hands to the graphics card in its own compact format: a desktop’s, or a phone’s.

  1. Install KTX-Software 4.3 or newer from its makers. The add-on finds its toktx tool on your PATH or where the installer puts it.

  2. Save your scene and press Build in the 3D View’s header.

  3. When the build is done, the status bar reads Built, with the cartridge’s size. Without KTX-Software, the build keeps the PNG images.

In one large scene with 77 texture atlases of 4096 × 4096 pixels, the textures took 2,890 MB of graphics memory as PNG images and 441 MB as KTX2. Side by side, the two look the same. The files are a little larger to download (55 MB became 70 MB).

  • Colour images (base colour, emissive, specular colour) are encoded as colour. Normal, metal-roughness and occlusion maps are encoded as data, the way the model uses them. An image used both ways stays a PNG.
  • Each image is encoded once. The add-on keeps a cache on your computer by the image’s contents, so a rebuild, or another scene with the same image, encodes nothing new. The first time takes a while: those 77 atlases took about 5 minutes.

The splash waits for everything the scene needs before PRESS TO START. Vehicles are built and everything a crash can show is prepared while it loads: the dented bodies, puddles and every particle effect. The first crash in a scene no longer freezes the picture for a moment.

For more on keeping scenes quick to open, see fast loading.