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
Learn OpenGL

You're reading from   Learn OpenGL Beginner's guide to 3D rendering and game development with OpenGL and C++

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789340365
Length 208 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Frahaan Hussain Frahaan Hussain
Author Profile Icon Frahaan Hussain
Frahaan Hussain
Arrow right icon
View More author details
Toc

Materials

We're going to discuss materials in this section. So, let's first understand what a material is and why would you use it. In the real world, you have objects that are made out of different materials. You have objects that are made out of metals, wood, plastic, and other stuff. As a result, these materials, these objects, react differently to light depending on what they're made out of. Generally speaking, something that's made out of metal will be shinier than something that's made out of wood. Wood generally isn't shiny. Obviously, it is if you apply some sort of varnish to it, but again, that would be an additional layer to the object that's not wood. It'd be something more than wood that is applied on top of it that provides some sort of shine to it. You have glossy materials, and you have some more matte materials. Simply put...

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