SkillAgentSearch skills...

GodotRuntimeTextureSplatMapPainting

Texture and Splat Map painting in-game for Godot Engine (also World Vector3 to UV mapping)

Install / Use

/learn @alfredbaudisch/GodotRuntimeTextureSplatMapPainting
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Godot Engine In-game Splat Map Texture Painting (Dirt Removal Effect)

Texture and Splat Map painting in-game for Godot Engine (also World Vector3 to UV mapping).

  • Tutorial and details: https://alfredbaudisch.com/blog/gamedev/godot-engine/godot-engine-in-game-splat-map-texture-painting-dirt-removal-effect/
  • Play instructions: you can walk in the world with WASD and to paint click and drag with the left mouse button

https://user-images.githubusercontent.com/248383/181904593-a44b1326-94f2-4937-882b-82cefa869cbf.mp4

Resulted splat map from the video above:

image

Usages

<ul><li>Actual painting something in game</li><li>Terrain and mesh deformation</li><li>Anything else you can imagine by blending textures. Because it's just a matter of interpolating the painted textures with anything else with shaders (sample shader included here).</li></ul>

Features

<ul><li>World Vector3 to UV mapping methods</li><li>Any kind of brush</li><li>Multiple brushes</li><li>Multiple splat maps and multiple textures blended</li><li>Mesh can be anywhere in the world and can be rotated</li></ul>

Alternative Solution

My other implementation uses Vertex Painting in order to get the alpha value of texture interpolations. It's simpler, but less flexible and can produce rough results:

Credits

Tips and Support

You can support the development of my open-source contributions and this project on Patreon, a PayPal donation or buy me a coffee with Ko-fi. Or of course, you can get my Godot UI Masterclass Course and learn how to make data-driven and responsive user interfaces with Godot from scratch (the final result is open-source).

Patrons

  • Mike King

Updates

For news and more code and art experiments and prototypes:

View on GitHub
GitHub Stars53
CategoryDevelopment
Updated2mo ago
Forks4

Languages

GDScript

Security Score

85/100

Audited on Jan 24, 2026

No findings