Introduction

This chapter is the first tutorial chapter in the book. It will introduce you to the most basic shaders and the basis of almost all shaders. Once you understand what this chapter has to offer, you will more easily move on until you understand how shaders work. They are easy to understand in their most simple forms but can quickly become very complex. So fear not.

I chose a scene that looks complex due to the geometry and effects but that in actuality involves a very simple texture set. In this particular example, shown in Figure 5.1, we have some ...

Get 3D Game Textures, 4th Edition 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.