Orelon logoOrelon
Precios

Photorealistic 3D Flags: Texture Workflow for AI Video

17 oct 2026 · Por Orelon Team

Explora plantillas de video con IA

Echa un vistazo a algunas creaciones de la comunidad para inspirarte y abre cualquier plantilla para seguir creando en Orelon.

Learn how to paint flag textures, build albedo, roughness and normal maps, and turn them into convincing cloth motion with an AI video generator.

Why a flag is the most honest test of a material

A flag is the cheapest prop in the world to add to a shot and one of the most expensive to get right. It is large, thin, semi-transparent, lit from both sides, and usually placed in the foreground where the eye can study it. When the cloth is wrong, viewers rarely name the problem. They simply stop believing the shot: the fabric moves like cardboard, the surface reads as painted plastic, or the sun hits it and nothing glows through.

That combination makes flags an unusually good training ground. Everything you learn building one transfers directly to curtains, banners, sails, capes, veils, and product drape. Master the flag and you have mastered the hardest cheap prop in the frame.

This guide covers a complete pipeline. You paint the design in a layer-based editor such as Pixelmator Pro, convert that artwork into physically based maps, bake a backlit reference frame, and then hand the material to an AI video generator to produce cloth motion that holds up in a close-up. No full 3D suite is required, although one helps for validation.

Three failure modes to design against

Before opening any editor, decide what you are defending against. Unconvincing cloth fails in three recognisable ways.

Stiffness. The sheet moves as one rigid plane, or every fold travels at the same speed. Real fabric has mass. Heavy wool snaps slowly and settles; thin polyester whips at the fly end and flutters through the middle.

Plasticity. The surface is too smooth and too evenly glossy. Real cloth has weave, slubs, seams, dirt along the hem, and roughness that changes with how the fibres sit.

Dead light. Nothing passes through the fabric, so a backlit flag looks like a painted board. Translucency is the strongest single realism cue for cloth, and it is also the one most often skipped because it needs an extra mask.

Write those three on a sticky note. Every technique below exists to defeat one of them.

Design decisions that save hours later

Pick a real ratio and build to it exactly. 2:3, 1:2, 3:5, whatever the design calls for, but commit before you draw. The classic beginner error is working on an arbitrary canvas and discovering later that stripe widths no longer divide cleanly or that the canton sits a few percent off.

Set guides for the structural lines. Hoist band, canton, trim line, fly edge. Add three to five percent bleed outside the trim so folds near the edge never reveal empty pixels when the cloth bends.

Stay in vectors until the end. Flags are mostly flat colour fields and hard edges. Vector shapes let you resize, recolour, and recompose without resampling. Convert to pixels once, at the resolution the shot actually needs: roughly 2K per side for a flag filling a third of a 4K frame, 4K for a hero close-up.

Keep directional light out of the artwork. No gradients pretending the sun is top-left, no painted drop shadows from folds. Faint ambient darkening along stitched seams is acceptable because it belongs to the object rather than the scene. Everything else is the renderer's job or the video model's job.

Choose a colour space and label it. Author in sRGB. If the downstream pipeline expects linear values, convert once at export and write that convention into the filename. Mismatched colour space is the quiet cause of flags that look washed out or oddly saturated after generation.

Decide the shot before the texture. A wide shot needs believable silhouette and motion more than fine weave. A close-up needs weave, seam structure, and translucency. Building to the widest requirement wastes both time and resolution.

Painting fabric in a layer-based editor

This is where a flat graphic becomes a material. You are not painting a picture of cloth; you are painting statistics: the size, direction, and irregularity of fibres.

Match weave scale to the shot, not to reality

A two-metre flag in a wide shot might occupy 900 pixels. A cotton weave with threads around 0.3 mm would be invisible at that size, so painting individual threads is wasted effort and often produces moiré. Work in three bands of detail instead.

  • Micro weave: a tiled line or noise pattern at two to four pixels, applied at low opacity. It gives the surface something to catch when the camera moves closer.
  • Meso irregularity: soft blotches at 40 to 120 pixels, standing in for slubs, sizing, and uneven dye. This is what stops large colour fields from reading as flat vector fills.
  • Macro wear: grime along the hoist, fraying near the fly, faint fold creases. Place it where gravity and handling would naturally put it.

Material choice changes the recipe. Silk wants a fine, slightly glossy weave and smooth colour. Nylon and polyester want a tighter, more uniform weave with a faint sheen. Burlap and wool want visible threads, heavier meso variation, and a rougher silhouette.

Always review the texture at 100 percent zoom on the region the camera will actually see. Detail that looks beautiful on a full-canvas view often dissolves into grey mush at shot scale, and detail that looks subtle at shot scale is the detail that reads as fabric.

Make wear follow logic

