© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. IlettBuilding Quality Shaders for Unity®https://doi.org/10.1007/978-1-4842-8652-4_6

6. Advanced Texturing

Daniel Ilett1  
(1)
Coventry, UK
 

Textures are extremely versatile. We can encode practically any color data we want inside a texture and use it in any number of ways, and in this chapter, we will learn about some methods of using textures for interesting and varied effects. These methods include modifying the UVs to map textures in different ways and sampling a texture multiple times with different sets of UVs and then compositing the results. Later, we will see different kinds of texture than the standard Texture2D, such as Texture3D and Cubemap. Before ...

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.