What You’ll Learn in This Hour:
• Making 2D materials in Godot
• Making 3D materials
• Applying multiple material passes
• Writing simple shaders
In this hour, you’ll learn about materials in Godot. First, you’ll see the simple 2D materials, then you’ll learn about the complex but powerful 3D materials. You’ll also learn how to write shaders and add nice effects to your scenes.
The 2D materials are extremely simple. There’s nothing much you can do in this matter, because the 2D engine is based in pixels and textures drawn directly into the screen and without the need to process vertex positions and lighting, which is needed in 3D.
To add a material to a node, it must be derived from Node2D ...