© Kyle Halladay 2019
Kyle HalladayPractical Shader Developmenthttps://doi.org/10.1007/978-1-4842-4457-9_11

11. Cubemaps And Skyboxes

Kyle Halladay1 
(1)
Bristol, UK
 

Our project now has two great examples of different types of shiny surfaces (water and metal), but there’s still something decidedly fake about how they look. One major reason for this is that real shiny surfaces don’t just reflect light coming from a single direct lighting source, they also reflect light that bounces off the world around them. If they didn’t, we’d never be able to see reflections in anything! For this reason, the more complex lighting models used by game engines today include lighting calculations that take environment reflections into account when calculating the lighting ...

Get Practical Shader Development: Vertex and Fragment Shaders for Game Developers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.