Material
2025/12/27
- Type
- Learning Resource
- Format
- Glossary Article
- Version
- General
- Subject Tags
- Created
- Updated
- 2026/02/16
- 2025/12/27
A material is a resource that controls how the engine draws or shades a surface, whether it's a 3D model or a 2D sprite.
Materials use shader programs and allow you to edit shader parameters to control the visual appearance of surfaces.
A shader is code that runs on the graphics card to calculate the color of each pixel on the screen. A material, on the other hand, is a configuration of a shader. In other words, a material is a set of parameters you can tweak to change the appearance of a surface.
You can think of shaders as being to materials what scripts are to nodes in Godot.
We often reuse a shader with multiple materials, just like you can reuse the same script on multiple nodes and scene instances.
Godot comes with several types of materials out of the box:
SpatialMaterial: A material for 3D objects. It supports PBR (Physically Based Rendering) and offers many parameters to control the appearance of 3D models.ParticlesMaterial: A material for GPU-based particle systems. It offers many options to control the motion and appearance of particles, including velocity, acceleration, scale over time, color over time, and more.There are also several contextual materials, like the built-in 3D sky materials that generate a sky background and ambient lighting in 3D scenes.
Don't stop here. Step-by-step tutorials are fun but they only take you so far.
Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.
Get help from peers and pros on GDQuest's Discord server!
20,000 membersJoin ServerThere are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!
Sponsor this library by learning gamedev with us onGDSchool
Learn MoreImprove and build on assets or suggest edits onGithub
Contributeshare this page and talk about GDQUest onRedditYoutubeTwitter…