Let me start with a controversial sentence:
My name is Martin. I use AI.
As of this point I guess that 50% of everyone ever watching this thread has abandoned it and 25% of those are actively trying to block me from ever releasing a game now.
Jokes aside.. yes. I have been using AI for a while. As I stated in my initial posting on this devlog I have been working on this game now for almost 1 1/2 years, mostly using placeholders and very simple colored primitives like circles, squares and so on.
When most basic stuff (see the brain post further above) was done I went ahead and created mostly simple sprites to be able to distinguish several things that before were harder to see. Debugging is a problem if you don’t know what you see - then again.. this was also the time I added a (dev version only) RPC server to the game to poll pretty much everything and to steer the game from the outside - giving me, much later, the ability to create videos..
The further development came along the more was the need there to distinguish items, entities and so on. At first I began to use sprites and textures available for free but, as most of us here know, a wild assembly of free stuff ends up being a mess. So around Easter I started using Pixellab to create sprites and textures for Roots to spend less time on searching for assets and making them work (tilemaps are a royal pita if you have different sizes of textures, look bad if you scale them and so on). Using this AI service gave me the chance to go from 50% of time spent on assets, 30% of time on coding and 20% of time on testing to basically 60% coding and 40% testing - giving overall development a major boost.
But here is the catch. While development got boosted and my prototype developed into a game way faster than I first thought I also had problems. Artifacts, inconsistencies etc.. not as glaring as in using a bunch of free assets but maybe even more obvious as a single frame in an animation showed a blue shadow or certain textures looked awfully wrong.
Now that my game is nearing the finish line I started phasing out AI generated sprites. With this post I can say that I removed about 80% of all generated content. I plan to finish this major task within a few weeks.
Anyway… now I want to talk about procedurally generating textures instead.
After getting rid of my pngs I didn’t want to spend hours on creating the perfect floor tile and thought about generating these textures in game. After all I already have a procedurally generated landscape - which, when looked at from a distance, is also nothing but a bitmap, with each tile representing a pixel if you want.
So I stepped back for a bit and created this simple function (example for meadows):
// procGrassTexture generates the meadow texture: patchy grass tufts (two
// noise octaves) plus many short blades that appear upright on screen
// (they run along the texture diagonal −x/−y). The result is grayscale;
// the green tint is applied later from the material color.
//
// seed selects the pattern, n is the texture edge length in texels
// (a multiple of procTexSize).
func procGrassTexture(seed uint64, n int) image.Gray {
// k scales feature sizes and counts so a larger texture keeps the same
// look instead of getting finer detail.
k := n / procTexSize
img := image.NewGray(image.Rect(0, 0, n, n))
// Base layer: tileable value noise, coarse octave (4·k cells, 60 %) mixed
// with a fine octave (16·k cells, 40 %; different seed so they don’t align).
for y := range n {
for x := range n {
nv := procValueNoise(seed, float64(x), float64(y), 4k, n)0.6 + procValueNoise(seed^0x9, float64(x), float64(y), 16k, n)*0.4
// Quantize to a few brightness steps (12 gray levels apart around
// mid-gray 128) — gives distinct patches instead of a smooth blur.
img.SetGray(x, y, color.Gray{Y: clampByte(128 + math.Round((nv-0.5)*3)*12)})
}
}
// Blades: deterministic RNG so the texture is identical every run.
rng := procRand{s: seed ^ 0x6a}
for range 220 * k * k { // blade count scales with area
x, y := rng.intn(n), rng.intn(n)
l := 2 + rng.intn(2) // blade length: 2–3 texels
// Dark root texel where the blade meets the ground.
img.SetGray(x, y, color.Gray{Y: 92})
// Blade body: step diagonally toward −x/−y, which projects to
// straight up in the isometric view; brighter toward the tip
// (152, 164, 176). Coordinates wrap so the texture stays tileable.
for k := 1; k <= l; k++ { // note: shadows the outer k (scale factor)
v := 140 + k*12
img.SetGray(procTexWrap(x-k, n), procTexWrap(y-k, n), color.Gray{Y: uint8(v)})
}
}
// Shared post-processing step for all procedural textures.
finishProcTexture(img)
return img
}
This code, and the variants for sand, snow etc, allow me to create, on the fly, nice looking textures with varying results.

Although I already used some procedural stuff to mask the textures (adding grass to meadows as overlaid texture) I wasn’t really happy about the checkerboard look. Now with this code I can create really nice effects stitching the terrain together organically. I have also added a “blend” feature to not have hard edges between different kinds of floors but to have sort of transitions.

Long story short:
AI is not a curse. It is also not a blessing. It is a tool to speed up development if you want it, but it is not a way to make everything perfect. To me, AI is like using Unity, Unreal or Godot - you can use tools to speed up parts of development but you cannot replace the craft behind it. And as long as you know how to handle your tools and not rely on them to do your work AI can be helpful.
Originally published on itch.io on 2026-11-08 — original post.