Chapter 2
Materials and Textures
Materials and textures are the raw materials for 2D games. They are to 2D games what 3D meshes are for 3D games. Practically, all your game graphics, from characters and backgrounds to special effects and in-game menus, will be implemented in the form of materials and textures. If you can see it on-screen, then it’s due to materials and textures. There’s simply no getting around them, so it’s important to have a solid understanding of them—and not just for 2D games either but for games more generally. This chapter aims to provide that understanding. It’ll explain the crucial difference and relationship between materials and textures. It’ll also discuss how you can create both of them, as well as many other ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access