Sub topic 13
Emission and glowing surfaces
Assume you can create a material, use the Shader Editor, and edit Principled BSDF inputs. Emission makes a surface appear to produce light. It is useful for screens, signs, LEDs, stars, fire, and magical effects.
How emission works
The Principled BSDF combines reflected light with light that the material adds itself. Set the Emission Color to choose the emitted color, then increase Emission Strength to make the surface brighter.
Emission brightness is not the same as lighting the scene. An emissive object usually does not cast useful light onto nearby surfaces by itself. Add an Area light, Point light, or other real light when nearby objects must be illuminated. In the compositor, a Glare effect can create a visible halo around bright pixels.
flowchart TD
A[Emission Color] --> B[Principled BSDF]
C[Emission Strength] --> B
B --> D[Material Output]
D --> E[Visible bright surface]
F[Real light] --> G[Illuminated nearby objects]
E -. does not usually light the scene .-> GCreating an emissive material
- Select an object and create a material.
- Open the Shader Editor.
- Keep the Principled BSDF connected to Material Output.
- Set Emission Color to the color of the glow.
- Increase Emission Strength gradually. Values from 1 to 10 are a useful starting range.
- Render the scene and adjust exposure before choosing extreme strength values.
This script creates an emissive material and assigns it to the active mesh. It supports both the current socket name, Emission Color, and the older name, Emission.
import bpy
obj = bpy.context.active_object
if obj is None or obj.type != "MESH":
raise RuntimeError("Select a mesh object first")
mat = bpy.data.materials.get("BlueGlow")
if mat is None:
mat = bpy.data.materials.new("BlueGlow")
mat.use_nodes = True
bsdf = mat.node_tree.nodes.get("Principled BSDF")
if bsdf is None:
raise RuntimeError("The material has no Principled BSDF node")
color_socket = bsdf.inputs.get("Emission Color") or bsdf.inputs.get("Emission")
strength_socket = bsdf.inputs.get("Emission Strength") or bsdf.inputs.get("Emission Strength")
color_socket.default_value = (0.02, 0.2, 1.0, 1.0)
strength_socket.default_value = 8.0
if obj.data.materials:
obj.data.materials[0] = mat
else:
obj.data.materials.append(mat)Animation and texture control
You can connect an image texture, Noise Texture, or ColorRamp to Emission Color. A changing value connected to Emission Strength can pulse a light or sign.
For animation, insert a keyframe on Emission Strength. For example, use strength 2 at frame 1 and strength 10 at frame 20. Blender interpolates between those values.
Exercise
An emissive panel is bright, but it does not illuminate the wall beside it. What should you change?
Show answer
Keep the emission for the panel's appearance and add a real light, such as an Area light, to illuminate the wall.