The usual mistake is stacking several noise generators at full strength until the flag looks like television static. Distress should follow cause and effect: a flag left in weather abrades at the fly end first, fades on the sun-facing side, and collects grime along the bottom hem. Build a mask from those zones, then run your wear through it at 20 to 40 percent. The result reads as a used object rather than a dirty one.

Converting artwork into material maps

Physically based shading describes a surface with a handful of measurements rather than a single picture. Cloth needs four of them, and each has a strict rule about what may appear inside.

Albedo: colour only, no lighting

A good albedo map looks slightly flat and disappointing on its own. That is the point. Strip out anything that belongs to a light source. Keep values realistic: white fabric is almost never pure white, because it absorbs light and holds dirt, so real white cloth sits around 200 to 230 out of 255.

Flatten the artwork onto a single layer, apply a blur of half a pixel to one pixel to soften vector anti-aliasing, and export at 16-bit if the target engine accepts it.

Roughness: the map that does the heavy lifting

Roughness controls how tight the specular highlight is. Silk sits near 0.25, nylon near 0.4, cotton near 0.7, wool near 0.85. Do not fill the map with one grey. Build it in greyscale from your meso and macro masks so creases read slightly smoother, abraded areas read rougher, and stitched seams read rougher still, because thread is fuzzier than the field.

Keep the histogram mostly in the middle. A map that is 95 percent black or 95 percent white gives the shading model almost nothing to vary, and the surface looks synthetic even when the geometry is perfect.

Height and normal: the folding structure

Height encodes physical relief: weave bumps, seam ridges, hem thickness. A cheap way to derive it is to duplicate the weave layer, invert one copy, offset it by a couple of pixels, and subtract. Seams should be a raised line of three to six pixels, not a painted shadow.

Convert height to a normal map inside your editor or the 3D application, and keep the strength modest. Over-driven normals produce a glittery, cellophane surface that reads as a rendering error once it moves. If the flag only ever appears in a mid-shot, a normal map at 30 to 50 percent strength is plenty.

Thickness: the mask that unlocks everything else

Export one final black-and-white mask describing how much light passes through. Thin fabric is white; seams, hems, and reinforced corners are dark. This map is what makes the next section possible, and it is the map most often missing from downloaded material sets.

Name every file consistently so future you does not have to guess:

flag_albedo_4k.png
flag_roughness_4k.png
flag_normal_4k.png
flag_height_4k.png
flag_thickness_4k.png
flag_reference_backlit.jpg

Export PNG or 16-bit TIFF for maps, JPEG or PNG for stills, and include a contact sheet showing the flag flat, in three-quarter view, and backlit. That sheet pays for itself the first time you sit down to write a prompt and need a reminder of how the material behaves under different light.

Translucency: the realism switch

Backlighting is where cloth becomes convincing. When the sun sits behind a flag, thin areas glow with transmitted colour, seams stay dark, and the silhouette edge picks up a bright rim. Two practical routes get you there.

In a 3D renderer: feed the thickness mask into a subsurface or transmission input, tint it with albedo, and keep the scattering radius small. Cloth fibres scatter over a fraction of a millimetre, not centimetres.

In an AI video workflow: the model will not accept a transmission map, so bake the effect into a reference still. Produce two or three versions of the flag: one front-lit, one strongly backlit with visible glow through the field and dark seams, one side-lit at a low angle. Use the backlit version whenever the sun is behind the cloth in the shot you plan to generate. Models follow light logic they can see far more reliably than light logic described in text.

A dependable recipe for that backlit still: duplicate the albedo, multiply it by a warm tint, mask with the inverted thickness map, then composite with a screen blend at 60 to 80 percent. Place the brightest region near the middle of the field where the fabric is thinnest and let the hems stay close to black. If the glow looks too even, break it up with a soft gradient so one side of the flag catches more sun than the other.

From a still frame to moving cloth

Texture work only matters once the cloth moves. Instead of building a simulation, you can hand the model a strong frame and describe the physics you want.

Start with a base frame. If you are still exploring design and composition, an AI image generator can produce variants quickly, which you then refine in your editor. Once you have a frame you trust, move to the AI video generator and animate from that reference.

Anatomy of a flag prompt

Describe four things and nothing else: wind, material, camera, light.

A large fabric flag on a metal pole above a stone plaza, heavy cotton with visible weave, strong crosswind from the left pushing the fly end outward, folds travelling down the cloth in slow waves, camera at a low angle, 50 mm lens, shallow depth of field, late afternoon sun behind the flag so light glows through thin areas, seams dark against the sky, slight flutter along the hem.

Notice what is absent: stylistic adjectives, claims about masterpieces, stacked camera moves. The prompt states physical facts the model can render.

Reference frames beat adjectives

