Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HoloLens Beginner???s Guide

You're reading from   HoloLens Beginner???s Guide Join the AR revolution with HoloLens

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786464729
Length 376 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jason M. Odom Jason M. Odom
Author Profile Icon Jason M. Odom
Jason M. Odom
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface Welcome to the New World FREE CHAPTER HoloWorld I am in Control User-Friendly Interface Now That Is How It Should Sound Not So Blank Spaces The Tools of the Trade Share What You Have Got Putting It All Together Fixing Problems

Materials, textures, and shaders


In this section, we will discuss, you guessed it: materials, textures, and shaders. As we have touched on this subject lightly before, we will dig in a bit deeper this time. Unity's rendering system and lighting model uses Physically Based Shading (PBS), which is a simulation between the materials in the scene and the lights. PBS, in many ways, closely imitates how lights and materials work in real life.

Materials

Materials are art assets placed on an object that give various rendering properties. A highly reflective polish job on a smooth, silver surface or a rough and rugged wooden door with moss growing on the bottom are both examples of Materials. Materials are made up of the Material component itself, shaders, and textures.

While the details of shaders are beyond the scope of this book, we do need a general overview. A shader is a small script file that tells Unity how to react to light. In real life, when light hits a surface, it does not just stop there...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime