2
Building Materials and Shaders
According to Wikipedia, a material is a substance, or a mixture of substances, that constitutes an object. This definition for real-life objects also stands true for the models you create electronically with some extra technical details. Let’s look at the definition of a material in our context.
In Blender, materials are essentially containers that hold a bunch of numbers, colors, and textures, besides other useful stuff, and most importantly the shader itself. A shader is a piece of code that tells the rendering engine, either Blender’s or Godot Engine’s, what to do with a material’s properties.
In essence, a material is like a box full of little items, and it comes with a user manual (the shader) so that the ...
Get Game Development with Blender and Godot now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.