Sub topic 8
Flat shading for faceted looks
Prerequisites
Assume you can add a mesh, select an object, and switch between Object Mode and Edit Mode in Blender 4.x. You should also know that a mesh is built from vertices, edges, and faces.
Flat shading controls how Blender calculates the colour across each face. It is one of the main techniques behind a low-poly look.
Flat shading and smooth shading
A face has a normal, which is a direction pointing away from its surface. Blender uses normals to calculate how light reaches a face.
With flat shading, every face keeps one normal and one uniform shade. The boundary between two faces remains visible. With smooth shading, Blender blends normals across nearby faces. The object appears rounded, even when the mesh has relatively few faces.
| Shading mode | Face boundary | Typical use |
|---|---|---|
| Flat | Clearly visible | Low-poly rocks, trees, buildings |
| Smooth | Blended or hidden | Spheres, characters, curved products |
Flat shading does not remove faces or reduce the file size. It only changes how the existing faces respond to light. A dense mesh can still look faceted when shaded flat, and a simple mesh can look rounded when shaded smooth.
Applying flat shading in the interface
- In Object Mode, select the mesh.
- Open the object context menu with the right mouse button.
- Choose Shade Flat.
You can also use the Object menu in the 3D Viewport and choose Shade Flat. The change applies to the selected object. It does not automatically affect other meshes in the scene.
To compare the result, apply Shade Smooth to the same object and rotate the viewport light or object. A low-subdivision icosphere usually shows the difference clearly.
Keep the faces visible
Flat shading works best when the model has intentional, readable planes. For a rock, vary the vertex positions in Edit Mode rather than adding many subdivisions. For a tree, use a six- or eight-sided trunk and a faceted cone for the foliage.
The direction and size of the faces also matter. A very large face can appear almost single-coloured. A smaller face can create a stronger pattern of light and dark areas. Use the fewest faces that communicate the object's shape.
A common mistake is to expect flat shading to make a smooth mesh low-poly. If the model contains hundreds of small faces, flat shading may produce noisy highlights instead of a clear design.
> callout note > Flat shading changes appearance, not geometry. Use a suitable primitive resolution or simplify the mesh separately when you need a genuine low-poly model.
Applying flat shading with Python
The use_smooth property belongs to each polygon in a mesh. Setting it to False gives that polygon flat shading.
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 script assumes that the active object is a mesh. If the active object is a camera, light, or empty, it will not have the expected data.polygons collection.
To apply the operation to several selected mesh objects, loop through bpy.context.selected_objects and check obj.type == 'MESH' before changing their polygons.
Common errors
- The object still looks smooth: Confirm that you selected the correct object and chose Shade Flat, not Shade Smooth.
- The result looks noisy: The mesh may have too many small faces. Reduce the primitive's vertex count or use a Decimate modifier.
- Facets are hard to see: Lighting may be too even, or the material colour may be too uniform. A large area light from one side can reveal the planes.
- Only part of the object changed: Shading is stored per polygon. Check whether the mesh contains a mixture of smooth and flat faces.
Exercise
Why does flat shading not reduce the polygon count, and which setting determines whether a face is shaded flat?
Show answer
Flat shading only changes how Blender uses face normals when calculating light. The polygon's use_smooth setting determines whether that face is smooth or flat; setting it to False makes the face flat-shaded.