Unity 5.x Shaders and effects cookbook : master the art of Shader programming to bring life to your Unity projects /
Master the art of Shader programming to bring life to your Unity projectsAbout This Book This book will help you master the technique of physically based shading in Unity 5 to add realism to your game quickly through precise recipes From an eminent author, this book offers you the fine technicalitie...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
Ã2016.
|
Colección: | Quick answers to common problems.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; www.PacktPub.com; Preface; Chapter 1: Creating Your First Shader; Introduction; Creating a basic Standard Shader; Migrating Legacy Shaders from Unity 4 to Unity 5; Adding properties to a shader; Using properties in a Surface Shader; Chapter 2: Surface Shaders and Texture Mapping; Introduction; 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 terrainChapter 3: Understanding Lighting Models; Introduction; Creating a custom diffuse lighting model; Creating a Toon Shader; Creating a Phong Specular type; Creating a BlinnPhong Specular type; Creating an Anisotropic Specular type; Chapter 4: Physically Based Rendering in Unity 5; Introduction; Understanding the metallic setup; Adding transparency to PBR; Creating mirrors and reflective surfaces; Baking lights in your scene; Chapter 5: Vertex Functions; Introduction; Accessing a vertex color in a Surface Shader; Animating vertices in a Surface Shader
- Extruding your modelsImplementing a snow shader; Implementing a volumetric explosion; Chapter 6: Fragment Shaders and Grab Passes; Introduction; Understanding Vertex and Fragment Shaders; Using grab pass; Implementing a Glass Shader; Implementing a Water Shader for 2D games; Chapter 7: Mobile Shader Adjustment; Introduction; What is a cheap shader?; Profiling your shaders; Modifying our shaders for mobile; Chapter 8: Screen Effects with Unity Render Textures; Introduction; Setting up the screen effects script system; Using brightness, saturation, and contrast with screen effects
- Using basic Photoshop-like Blend modes with screen effectsUsing the Overlay Blend mode with screen effects; Chapter 9: Gameplay and Screen Effects; Introduction; Creating an old movie screen effect; Creating a night vision screen effect; Chapter 10: Advanced Shading Techniques; Introduction; Using CgInclude files that are built into Unity; Making your shader world modular with CgInclude; Implementing a Fur Shader; Implementing heatmaps with arrays; Index