New Game Shows. Winning Wednesdays on Prime.
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
-9% $63.95
FREE delivery Saturday, December 21
Ships from: Amazon.com
Sold by: Amazon.com
$63.95 with 9 percent savings
List Price: $69.95
FREE Returns
FREE delivery Saturday, December 21
Or Prime members get FREE delivery Wednesday, December 18. Order within 14 hrs 36 mins.
Arrives before Christmas
In Stock
$$63.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$63.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Returnable until Jan 31, 2025
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Returns
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$57.77
FREE Returns
The book is in good condition without any highlights and writings on it. The book shows some wear of use and storage(edgewears and creases on the cover page). The book is in good condition without any highlights and writings on it. The book shows some wear of use and storage(edgewears and creases on the cover page). See less
FREE delivery Saturday, December 21
Or Prime members get FREE delivery Wednesday, December 18. Order within 20 hrs 6 mins.
Arrives before Christmas
Only 1 left in stock - order soon.
$$63.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$63.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Foundations of Game Engine Development, Volume 2: Rendering Paperback – July 26, 2019

4.7 4.7 out of 5 stars 145 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$63.95","priceAmount":63.95,"currencySymbol":"$","integerValue":"63","decimalSeparator":".","fractionalValue":"95","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Q1HEnQADo%2FeMNpaoheBNeR%2BwAVu45m%2FT4Mc00IcUIimygWObEcAD9kKA3BFclO%2BU5pn64SpecfZqIJdzTh57rHmgllMMhkYToZy3ezkBUeRhMVzZ0j518%2FQITRbc%2B6SyPEUiWOqW3WN2f4iz5jwj8A%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$57.77","priceAmount":57.77,"currencySymbol":"$","integerValue":"57","decimalSeparator":".","fractionalValue":"77","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Q1HEnQADo%2FeMNpaoheBNeR%2BwAVu45m%2FTZ%2FTWdKGL0bO7itHhfJDifmezB8XcMtJ428dvPTfEy6yDu%2Bjw5%2F26fPGCiBWXtEfLP%2B4L2w98FZb6CvrinawfXrFGDIZgddOdCZFE4POiA4ObnvHw4BB1Fckg8Zwsk1gsJ4uQwpaqpQT1RwHFKVL2GlvSuihu3I%2Bf","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

This second volume in the Foundations of Game Engine Development series explores the vast subject of real-time rendering in modern game engines. The book provides a detailed introduction to color science, world structure, projections, shaders, lighting, shadows, fog, and visibility methods. This is followed by extensive discussions of a variety of advanced rendering techniques that include volumetric effects, atmospheric shadowing, ambient occlusion, motion blur, and isosurface extraction. Emphasis is placed on practical implementation, and code is included.
The%20Amazon%20Book%20Review
The Amazon Book Review
Book recommendations, author interviews, editors' picks, and more. Read it now.

Frequently bought together

This item: Foundations of Game Engine Development, Volume 2: Rendering
$63.95
Get it as soon as Saturday, Dec 21
In Stock
Ships from and sold by Amazon.com.
+
$49.95
Get it as soon as Saturday, Dec 21
In Stock
Ships from and sold by Amazon.com.
+
$36.66
Get it as soon as Saturday, Dec 21
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Choose items to buy together.

Product details

  • Publisher ‏ : ‎ Terathon Software LLC (July 26, 2019)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 412 pages
  • ISBN-10 ‏ : ‎ 0985811757
  • ISBN-13 ‏ : ‎ 978-0985811754
  • Item Weight ‏ : ‎ 2.07 pounds
  • Dimensions ‏ : ‎ 7.5 x 0.97 x 9.25 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 145 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Eric Lengyel
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Eric Lengyel (Ph.D. computer science, M.S. mathematics) has been a game engine developer since the 1990s and has been writing about it almost as long. He spends most of his time working on the C4 Engine and the Slug Library, but sometimes takes a break to perform new research in geometric algebra. He lives in Lincoln, California.

Customer reviews

4.7 out of 5 stars
145 global ratings
Poor print quality
2 out of 5 stars
Poor print quality
The content of the book is probably fine but the quality of the print is awful. A lot of the pages are just a blurry mess with weird offset drop-shadow like effect (looks worse in person). Especially the smaller mathmatical notation is hardly readable. The book also literally can't lie flat on a surface and is curling up. Can't even force it flat.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on August 3, 2019
The media could not be loaded.
I added another video on texture projection which is very straight forward using the method described in the book. I do have a minor gripe that the book doesn't mention reflections behind the projection plane at all for some reason. Also my implementation is slightly different from the book. Instead of using clamp to edge with at least a 1 pixel black border around the texture image, the video I uploaded uses clamp to border with opaque black set as the boarder color. There is a yellow boarder around the pumpkin (which came from the fged2 website) which is not "smeared" using this approach. A minor difference but worth noting.

