Sub topic 13
Using emissive materials as light sources
This chapter covers making a mesh emit light with a material. It assumes you can set lamp power, color and size, and that you know how Cycles and EEVEE differ in handling light. You should also be comfortable building a simple material in the Shader Editor.
What an emissive material is
An emissive material makes a surface glow. You can build one in two ways:
- An Emission shader node connected to the Surface input of the Material Output node.
- The Emission Color and Emission Strength inputs on the Principled BSDF node.
Both give the same result for lighting purposes. The Emission node is easier to read in a node tree that only exists to make a light. The Principled inputs suit a surface that is both shaded and glowing, such as a lit screen or a lamp shade.
Whether the glow also lights nearby objects depends on the render engine.
| Behavior | Cycles | EEVEE |
|---|---|---|
| Lights other objects | Yes, through path tracing | Only with ray tracing or light probes, depending on version |
| Casts shadows from the emitter | Yes, as a real area source | Not as a real light source |
| Soft shadows from size | Yes, from the mesh area | Approximate at best |
| Noise cost | Higher for small emitters | Low |
Emission strength is not watts
Lamps use watts. An emission shader has no equivalent unit. Its Strength sets how bright each point of the surface is. The light delivered to the scene is that surface brightness multiplied by the area of the mesh.
This leads to three practical rules:
- Doubling the Strength doubles the light.
- Doubling the area of the mesh also roughly doubles the light, with Strength unchanged.
- Strength 1.0 with a white color looks dim as a light source. Values from 5 to 50 are common for a panel in a room-sized scene. Small, distant or high-contrast setups may need hundreds.
An emissive plane therefore behaves like an area light, except that you set its brightness per unit of surface instead of in total watts. If you scale the plane up to soften the shadows, the scene gets brighter and you must lower Strength to compensate. An area light's power does not change when you resize it, so you do not need to compensate there.
Building an emissive panel in Cycles
First set up the material. Then place a plane, aim it at the subject, and assign the material.
import math
import bpy
scene = bpy.context.scene
scene.render.engine = 'CYCLES'
# Emission material
mat = bpy.data.materials.new(name="PanelLight")
mat.use_nodes = True
nodes = mat.node_tree.nodes
links = mat.node_tree.links
nodes.clear()
emit = nodes.new('ShaderNodeEmission')
emit.inputs['Color'].default_value = (1.0, 0.85, 0.7, 1.0) # warm white, RGBA
emit.inputs['Strength'].default_value = 20.0
out = nodes.new('ShaderNodeOutputMaterial')
links.new(emit.outputs['Emission'], out.inputs['Surface'])
# A 2 m x 2 m plane tilted toward the origin
bpy.ops.mesh.primitive_plane_add(
size=2.0,
location=(0.0, -4.0, 3.0),
rotation=(math.radians(-45.0), 0.0, 0.0),
)
panel = bpy.context.active_object
panel.name = "PanelLight"
panel.data.materials.append(mat)The -45 degree X rotation turns the plane's +Z normal toward the origin. Depending on the geometry you may need to flip the sign. Check by looking at the viewport in Rendered mode.
Which side emits
In Cycles, a plane with an emission shader lights the scene from both sides by default in older versions. In Blender 4.2 and later, the material has an Emission Sampling setting under Material Properties > Settings > Surface. It can be set to Auto, None, Front, Back, or Front and Back. Setting it to Front keeps light from spilling out of the back of a panel. This matters for a softbox hung close to a wall, where the back-facing light would otherwise bounce around and flatten the shadows.
The same setting can be switched to None. That turns a glowing object into a purely visual one, and it will not light anything. This is useful for a glowing sign in the background, where you want the look without paying for the sampling.
Hiding the emitter from the camera
A mesh light shows up in the render if the camera can see it, which is often unwanted. You can hide it from the camera while it keeps lighting the scene:
import bpy
panel = bpy.data.objects["PanelLight"]
panel.visible_camera = False # not seen directly by the cameraIn the interface, this is the Camera checkbox under Object Properties > Visibility > Ray Visibility. The emitter still appears in reflections unless you also turn off the Glossy checkbox in the same panel. Leave Glossy on if you want the panel to appear as a highlight in shiny surfaces, which usually looks better than no highlight.
EEVEE: emission does not automatically light a scene
EEVEE is a rasterizer. Older EEVEE versions (before 4.2) did not treat an emissive mesh as a light at all. It made the surface look bright, but nothing around it received any light unless you baked indirect lighting into light probes, or used an approximation such as screen-space global illumination.
Blender 4.2 and later replaced that with a new EEVEE, which can use ray tracing to gather light from emissive surfaces. In that setup you enable Raytracing in Render Properties, and emissive meshes then contribute indirect light. The result is closer to Cycles but still approximate. It also only sees what is on screen or what the probes captured.
For a predictable result in any EEVEE version, place a real lamp next to the emissive mesh. Let the mesh provide the visible glow and the lamp provide the actual illumination. Match their colors, and the viewer will read them as one object.
Noise and fireflies
Cycles lights surfaces from emitters by sampling points on them. Small, bright emitters are hard to hit by chance, so they produce noisy, grainy results. Very bright small emitters also create fireflies, which are isolated white pixels that survive denoising.
Ways to reduce this:
- Make the emitter larger and lower the Strength. The same total light then comes from a bigger target that is easier to sample.
- Use more samples, or rely on the denoiser, as covered in the previous chapter on noise and sampling.
- Turn on Clamp Indirect in Render Properties > Light Paths > Clamping to cap extreme bounces. It darkens the image slightly, so use small values.
- For a purely decorative glow, set Emission Sampling to None, as described above.
- When many emitters are in the scene, such as a string of small bulbs, use Blender's light tree sampling, which is available in Cycles since version 3.6 and handles many light sources better.
When to use a mesh instead of a lamp
An emissive mesh is the better choice in these cases:
- The light has a shape that matters, such as a ring, a neon tube, a window or a lit screen.
- The light must be visible in reflections, with its true outline.
- The light's color or intensity should vary across its surface. You can drive Color or Strength with a texture, which a lamp cannot do.
A lamp remains the better choice for general-purpose key, fill and rim lights. It is cheaper, easier to control, and behaves the same way in both engines.
Common mistakes
- Nothing is lit. In EEVEE, this is expected. See the EEVEE section above.
- The emitter is too dim. Strength 1.0 is rarely enough. Raise it by factors of ten until the effect appears.
- The scene got brighter after resizing the emitter. Light scales with area. Adjust Strength to match.
- A white blob appears in the frame. The emitter is camera-visible. Turn off its Camera ray visibility.
- Color looks washed out. A very high Strength pushes the color toward white. Lower the Strength and enlarge the mesh instead.
Exercise
You replace a 1 m by 1 m emissive plane with a 2 m by 2 m plane that has the same material, in Cycles. What happens to the light in the scene, and how do you restore the original brightness while keeping the softer shadows?
Show answer
The scene becomes about four times brighter, because the area grows by a factor of four and the Strength per unit area is unchanged. The shadows also become softer because the source is larger. To restore the original brightness, divide the Emission Strength by about four. For example, change it from 20 to 5.
Exercise
A glowing sign in the background of a Cycles render is slow to clear of fireflies, and it lights nothing important. What is the cheapest change that keeps its appearance?
Show answer
Set the material's Emission Sampling to None (Blender 4.2 and later). The sign still looks like it glows, but Cycles no longer samples it as a light, so it stops producing noise and fireflies.