Game Dev15 October 2026

Physics-based tiling material tool for Blender

A write-up of how I made a tool that allows using physics on meshes to create tileable materials.

Checkerboard of the colour (mixed with AO) and normal maps created with physics-simulated meshes
Checkerboard of the colour (mixed with AO) and normal maps created with physics-simulated meshes

I wanted to skip the process of making tileable materials in Adobe Substance Designer that needed to look like physics-simulated 3D meshes as I often have a mesh available, could create one faster than a material, or I needed the precise control of 3D geometry that Substance Designer wasn't giving to me, even with its mesh generators. So I created a Blender extension designed to procedurally generate seamless, physically accurate tileable texture maps from an arbitrary collection of user-provided meshes. The tool addresses the challenges of creating realistic environmental clutter such as gravel, debris, or foliage that looks believable and tiles seamlessly.

Core Functionality

The extension automates the entire pipeline by taking user input on a collection of meshes and letting the user decide on how much density they want then it handles the physics in a manner that is performant. If the user is satisfied with the physics, they are one button away from baking all of their selected maps and all of this is done directly in the Blender UI panel. The tool first scatters a configured number of instances into a central tile area and then simulates these instances dropping under gravity, allowing them to collide, tumble, and settle upon a generated ground plane. An option is provided to the user for Full Coverage (no visible ground plane) which, if selected, uses a less accurate configuration as the imperfections are hidden by the properly simulated instances on top. This ensures that the resulting pile is genuinely believable and performant, and less likely to appear as static random placement or crash the user's Blender.

The tool then takes the final, settled arrangement of the meshes and recreates the necessary neighbouring copies (creating a 3 by 3 grid of copies). This ensures that the final output (which is baked from an orthographic camera pointing at the centre cell) tiles seamlessly.

Below are screenshots of the tool (from its first MVP which did not have the option for "Full coverage"). The 2 by 2 in 2D shows the normal map and the base colour tiling seamlessly (note the base colour has the AO applied for demonstration as the actual base colour is unlit as expected). The second screenshot is from within Blender showing the base colour, AO, and normal maps properly applied on a plane which has 2 array modifiers to make it 2 by 2.Colour, AO, normal in 2D placed in 2x2Colour, AO, normal applied on 2x2 3D planes

This screenshot is from the next major stage in development which enabled the tool to be capable of handling a higher density through the aforementioned "Full coverage" option.

Baked Full Coverage maps applied on 2x2 plane

Architecture

The tool is built using Blender's Python API and the workflow is handled by the user in the Blender interface. Architecturally, the system is modular, segregating concerns into distinct modules for user interaction, scattering, simulation, and baking. Cleanup functionality tracks all generated scene data (prefixed to avoid conflict) so that the source user collection and scene state are fully restored regardless of process completion or failure.

Installation & Usage

The tool is currently unavailable. This page will be updated as soon as it is released to the public.

Installing the tool

Follow these instructions to install and use the tool. Click here to download the tool.

1. Download the extension's .zip file from the Releases page on Codeberg or clone the source with Git.

2. Open Blender and drag the .zip to the viewport or install in Edit → Preferences → Get Extensions.

3. Create a Collection with your desired meshes (materials applied). You only need 1 of each mesh, the tool will instance them.

4. Click on the right viewport sidebar where it says "Tileable Physics" to open the tool's interface.

Using the tool

Sword 3D model

First, create the 3D models that you want to simulate, I have just modelled and textured one simple sword for demonstrating the tool but you can create more than one object.

Tileable Physics extension panel

Put your meshes in a collection and tune the options in the Tileable Physics menu. I added a ground material from AmbientCG, reduced the simulation frames, and modified the spawn rotation values.

Sword models placed with physics simulation with tiling

Click "Simulate Tile" as many times as desired with different seed values to get your desired pattern then click "Bake Texture". Your computer will need a moment to render out all of the texture maps. When it is done, click "Clean Generated" to reset your Blender scene.

Baked textures applied in 2 by 2 planes with lighting

The material is now ready to be used, here I have it applied on a plane with 2 array modifiers (to create a 2 by 2) with some lights. I was going for a material that captured the aftermath of a medieval battle with swords of fallen knights laying on the ground as you can see in the screenshot. One could upgrade this scene by adding 3D models of debris, decals, etc but the extension that I have created is a great foundation to start from.

Future Improvements

Will be updated soon

***