Lighting is one of the most important features to add to any shader if you want to add a sense of realism to your game. Players use visual cues such as size and shape to determine the relative position of objects in a 3D game, and lighting and shadows are two important cues that help players judge the depth of objects in relation to one another. That said, it’s not just games with realistic graphics that rely on lighting – heavily stylized games also benefit from this added information. In this chapter, we will see ...
10. Lighting and Shadows
Get Building Quality Shaders for Unity®: Using Shader Graphs and HLSL Shaders 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.