Unity 5.x Shaders and Effects Cookbook
上QQ阅读APP看书,第一时间看更新

Chapter 2. Surface Shaders and Texture Mapping

In this chapter, we will explore Surface Shaders. We will start from a very simple matte material and end with holographic projections and advanced terrains blending. We can also use textures to animate, blend, and drive any other property that we want. In this chapter, you will learn about the following methods:

  • Diffuse shading
  • Using packed arrays
  • Adding a texture to a shader
  • Scrolling textures by modifying UV values
  • Normal mapping
  • Creating a transparent material
  • Creating a Holographic Shader
  • Packing and blending textures
  • Creating a circle around your terrain