Material

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Material

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.

The difference between a material and a shader

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.

Types of materials

Godot comes with several types of materials out of the box:

There are also several contextual materials, like the built-in 3D sky materials that generate a sky background and ambient lighting in 3D scenes.

Become an Indie Gamedev with GDQuest!

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.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!