O'Reilly logo

Practical Shader Development: Vertex and Fragment Shaders for Game Developers by Kyle Halladay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

7. Your First 3D Project

Kyle Halladay1 
(1)
Bristol, UK
 

Rendering 3D games is a bit of a different animal than the 2D projects we’ve been doing so far. Unlike sprites drawn on quads, 3D meshes have a lot of information about their shape. 3D games can use this shape information to perform lighting calculations inside shader code, to make these objects appear to be lit in real time by the game world. We’re going to see how some of these lighting calculations work in later chapters, but first we need to have a 3D project to work with. This chapter is going to walk through how to set one of those up. We’re going to get a mesh loaded into a new project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required