LEARN // meshfx
What is texture baking
Texture baking renders information from one source into a texture your engine can sample cheaply. Most often it projects a detailed high-poly model onto your low-poly game model, saving its bumps as a normal map and its crevice shadows as ambient occlusion, so a 5,000-triangle model can look like the 2-million-triangle sculpt.
pyrofx effects work today, and new accounts start with $5 of usage.
meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.
- Common maps: normal, ambient occlusion, color
- Needs clean UVs with no overlaps
- Bake (precompute) again after retopology or UV changes
- meshfx: measured outputs; hosted availability shown separately
01 // HOW IT WORKS
Rays from the low-poly to the high-poly
For each texel in the low-poly model's UV layout, the baker casts a ray outward and inward, finds the high-poly surface, and records what it hits: the surface direction for a normal map, how enclosed the spot is for ambient occlusion, and the color. A cage, a slightly inflated copy of the low-poly model, limits how far the rays travel.
Compiling can also merge several materials into one texture set. Lighting precomputed into lightmaps is a related job that Unity, Unreal Engine and Godot 4 handle in their own lighting tools.
02 // IN YOUR ENGINE
Signs of a bad compile
- Wavy or stepped lines on edges that should be straight: too few triangles, or a cage that sits too tight.
- Detail from one part printed onto another, such as fingers on a palm: the rays reached too far.
- Lighting seams along UV cuts: the engine's tangent space differs from the baker's, or the padding is too small.
- Black blotches: overlapping UVs, or rays that missed the high-poly surface.
03 // SPATIAL COMPILER
meshfx and texture baking
meshfx retains existing UVs during triangle reduction. Create the texture atlas in your editor. Hosted meshfx runs are available in the Playground.
How do I transfer high poly details onto a low poly model?
Unwrap the low poly model without overlaps, align it with the high poly mesh, set ray distance and render normal and occlusion maps.
How do I create a low poly model from a high poly sculpt?
Retopologize or decimate the sculpt into a light mesh, unwrap it and transfer the sculpt detail onto it as a normal map.
What texture maps are commonly generated for a game model?
Normal, ambient occlusion, curvature, thickness, base color, roughness and metallic are standard. Engines often pack occlusion, roughness and metallic into one image.
Do I need to regenerate an ORM texture after retopology?
Yes. Because the maps are laid out on the old UVs, you must transfer them again onto the new mesh's UV layout.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.