23 – Materials | C++ Game Engine Programming




Welcome to my C++ Game Engine series!

— Description —
In this episode, we add Materials in order to allow us to reuse shaders for multiple objects with potentially differing uniform values.

— Links —
What kind of game should we build? Vote here: https://www.youtube.com/channel/UCANsSRGpMvyDQQzj6TbtDxQ/community
GitHub repository: https://github.com/progrematic/hippo​
Twitter: https://twitter.com/progrematic​

— Timestamps —
Intro: (0:00)
Material Plan: (0:19)
Creating our Material class: (2:50)
Testing Arbitrary Uniform Set/Get: (16:44)
Adding a Material RenderCommand: (19:40)
Using Multiple Materials: (24:24)
Rendering Multiple Rects: (28:36)
Decoupling the Model Matrix from Material: (29:58)
Outtro: (34:38)

Youtube original link

Leave a Reply

Your email address will not be published. Required fields are marked *