Update: I just uploaded a short video showing my implementation of some of the rendering techniques discussed in the book. Horizon mapping in particular. The shadow cube came from the FGED website. (there are some small lines left in that show the intersections of the cube faces) And the Medieval brick wall albedo/displacement maps came from textures.com. Everything else is generated as described in the book. I didn't have access to the actual geometry for the chandelier so it is conspicuous by its absence. This is rendered using the Vulkan API.

The book continues the building block approach of the first book. Basic material in the first chapters forms the basis for more complex material later in the book. The explanations are generally very good to excellent and it seems like much of the material was chosen as it pertains to a wide range of rendering techniques. Many of the concepts explained in the book transfer well to other rendering tasks. Overall the book is outstanding.

Long version: TLDR

Chapter 5: Color science...have you read those crazy papers on color that promise to clear it all up but then leave you scratching your head trying to figure out what why when? This book has an excellent discussion on the subject that left me wanting the rest of the pieces to the color puzzle, like HDR and tone mapping. Chapter 5 then opens a discussion on gamma....typical but well written. Then it goes on to discuss the various matrix transforms. The transforms discussed here are used over and over throughout the book.

Chapter 6: Perspectives...well written...the math for perspectives is well understood and really isn't changing to much. Use infinite perspectives that are reversed ...sums it all up. The discussion on the limitations of floating point numbers and reversed depth are okay, there are a few websites that do a slightly better job explaining the issue and an nvidia paper that is very good ( and goes into why using infinite projections aren't necessarily a decision based on the accuracy of floating point numbers and the projection matrix..this book doesn't push either way it just states the facts) There is also a lengthy discussion on oblique near planes. Perspectives are a critical part of the book that are used over and over throughout the text. Its worth the effort to read this section thoroughly.

Chapter 7: The controversial chapter. Starts with the "rendering equation" this segue's nicely into the basic physics of light and the quint essential bits needed to understand PBR. This leads into ambient and the most basic physically based diffuse model. So this is where the controversy starts: The book then goes into Phong and Blinn Phong which introduces the half way vector. But chapter 7 stops the lighting discussion here....with an interesting but abbreviated discussion on the brdf but no discussion of Fresnel, normal distributions ect. If it did... i think the entire rest of the book could be devoted to these subjects. If you really want a good intro to this read chapter 9 of Real time rendering 4. Thankfully Chapter 7 instead changes up the discussion with an intro to textures and a discussion on cube maps without all the opengl/dx "stuff". Is this even available anywhere else? Cube maps are used for several techniques in the book so taking the time to understand them is key. Then it goes into tangent space, normal maps and parallax maps. The discussion here is outstanding, how to generate the maps (2d central differences for example are discussed) then use the results for rendering and finally several optimizations are all discussed. The book is worth the money for these little gems alone.

Chapter 8: Spot lights, point lights and directional lights start off the chapter along with several techniques using them in combination with textures and cube maps. That is followed by a very lucid discussion on attenuation functions. My ego took a beating on the next section: Extent optimizations where oblique perspectives reemerge and techniques for light culling are discussed. It isn't mentioned but this section smacks of forward+ rendering. The discussion is very detailed covering every nook and cranny of the math. The next section, shadow maps, breaks down shadow generation for the 3 different kinds of lights introduced at the beginning of the chapter. Perspective generation for rendering the depth buffer and the shaders that use them. Once again the oblique perspective and cube map reemerge along with another in depth discussion on the required math. Stencil shadows are then discussed with a warning that they aren't really used today along with some of the reasons they fell out of favor. The chapter closes with fog. This is another part of the book that gives incredible detail for a basic function but leaves the reader set up for volume rendering techniques. Half space fog is also covered with some impressive sample photo's that make this simple technique very tantalizing.

chapter 9: What one usually expects from a chapter on occlusion are a few blurbs about bounding structures with perhaps a lame discussion on trees/frustum culling. Instead this book essentially retraces all the chapters with an eye for occlusion, presenting algorithms for computing the occlusion areas of mesh structures, spot lights, point lights, shadow volumes, fog extinction, half space fog and yes our ubiquitous frustum. It also covers portal systems and occluders and if that wasn't enough it discusses as well as presents algorithms for polygon clipping and polyhedron clipping. Put on your thinking cap, this is a busy chapter...I need some aspirin before starting chapter 10.

