Using interior cubemaps to texture the interior of a building
We've come a long way since we started this journey, following a path that took us from very introductory concepts to more advanced ones. We've covered many different techniques along the way, and that's something that will not change, even as we near the final pages of this book. This second to last recipe will showcase yet another new technique that is very useful when working with exterior scenes filled with buildings, where windows are a prevalent element and seeing what's inside is sometimes a difficult thing to tackle.
Â
You can probably think of many different video games where the windows of the buildings are shown as a static texture, with no sense of depth or of what's inside. In the following pages, we'll take a look at a more contemporary technique that brings those elements to life, adding realism to our levels.
Getting ready
Unlike most of our previous recipes, where we could almost jump into them straight away, you...