Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Graphics Games

Game Tech: How BioShock Infinite's Lighting Works 55

An anonymous reader writes "The Principal Graphics Programmer for BioShock Infinite has put up a post about how the game's lighting was developed. We don't usually get this kind of look into the creation of AAA game releases, but the studio shut down recently, so ex-employees are more willing to explain. The game uses a hybrid lighting system: direct lighting is dynamic, indirect uses lightmaps, shadows are a mix. 'Dynamic lighting was handled primarily with a deferred lighting/light-pre pass renderer. This met our goals of high contrast/high saturation — direct lighting baked into lightmaps tends to be flat, mostly because the specular approximations available were fairly limited.' It's interesting how much detail goes into something you don't really think about when you're playing through the game. 'We came up with a system that supported baked shadows but put a fixed upper bound on the storage required for baked shadows. The key observation was that if two lights do not overlap in 3D space, they will never overlap in texture space. We made a graph of lights and their overlaps. Lights were the vertices in the graph and the edges were present if two lights' falloff shapes overlapped in 3D space. We could then use this graph to do a vertex coloring to assign one of four shadow channels (R,G,B,A) to each light. Overlapping lights would be placed in different channels, but lights which did not overlap could reuse the same channel. This allowed us to pack a theoretically infinite number of lights in a single baked shadow texture as long as the graph was 4-colorable.'"
This discussion has been archived. No new comments can be posted.

Game Tech: How BioShock Infinite's Lighting Works

Comments Filter:
  • by Anonymous Coward

    and a small further note you can use the same technique to cull the geometry fed into the shadow pass as well - if its not in the pvs from the light's perspective then it can't cast a shadow you will ever see from that light. :)

  • I'm only a few hours into the game but the artwork and graphics are stupendous! My system is mid-range with a Intel Core 930 clocked to 3.3Ghz, 12 Gig DDR3, and a GTX 660 and the game is beautiful!. I got it for $7 at GMG and it is a bargain. Just buy it and no whining... Games on a per $/hr basis are the best value in entertainment the world has ever seen. I sincerely thank the people who produce them!
  • Hello! everybody, give you recommend a good shopping place. discount sunglasses sale http://www.shoesctv.com/ [shoesctv.com] NFL cap wholesale http://www.shoesctv.com/ [shoesctv.com] discount jordan shoes http://www.shoesctv.com/ [shoesctv.com] jordan michael http://www.shoesctv.com/ [shoesctv.com] designer sunglasses http://www.shoesctv.com/ [shoesctv.com] cheap jordan shoes http://www.shoesctv.com/ [shoesctv.com] jordan store http://www.shoesctv.com/ [shoesctv.com] Air jordan 13 http://www.shoesctv.com/ [shoesctv.com] cheap designer handbags http://www.shoesctv.com/ [shoesctv.com] NBA cap wholesale http://www.shoesctv.com/ [shoesctv.com] best

Some people manage by the book, even though they don't know who wrote the book or even what book.

Working...