chapter 10: Decals - A straightforward implementation that use many bits and pieces from previous chapters. Billboards - A nice taxonomy of techniques that includes a section on polyboards and trimming. Next the "structure buffer" is discussed which is used in several other sections following it. Intrestingly the structure buffer as discussed is a 64 bit framebuffer containing the dz/dx and dz/dy values in two channels with the camera space z values in the other two channels. Combined with the depth buffer this all smacks of deferred rendering. Then comes volumetric effects and an outstanding into using isotropic light volumes (volumetric light halo's and shafts) whose integrals can be solved analytically. (no ray tracing) Then this is expanded on with ray traced atmospheric shadows. SSAO is hit on, actually the SSAO discussion in this book is the best I have seen. Motion blur and marching cubes are also discussed at length. Along the way several types of buffers are discussed, relevant "blurring" techniques are covered, and physically based atmospheric scattering come up. Another busy chapter!

Exercises: This set of exercises mix it up a little with some actual programming tasks! But many are typical of volume 1.
Chapter 5...straightforward material with straightforward questions. Chapter 6 (perspectives)...do the exercises, if you can't... read chapter 6 again, attempt questions repeat. Chapter 7 questions are similar to those found in volume 1, if you can do those these should be doable as well. Chapter 8 questions combine material from chapter 5 and 6 and 8 nothing terribly mind bending. ( I haven't don these yet, I'm stuck in an infinite loop on chapter 6) Chapter 9 questions are very geometric and expect you to actually do some real geometry. Chapter 10 is basically an exercise in calculus and a little fun with 2D isosurface extraction.

Original review:
When I first started reading the book I was surprised at how basic some of the material seemed, but I have read other material from this author and decided that it would probably be worth the trouble to read subjects I already "know". And I could not have been more right as this is hands down the best book on rendering I have ever come across.

The vast majority of rendering books are so full of external references the subject itself is effectively neutered until you read the references. This book skips the reference parade and helps the reader build a knowledge base step by step. So reading the book front to back is really the only way to go. (it really is worth it, the author clearly went the extra mile writing this book)

Volume two uses the same standard math notation, continues with the same matrix conventions, and doesn't force you to learn any new math so the focus can be on rendering. This is a leg up for readers of volume one but doesn't penalize anyone who hasn't read the first volume yet is familiar with the math.

The approach to all the code in the book is very frugal. But written well enough to easily understand and extended. The vast majority of books that cover the subject of rendering either forgo actual code all together or hand you a code base that is to big to use in a meaningful way. The code from this book won't compile into a specific program instead it can be used as major building blocks in a larger program. Which frankly is the only way to go since having a large code base that nobody understands is a sure fire recipe for disaster. While having no code at all usually makes implementing the ideas presented much more difficult.

Lastly, I just don't understand one of the other reviews here, on the one hand they purchased a book on the fundamentals of rendering but then expect that book to provide them with the golden keys to PBR a vast and complex subject that should not be tackled until after learning the fundamentals.

Wow, you made it the end I will have to share the secret of life segmentation fault core dumped.
41 people found this helpful
Report
Reviewed in the United States on August 29, 2019
This is the second book in the new game engine development series by acclaimed author and engine developer, Eric Lengyel. Though it is not strictly necessary to read in order, it is basically one book cut into sections, so you may want to get the first one, as well as the upcoming continuations of the series, to get the most out of it.

I found Volume 2 of Foundations of Game Engine Development to be a solid resource and a compelling sequel to the first book. Please keep in mind that this is a foundation series, which builds a solid breadth of knowledge for building a 3d game engine. It is not a state-of-the-art cookbook, and much of the coverage is of techniques that are relatively old (say from 10 years ago or more). I would not say it’s a beginner’s book, it’s more of an intermediate level introduction. You will still need to be able to read the math and code snippets, though Lengyel does well explaining things.

I’ll give a brief survey of what’s in the 400 some odd pages (clocking in at twice the length of the first volume). The author dives into color science, gamma correction, coordinate spaces, and the basics of the graphics pipeline. Then he deals with projection matrices, really basic lighting models, normal and parallax mapping, as well as light sources and shadows (including stencil shadows, which I found interesting, despite being an antiquated technique). The next chapter focuses on visibility and occlusion and the book is worth reading for this chapter alone. Here we see polygon clipping, bounding volumes (spheres and boxes), frustum culling, portal systems, and occluders. This has got to be one of the best explanations of these methods I have seen in one text, the writing is clear and the diagrams are perfect. I especially like that the whole book is in color, and all the diagrams take advantage of this and are easy to understand. Finally, the book concludes with some “advanced” techniques, like decals, billboards, volumetric light, ambient occlusion, motion blur, and god rays. Gotta have those god rays.

I really enjoyed the whole book, and I found it to be helpful, even though I might have had some understanding of most of the topics already. Going in, you should know these are not state-of-the-art techniques, nor is it a shader code cookbook. For that you are better off with a GPU Pro or GPU Zen type of book. This is a foundations book, for people wishing to code their own game engine. There are not a whole lot of books that cover this topic, I have read most of them, and this is one of the best. Many books tie themselves to one API or framework version and are quickly obsolete. While here, in Foundations of Game Engine Development, you have tried and true methods that have been incorporated into practically any engine written in the last 10 – 15 years. The engine code is in C++, and the shader code is in a high level language, but the author thankfully does not mix in any API code so all the techniques are applicable to whatever API you prefer.

Overall this book is great, as long as you know what you are getting into. It’ll probably be mostly a refresher for game engine pros, though for people starting out I think this would be a godsend. I should preface this with saying I’m still not 100% sure writing your own engine today is a good idea. If you asked me honestly, I’d probably say use Unreal or Unity and call it a day. However, if you do want to go down this path, you really can’t go wrong with this series. Recommended.
27 people found this helpful
Report
Reviewed in the United States on March 29, 2024
A wonderful read, and the exercises at the end of each chapter are very appreciated.
Reviewed in the United States on August 8, 2019
While some topics do not cover the latest in rendering techniques and models, FGED2 solidly develops the foundations, yet again, from scratch. The explanations are thorough and self-contained -- there is no need to consult a library of external references to really grok the material. For serious learners, 5 stars are too few, and I eagerly await the next in this rendering series.
7 people found this helpful
Report
Reviewed in the United States on February 28, 2020
All vital math in one place. I guess, the part about quaternion is the most complete then I’ve ever seen in other books.
But cover for printed version could be better.
2 people found this helpful
Report
Reviewed in the United States on March 18, 2020
The book covers an advanced topic in a way that is easy to understand. Great book.
One person found this helpful
Report
Reviewed in the United States on May 29, 2024
The content of the book is probably fine but the quality of the print is awful. A lot of the pages are just a blurry mess with weird offset drop-shadow like effect (looks worse in person). Especially the smaller mathmatical notation is hardly readable. The book also literally can't lie flat on a surface and is curling up. Can't even force it flat.
Customer image
2.0 out of 5 stars Poor print quality
Reviewed in the United States on May 29, 2024
The content of the book is probably fine but the quality of the print is awful. A lot of the pages are just a blurry mess with weird offset drop-shadow like effect (looks worse in person). Especially the smaller mathmatical notation is hardly readable. The book also literally can't lie flat on a surface and is curling up. Can't even force it flat.
Images in this review
Customer image Customer image
Customer imageCustomer image
One person found this helpful
Report
Reviewed in the United States on August 1, 2019
Pros: a lot of good stuff on shadow mapping and advanced effects like atmospheric shadowing. a lot of code snippets.
Cons: chapter 7 on lighting was pretty weak, the model is really basic. there's a more complicated model in frank luna's basic d3d book. and some of the explanations aren't so great. maybe get it with real-time rendering 4e when the price comes down.
9 people found this helpful
Report

Top reviews from other countries

NotMyRealName
5.0 out of 5 stars An amazing book!
Reviewed in Germany on March 29, 2024
Very informative!
Gautam
5.0 out of 5 stars About print quality
Reviewed in India on June 26, 2023
Realy happy with the book I got ..
book arrived with great packaging.. with no damage
print quality is top notch..with coloured printing
Since time of arrival was in weeks seller kept me posted via call about the status of order

Definitely going to order more from the same seller
Svetoslav Angelov
5.0 out of 5 stars Excellent book
Reviewed in the United Kingdom on December 3, 2019
If you're interested in real time rendering, then this book is a must have. I've only gone through chapters 5-7 (plus the first book, which are chapters 1-4), but the information there is already worth the asking price. There is absolutely no wasted sentence here, no fluff. The book is packed with great diagrams, code snippets and examples. As stated in the preface, you need to be comfortable with linear algebra, basic calculus (integration and differentiation) and C++ to get the most of this book. I've been looking for a resource like this for years, I'm extremely happy to have finally found one.
Clinton Pinto
3.0 out of 5 stars Awesome resource, low quality paperback version
Reviewed in Australia on May 6, 2021
Product seems to be damaging itself (curlying pages and cover)
Muhammad Ahmad
5.0 out of 5 stars Perfect book!
Reviewed in the United Kingdom on December 26, 2019
Really good book. Really interesting applications of theory.