r/ClaudeAI • u/Delicious-Shower8401 • 7h ago
Other I Built a Workflow That Turns Photos Into AAA-Quality Foliage for Unity. Full Guide and Costs.
I wanted to make custom grass and flowers for my indie games that I could paint straight onto the terrain in Unity. The goal was to set the art style once, then give Fable a photo whenever I needed a new plant.
What I Used
- Claude Fable 5.2 via Hermes to build the workflow, set up the Unity scene, and run tests
- Nano Banana Pro for plant references and ground textures
- Meshy AI (Smart Low Poly, 2.5T) to generate low-poly 3D plant parts from reference images via the API
- Blender for mesh cleanup and texture baking
- Unity 6 with URP for terrain, wind, and lighting
What I Ended Up With
- A reusable workflow. I can take the same setup from one Unity project to the next and build a fresh foliage pack each time.
- Full control over the look. I can pick exactly what grows in the scene and give it whatever art style fits the game.
- Low image-generation costs. The images cost me less than the foliage packs I was looking at.
What Gives the Foliage Its AAA Quality
- Lightweight grass. Each blade is just 18 triangles and bends in the wind.
- Solid 3D geometry. Every blade and petal has thickness.
- Three levels of detail. The tulip uses 500 triangles up close, 250 at mid-range, and 100 at a distance.
- Materials that react to light and wind. Normal maps add surface detail, transmission maps control how much sunlight comes through leaves and petals, and wind masks control which parts bend and how much.
- A shared texture atlas. Several flowers share one atlas, so there are fewer separate textures to load.
How I worked with Fable
I started by asking it to look up how AAA games handle foliage, especially how they keep plants looking good up close while making them cheaper to render at a distance. Then I picked a style, made a few references in Nano Banana Pro, and gave them to the agent.
The most useful thing I asked for was a small test scene in Unity. We started with one flower and worked up to 18 plant models. I could look at each plant from different angles and give feedback in plain English. If the petals looked flat from the side, I’d ask Fable to give them more volume and check the next version in the same scene.
Fable generated textures and built some of the geometry itself. It used the Meshy AI API for a few untextured low-poly parts, then cleaned up the meshes and baked textures for several flowers into a shared atlas in Blender.
It also built the lower-detail meshes and set up the materials. The tulip uses 500 triangles up close, 250 at mid-range, and 100 at a distance. Each grass blade is 18 triangles and bends in the wind. The materials use normal maps for surface detail, transmission maps for sunlight through leaves and petals, and wind masks to control which parts bend.
The one-photo test
Once I was happy with the lineup, I asked Fable to turn those steps into a reusable workflow. With the style already set, I gave it an ordinary photo of a daffodil and let it run. It built the plant without me walking it through the steps again, and the first pass looked good enough to use. That was the part that surprised me.
Time and cost
- About 8 hours of agent time at Extra High effort, spread across two 5-hour usage windows on Claude Max.
- $8 in generation costs. I spent $4 on 1K images and $4 on untextured 3D plant parts.
This is Part 1. I’ll keep working on the project and sharing what I learn. If I skipped a step you’re curious about, let me know in the comments. I’ll answer there or break it down in the next post.
