Sub topic 8
Flat shading for faceted looks
This chapter explains why a low-poly model looks faceted, how Blender decides whether a surface looks flat or smooth, and how to control that per object and per face. It assumes you can add primitives, switch between Object Mode and Edit Mode, and select faces. Blender 4.x is assumed, and the 4.1+ differences are marked.
What shading actually does
A mesh is a set of flat polygons. Whether it looks faceted or round depends on the normals the renderer uses for lighting.
- A face normal is a vector perpendicular to a single face. It is the same across the whole face.
- A vertex normal is an average of the normals of the faces that meet at a vertex. Smooth shading interpolates between these values across the face.
With flat shading, every point on a face uses the face normal. The face gets one uniform shade, and a visible step in brightness appears at every edge. With smooth shading, Blender interpolates the vertex normals across each face. The brightness changes gradually, so the surface looks curved even though the geometry has not changed.
This is why flat shading suits low-poly work. The silhouette already shows the facets, and flat shading makes the interior of the model agree with it.
The new primitives you add are usually flat-shaded by default, but this depends on the primitive and on your Blender version and settings. Imported models and meshes that went through a Subdivision Surface modifier or a smooth-shading operation are often smooth. Check the shading of every object before you judge its look.
Shading is not geometry
Shading changes how light is computed, not where vertices are. Two consequences follow:
- Smooth shading cannot fix a low-poly silhouette. A six-sided cylinder with smooth shading still has a hexagonal outline. It also gets odd gradients across its flat top and bottom caps.
- Flat shading cannot reduce polygon count. A dense mesh that is flat-shaded looks like a noisy mosaic of tiny facets. It does not look low-poly.
Treat the face count and the shading as two separate choices. For a low-poly look you want few, large faces and flat shading.
Setting flat shading in the interface
Whole objects
- In Object Mode, select the objects you want to change.
- Choose Object > Shade Flat.
The operator applies to all selected objects. If only the active object changes, check that the others are really selected and not just visible.
Individual faces
- Enter Edit Mode and switch to face select mode (press
3). - Select the faces you want to change.
- Choose Face > Shade Flat (or Face > Shade Smooth).
Per-face control lets you mix both looks on one mesh. For example, you can keep a rock faceted and smooth only a few faces on a cap. Each face stores a smooth flag, and the shading operators set that flag.
Blender 4.1 and later
Older versions had an Auto Smooth option in the mesh data properties. Blender 4.1 removed it. Sharp edges are now handled directly:
- Shade Auto Smooth (Object menu, in some 4.x versions named differently) smooths a face but keeps edges sharp where the angle between faces exceeds a threshold. In 4.1 it adds a modifier. From 4.2 the same function appears as Shade Auto Smooth or the Smooth by Angle modifier, depending on the menu you use.
- You can mark individual edges as sharp in Edit Mode with Edge > Mark Sharp. A smooth-shaded mesh then keeps a hard crease along those edges.
For a pure low-poly scene you rarely need these. Flat shading everywhere is simpler and more predictable. They matter when you want smooth curves with hard edges, which is a different style.
Shading with Python
The same operation in Python sets the smooth flag on each polygon. This is the version from the scripting example:
import bpy
obj = bpy.context.active_object
# Flat shading: every face gets its own uniform shade
for poly in obj.data.polygons:
poly.use_smooth = False
obj.data.update()This changes only the active object and fails if there is none or if it is not a mesh. A more robust version applies to every selected mesh:
import bpy
for obj in bpy.context.selected_objects:
if obj.type != 'MESH':
continue
for poly in obj.data.polygons:
poly.use_smooth = False
obj.data.update()Be aware of one detail. If several objects share the same mesh data (linked duplicates made with Alt+D), changing the shading on one changes all of them, because the flag lives in the mesh and not in the object. If you want one tree faceted and its copy smooth, make the data single-user first.
You can also call bpy.ops.object.shade_flat() in Object Mode. The operator relies on the current context, so it fails in cases where the direct loop works, such as when nothing is selected or when you are in Edit Mode. The direct loop is the safer choice in scripts.
Viewport shading is a separate setting
Do not confuse mesh shading with the viewport shading options. The Solid viewport mode has a Lighting setting with choices such as Studio, MatCap and Flat.
- Mesh flat shading is stored in the mesh data and appears in renders.
- The viewport Flat lighting option only changes how the viewport draws. It removes all lighting variation, so every face shows its plain colour with no shading at all.
If your facets disappear in the viewport but the render looks right (or the other way round), check the viewport lighting mode first. Use Studio lighting while you model. It shows the brightness steps between faces.
Checking normals
Flat shading exposes normal problems that smooth shading hides. If a face has its normal pointing inwards, it can look dark or lit from the wrong side, and the error stands out against its neighbours.
To find these problems:
- Open the Overlays popover and, under Mesh Edit Mode, enable Face Orientation. Blue means the face points outwards and red means it points inwards.
- Select all in Edit Mode (
A) and recalculate with Mesh > Normals > Recalculate Outside (Shift+N).
Negative scale values are a common cause. If you mirror an object by scaling it by -1, its normals can end up inverted. Apply the scale with Ctrl+A and recalculate the normals.
Facets, light and colour together
The faceted look comes from the interaction of three things: the face angles, the light direction and the material colour. Flat shading alone does not guarantee a good result.
| Situation | Effect on facets | Fix |
|---|---|---|
| Light directly in front of the object | Faces get similar brightness, so facets are hard to see | Move the light to the side or above |
| Very large faces on a flat-shaded object | Big uniform patches, little variation | Add a few loop cuts or vary the vertex positions |
| Similar face angles over a curved shape | Faint brightness steps | Reduce the vertex count so each angle step is bigger |
| Strong ambient light in the world | Shadowed sides are lifted, so contrast drops | Lower the world strength |
Facet contrast depends on how different neighbouring face normals are. A six-sided cone has big steps between faces and reads clearly. A sixteen-sided cone has small steps, and flat shading gives only a subtle effect.
A decision flow
Common errors
- The object still looks smooth after Shade Flat. The object may not be selected, or a modifier such as Subdivision Surface may be adding geometry and smoothing. Check the modifier stack. A Subdivision Surface modifier produces smoother-looking results even with flat-shaded input, so remove it or disable it in the viewport.
- Only some faces are faceted. The mesh has mixed per-face flags. Select everything in Edit Mode and apply Shade Flat to all faces.
- The shading changed on a copy you did not touch. The objects share mesh data. Use Object > Relations > Make Single User > Object & Data if they need separate shading.
- Dark patches on one face. The normal is flipped. Use Face Orientation and recalculate.
- Facets look different after export. Some formats and engines recompute normals on import. In general, flat shading survives export to glTF and FBX as split normals, but a game engine's import settings can override it. Check the normals setting on import (for example "Import" or "Calculate") in your target tool.
Summary of the working model
- Flat shading uses one normal per face. Smooth shading interpolates vertex normals.
- Shading changes the look of light, not the geometry or the polygon count.
- Set shading per object in Object Mode and per face in Edit Mode.
- In Python, set
use_smooth = Falseon each polygon and callupdate(). Remember that linked duplicates share the mesh data. - Check for flipped normals and for a viewport lighting mode that hides facets.
Exercise
You add a six-sided cylinder, apply Shade Smooth, and notice strange gradients on the top cap. A linked duplicate of the cylinder (made with Alt+D) also changed. You want the original faceted and the duplicate left smooth. What do you do?
Show answer
Make the duplicate's mesh single-user (Object > Relations > Make Single User > Object & Data) so the two objects stop sharing mesh data. Then select the original, and choose Object > Shade Flat. The smooth flag is stored in the mesh data, so shading one linked duplicate changes the other until the data is made separate. Use the Face Orientation overlay afterwards to confirm that the normals are correct.
Exercise
A flat-shaded tree in your scene shows almost no visible facets in the viewport, although the mesh is a six-sided cone. Name two settings you would check before changing the mesh.
Show answer
First, check the viewport Solid Lighting option. If it is set to Flat, the viewport shows no shading at all, so switch it to Studio. Second, check the light direction in the render and the world strength. A light directly in front of the object or strong ambient light reduces the brightness difference between faces. You can also check for a Subdivision Surface modifier in the modifier stack, since it smooths the result.