LEARN // meshfx
What are normals in 3D
Normals are the directions your mesh's faces and vertices point, one arrow per face or per vertex. Your engine uses them to light the surface and to decide which side of a face is the front. When normals are flipped inward, faces turn black or disappear, because engines skip drawing the back of a face by default.
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.
- Face normals set the front side
- Vertex normals smooth or sharpen shading
- Backface culling hides flipped faces
- Fix: show face orientation, recalculate outside
01 // WHAT IT MEANS
Face normals and vertex normals
A face normal points out of the front of a triangle, and the order of the triangle's vertices, its winding, decides which side that is. A vertex normal is the direction lighting uses at a corner. Averaged across faces it gives smooth shading, and split at an edge it gives a hard edge.
Normal maps add finer directions per pixel on top of the vertex normals, so a flat low-poly wall can show bricks. A bad vertex normal shows as a dark streak or a faceted patch even when every face points the right way.
02 // IN YOUR ENGINE
How bad normals show up
- Parts of a model are invisible from outside and visible from inside, the classic flipped face.
- A mesh looks black or inside out in the engine and fine in your 3D editor, which may draw both sides.
- Mirroring an object with negative scale flips the winding of every face on export.
- Smooth shading smeared across sharp corners after decimation or a merge.
03 // BY HAND TODAY
Fix normals in your 3D editor
- Turn on face orientation or normals display in your 3D editor to see which faces point inward.
- Recalculate normals to face outside, then flip any faces that stay wrong.
- Apply negative scale before export, then recalculate.
- Skip the two-sided material shortcut, which doubles the cost of those faces and leaves the lighting wrong on the back.
04 // SPATIAL COMPILER
Normals stay a by-hand fix
Recalculating normals takes a few minutes in any 3D editor. See fix flipped normals for the full steps.
meshfx retains existing UVs during triangle reduction. Create the texture atlas in your editor. Hosted meshfx runs are available in the Playground.
Why are parts of my model invisible in Unity or Unreal Engine?
Those faces point inward, so backface culling skips them from outside. Recalculate normals outside in your 3D editor and export again.
Why does my mesh look black or inside out in a game engine?
Its normals point inward or vertex normals are broken. Check face orientation, recalculate normals outside and apply any negative scale before export.
What does flipping normals mean?
Flipping normals reverses which side of a face is the front by reversing its vertex order so inward faces point outward.
Why does Unity flip normals on an imported mesh?
A negative scale or mirror in the source file often reverses face winding on export. Apply scale, recalculate normals and export again.
How do I recalculate normals outside?
Select all faces in edit mode and run your editor command to recalculate normals outside, then flip any remaining stragglers on open meshes.
How do I fix shading artifacts on a game model?
Reset or recalculate vertex normals, mark sharp hard edges and transfer a normal map using the same tangent basis your engine expects.
Explore meshfx outputs
Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.