If your generator accepts an image input, the reference dominates the text. That is why the backlit still matters so much. Give a model a flat, front-lit flag and it will produce flat, front-lit motion no matter how the prompt is worded. Give it a glowing frame with dark seams and the light logic carries through the clip.

Keep clips short

Flags move fast. Generate four to eight seconds and slow the result in post if you want a lyrical feel. Long generations drift: the cloth forgets which way the wind is blowing and starts rippling in conflicting directions. Short, well-specified clips stitch together far more reliably than one long take, and they let you fix a single bad beat without discarding everything.

Lighting recipes that flatter texture work

Each lighting setup stresses a different part of the material, so test more than one before you commit.

  • Backlit sunset. The hardest and most rewarding. Needs a good thickness mask and a warm rim. Best for emotional beats and title shots.
  • Overcast diffuse. Soft and shadowless. Flatters weave and colour but exposes repetition in meso detail, so vary the macro wear before you use it.
  • Hard noon sun. High contrast, tight highlights, sharp shadows from the pole. Excellent for showing roughness variation and unforgiving of a uniform roughness map.
  • Night with a practical source. A flag lit from below reads translucent in a completely different way. Raise the transmission strength and cool the ambient light.

On the camera side, a low angle against sky gives the cleanest silhouette and hides ground detail you may never have built. A 35 to 50 mm equivalent keeps perspective natural; wider lenses exaggerate the fly end and can make thin cloth look rubbery.

Fix list, iteration loop, and a sanity check

Symptom table

Symptom Likely cause Fix
Visible grid pattern Tiled weave at high opacity Drop to 15 to 25 percent, add macro variation
Glittery surface in motion Over-driven normal map Halve normal strength, blur height slightly
Flag looks like a painted board No thickness mask, no backlight Add a transmission mask, render a backlit still
Folds all move together Prompt describes mood, not physics State wind direction, fabric weight, speed
Colours shift after generation Colour space mismatch Author in sRGB, label exports, convert once
Empty pixels at the cloth edge No bleed outside the trim line Extend artwork three to five percent past the hem
Surface reads as plastic Uniform roughness Build roughness from wear and seam masks

Most problems blamed on the model turn out to be upstream asset problems. Run the table before you rewrite the prompt.

A five-step loop

  1. Paint the flat artwork and export a quick albedo.
  2. Generate one test clip with a simple wind prompt.
  3. Judge three things only: does the cloth move with believable weight, does the surface read as fabric, does light pass through it.
  4. Fix the weakest of the three. It is usually transmission, because that is the step people skip.
  5. Repeat once more with a different lighting setup before committing to a final.

Two or three cycles are normally enough. If a flag still looks wrong after four, the fault is almost always in the albedo, usually baked shadows or unrealistic colour values that no amount of normal mapping will rescue.

It also helps to keep a small library of cloth prompts. The prompt library is a reasonable place to start, and existing video templates show how motion and camera phrasing combine in practice before you write your own.

FAQ

Do I need a 3D application to make photorealistic flags?

No, but it helps for validation. Albedo, roughness, height, and thickness maps can all be produced in a 2D editor, then paired with a backlit reference still to drive a video model. A 3D app earns its place when you want to inspect the normal map or test translucency before spending time on generations.

How large should the textures be?

Match the pixels the flag will actually occupy, then add headroom. A flag filling a third of a 4K frame needs roughly 2K per side; a hero close-up benefits from 4K. Oversized maps rarely improve realism if roughness and thickness are flat.

Why does my flag still look like plastic with a weave texture?

Because weave is a colour detail while plastic is a lighting problem. Roughness variation and translucency do far more for cloth realism than any amount of painted thread. Build roughness from your wear masks and add a thickness map.

Can I reuse one texture set across several flags?

Yes, and you should. Separate material from design: keep one cotton or nylon set and swap only the albedo per design. Roughness, normal, and thickness stay consistent, which matters when several flags appear in the same scene and share the same sun.

How do I stop the cloth moving unnaturally?

Shorten the clip, state wind direction explicitly, describe fabric weight, and supply a reference frame whose lighting matches the shot. Long generations drift because the model has more time to lose coherence.

What is the single highest-impact change?

Add backlighting. A flag with visible transmission and dark seams reads as real fabric even at low resolution. A perfectly detailed flag with no translucency never quite does.

Bring your flag textures to life with Orelon

Flag work rewards the unglamorous steps: exact proportions, honest colour values, roughness built from real wear, and a thickness mask that lets light through. Do those four things and even a short prompt will produce cloth that behaves like cloth.

Orelon is built for the moment a still becomes a shot. Start with a generated reference frame, refine the material in your editor, then animate it in the AI video generator with a prompt that names wind, weight, lens, and light. Browse the Orelon blog for more material and lighting workflows, or visit the homepage to see how cinematic ideas in motion come together.