---
id: "view-projected-texture-painting"
title: "View-projected AI texture painting"
aliases: [trompe, blockout texturing]
domain: "genai"
stage: "generation"
realtime: "offline"
platforms: [webgl2, webgpu, python]
year_introduced: 2026
inputs: [mesh, text-prompt]
outputs: [texture, uv-atlas]
style: "photoreal"
dynamic: "static"
cost: "offline"
authority: "patch-gg, 2026"
url: "https://texelatlas.vercel.app/t/view-projected-texture-painting/"
sources_verified_at: "2026-11-29"
---
# View-projected AI texture painting (patch-gg, 2026)

> Textures a whole level from grey geometry by planning cameras where a player can stand, having an image model paint each view, projecting the paintings back onto the mesh and baking one texture atlas.

## Reach for it when

- need to texture a whole blockout level quickly
- large scene mesh is grey and needs realistic look
- paint environment from player-view camera positions
- project ai images back onto level geometry
- bake one atlas for a big scene from generated views

## How it works

A camera planner picks views covering the surfaces a player can see. For each view an image model paints the depth-conditioned grey render under a flat, overcast lighting prompt so the result approximates albedo. Each painting is projected onto the mesh with visibility tests and blended into a shared UV atlas, and the final atlas is baked so the engine lights it with real shadows. Trompe runs planning, projection and baking in the browser on the GPU and calls hosted image models; the potemkin3D extension adds view-aware atlas density, geometry checks and surface relief for close-up walkthroughs.

## When to use it

Choose it to dress an existing blockout level or large scene mesh quickly in a realistic style, viewed from a few metres or more. Prefer [SyncMVD](https://texelatlas.vercel.app/t/syncmvd.md), [Text2Tex](https://texelatlas.vercel.app/t/text2tex.md) or [Paint3D](https://texelatlas.vercel.app/t/paint3d.md) for single-object texturing, [Hunyuan3D-Paint](https://texelatlas.vercel.app/t/hunyuan3d-paint.md) for image-referenced single assets, and hand-authored tiling materials when the style must be stylised or close-up detail matters.

## Cost

offline — Per-view image-model calls dominate; the trompe README quotes cost per view and minutes per level, qualitative here.

## Failure modes

- One shared atlas for the level blurs texture at first-person ground distance
- Seams and colour shifts where different painted views meet
- Image model adds grime and uneven colour; stylised looks are hard to achieve
- Named objects in the prompt get painted onto walls
- Depends on hosted image-model APIs

## Dataflow

- Inputs: mesh, text-prompt
- Outputs: texture, uv-atlas
- Platforms: webgl2, webgpu, python

## Sources

1. [primary] patch-gg (2026) patch-gg/trompe. https://github.com/patch-gg/trompe License: Apache-2.0. (verified via github on 2026-11-29)
2. [implementation] wrong-nebula (2026) wrong-nebula/potemkin3D. https://github.com/wrong-nebula/potemkin3D License: Apache-2.0. (verified via github on 2026-11-29)

## Cite this entry

Texel. "View-projected AI texture painting." https://texelatlas.vercel.app/t/view-projected-texture-painting/ (accessed 2026-12-01).
