SlideShare a Scribd company logo

Killzone Shadow Fall Demo Postmortem

Guerrilla
Guerrilla
GuerrillaGuerrilla

This talk is about our experiences gained during making of the Killzone Shadow Fall announcement demo. We’ve gathered all the hard data about our assets, memory, CPU and GPU usage and a whole bunch of tricks. The goal of talk is to help you to form a clear picture of what’s already possible to achieve on PS4.

Killzone Shadow Fall Demo Postmortem

1 of 103
Download to read offline
Killzone Shadow Fall Demo Postmortem
‣ Guerrilla is based in Amsterdam and we‟re part of Sony since
2005
‣ We‟re working on two titles
‣ Unannounced new IP
‣ Killzone: Shadow Fall
‣ The new Killzone is PS4 launch title
‣ Our aim for announcement event was to run on PS4 hardware
‣ 1080p, solid 30FPS, no cheats
‣ This talk is about the experiences we gained during the demo
period
Killzone Shadow Fall Demo Postmortem
Killzone Shadow Fall Demo Postmortem
‣ 60 AI characters
‣ 940 Entities, 300 Active
‣ 8200 Physics objects (1500 keyframed, 6700 static)
‣ 500 Particle systems
‣ 120 Sound voices
‣ 110 Ray casts
‣ 1000 Jobs per frame
‣ Three memory areas
‣ System - CPU
‣ Shared - CPU + GPU
‣ Video - GPU
1,536 MB System
128 MB Shared
3,072 MB Video
Ad

Recommended

Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The RunFive Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The RunElectronic Arts / DICE
 
Physically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in FrostbitePhysically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in FrostbiteElectronic Arts / DICE
 
Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Tiago Sousa
 
Rendering Tech of Space Marine
Rendering Tech of Space MarineRendering Tech of Space Marine
Rendering Tech of Space MarinePope Kim
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3guest11b095
 
Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)Tiago Sousa
 
Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)Tiago Sousa
 

More Related Content

What's hot

Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016Graham Wihlidal
 
Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologyTiago Sousa
 
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...JP Lee
 
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)Philip Hammer
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Ki Hyunwoo
 
Screen Space Reflections in The Surge
Screen Space Reflections in The SurgeScreen Space Reflections in The Surge
Screen Space Reflections in The SurgeMichele Giacalone
 
Practical SPU Programming in God of War III
Practical SPU Programming in God of War IIIPractical SPU Programming in God of War III
Practical SPU Programming in God of War IIISlide_N
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Tiago Sousa
 
Triangle Visibility buffer
Triangle Visibility bufferTriangle Visibility buffer
Triangle Visibility bufferWolfgang Engel
 
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Johan Andersson
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingElectronic Arts / DICE
 
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringStable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringElectronic Arts / DICE
 
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)Johan Andersson
 
Deferred shading
Deferred shadingDeferred shading
Deferred shadingFrank Chao
 
Custom fabric shader for unreal engine 4
Custom fabric shader for unreal engine 4Custom fabric shader for unreal engine 4
Custom fabric shader for unreal engine 4동석 김
 
Lighting Shading by John Hable
Lighting Shading by John HableLighting Shading by John Hable
Lighting Shading by John HableNaughty Dog
 
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)Johan Andersson
 
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...Colin Barré-Brisebois
 

What's hot (20)

Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3
 
Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016Optimizing the Graphics Pipeline with Compute, GDC 2016
Optimizing the Graphics Pipeline with Compute, GDC 2016
 
Secrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics TechnologySecrets of CryENGINE 3 Graphics Technology
Secrets of CryENGINE 3 Graphics Technology
 
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
 
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1
 
DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3
 
Screen Space Reflections in The Surge
Screen Space Reflections in The SurgeScreen Space Reflections in The Surge
Screen Space Reflections in The Surge
 
Practical SPU Programming in God of War III
Practical SPU Programming in God of War IIIPractical SPU Programming in God of War III
Practical SPU Programming in God of War III
 
Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666Siggraph2016 - The Devil is in the Details: idTech 666
Siggraph2016 - The Devil is in the Details: idTech 666
 
Triangle Visibility buffer
Triangle Visibility bufferTriangle Visibility buffer
Triangle Visibility buffer
 
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based Rendering
 
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringStable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
 
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
Parallel Graphics in Frostbite - Current & Future (Siggraph 2009)
 
Deferred shading
Deferred shadingDeferred shading
Deferred shading
 
Custom fabric shader for unreal engine 4
Custom fabric shader for unreal engine 4Custom fabric shader for unreal engine 4
Custom fabric shader for unreal engine 4
 
Lighting Shading by John Hable
Lighting Shading by John HableLighting Shading by John Hable
Lighting Shading by John Hable
 
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
Terrain Rendering in Frostbite using Procedural Shader Splatting (Siggraph 2007)
 
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...
More Performance! Five Rendering Ideas From Battlefield 3 and Need For Speed:...
 

Similar to Killzone Shadow Fall Demo Postmortem

Taking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationTaking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationGuerrilla
 
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...Unity Technologies
 
Smedberg niklas bringing_aaa_graphics
Smedberg niklas bringing_aaa_graphicsSmedberg niklas bringing_aaa_graphics
Smedberg niklas bringing_aaa_graphicschangehee lee
 
Crysis 2-key-rendering-features
Crysis 2-key-rendering-featuresCrysis 2-key-rendering-features
Crysis 2-key-rendering-featuresRaimundo Renato
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoonmochimedia
 
Alex_Vlachos_Advanced_VR_Rendering_GDC2015
Alex_Vlachos_Advanced_VR_Rendering_GDC2015Alex_Vlachos_Advanced_VR_Rendering_GDC2015
Alex_Vlachos_Advanced_VR_Rendering_GDC2015Alex Vlachos
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...Johan Andersson
 
Dissecting the Rendering of The Surge
Dissecting the Rendering of The SurgeDissecting the Rendering of The Surge
Dissecting the Rendering of The SurgePhilip Hammer
 
NVIDIA Graphics, Cg, and Transparency
NVIDIA Graphics, Cg, and TransparencyNVIDIA Graphics, Cg, and Transparency
NVIDIA Graphics, Cg, and TransparencyMark Kilgard
 
IoT consideration selection
IoT consideration selectionIoT consideration selection
IoT consideration selectionYoss Cohen
 
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese..."Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...Edge AI and Vision Alliance
 
Look Ma, No Jutter! Optimizing Performance Across Oculus Mobile
Look Ma, No Jutter! Optimizing Performance Across Oculus MobileLook Ma, No Jutter! Optimizing Performance Across Oculus Mobile
Look Ma, No Jutter! Optimizing Performance Across Oculus MobileUnity Technologies
 
Realtime 3D Visualization without GPU
Realtime 3D Visualization without GPURealtime 3D Visualization without GPU
Realtime 3D Visualization without GPUTobias G
 
Threading Successes 06 Allegorithmic
Threading Successes 06   AllegorithmicThreading Successes 06   Allegorithmic
Threading Successes 06 Allegorithmicguest40fc7cd
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発Unity Technologies Japan K.K.
 
Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]ozlael ozlael
 
“Show Me the Garbage!”, Garbage Collection a Friend or a Foe
“Show Me the Garbage!”, Garbage Collection a Friend or a Foe“Show Me the Garbage!”, Garbage Collection a Friend or a Foe
“Show Me the Garbage!”, Garbage Collection a Friend or a FoeHaim Yadid
 
GDC 2009: iPhone Development: Exploring The New Frontier
GDC 2009: iPhone Development: Exploring The New FrontierGDC 2009: iPhone Development: Exploring The New Frontier
GDC 2009: iPhone Development: Exploring The New FrontierNoel Llopis
 
The Next Generation of PhyreEngine
The Next Generation of PhyreEngineThe Next Generation of PhyreEngine
The Next Generation of PhyreEngineSlide_N
 
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3Electronic Arts / DICE
 

Similar to Killzone Shadow Fall Demo Postmortem (20)

Taking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationTaking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next Generation
 
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
Unite Berlin 2018 - Book of the Dead Optimizing Performance for High End Cons...
 
Smedberg niklas bringing_aaa_graphics
Smedberg niklas bringing_aaa_graphicsSmedberg niklas bringing_aaa_graphics
Smedberg niklas bringing_aaa_graphics
 
Crysis 2-key-rendering-features
Crysis 2-key-rendering-featuresCrysis 2-key-rendering-features
Crysis 2-key-rendering-features
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoon
 
Alex_Vlachos_Advanced_VR_Rendering_GDC2015
Alex_Vlachos_Advanced_VR_Rendering_GDC2015Alex_Vlachos_Advanced_VR_Rendering_GDC2015
Alex_Vlachos_Advanced_VR_Rendering_GDC2015
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
 
Dissecting the Rendering of The Surge
Dissecting the Rendering of The SurgeDissecting the Rendering of The Surge
Dissecting the Rendering of The Surge
 
NVIDIA Graphics, Cg, and Transparency
NVIDIA Graphics, Cg, and TransparencyNVIDIA Graphics, Cg, and Transparency
NVIDIA Graphics, Cg, and Transparency
 
IoT consideration selection
IoT consideration selectionIoT consideration selection
IoT consideration selection
 
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese..."Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
 
Look Ma, No Jutter! Optimizing Performance Across Oculus Mobile
Look Ma, No Jutter! Optimizing Performance Across Oculus MobileLook Ma, No Jutter! Optimizing Performance Across Oculus Mobile
Look Ma, No Jutter! Optimizing Performance Across Oculus Mobile
 
Realtime 3D Visualization without GPU
Realtime 3D Visualization without GPURealtime 3D Visualization without GPU
Realtime 3D Visualization without GPU
 
Threading Successes 06 Allegorithmic
Threading Successes 06   AllegorithmicThreading Successes 06   Allegorithmic
Threading Successes 06 Allegorithmic
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発
 
Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]Deferred rendering in_leadwerks_engine[1]
Deferred rendering in_leadwerks_engine[1]
 
“Show Me the Garbage!”, Garbage Collection a Friend or a Foe
“Show Me the Garbage!”, Garbage Collection a Friend or a Foe“Show Me the Garbage!”, Garbage Collection a Friend or a Foe
“Show Me the Garbage!”, Garbage Collection a Friend or a Foe
 
GDC 2009: iPhone Development: Exploring The New Frontier
GDC 2009: iPhone Development: Exploring The New FrontierGDC 2009: iPhone Development: Exploring The New Frontier
GDC 2009: iPhone Development: Exploring The New Frontier
 
The Next Generation of PhyreEngine
The Next Generation of PhyreEngineThe Next Generation of PhyreEngine
The Next Generation of PhyreEngine
 
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
SPU-Based Deferred Shading in BATTLEFIELD 3 for Playstation 3
 

More from Guerrilla

Horizon Zero Dawn: An Open World QA Case Study
Horizon Zero Dawn: An Open World QA Case StudyHorizon Zero Dawn: An Open World QA Case Study
Horizon Zero Dawn: An Open World QA Case StudyGuerrilla
 
Horizon Zero Dawn: A Game Design Post-Mortem
Horizon Zero Dawn: A Game Design Post-MortemHorizon Zero Dawn: A Game Design Post-Mortem
Horizon Zero Dawn: A Game Design Post-MortemGuerrilla
 
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero DawnPutting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero DawnGuerrilla
 
Decima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnDecima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnGuerrilla
 
Building Non-Linear Narratives in Horizon Zero Dawn
Building Non-Linear Narratives in Horizon Zero DawnBuilding Non-Linear Narratives in Horizon Zero Dawn
Building Non-Linear Narratives in Horizon Zero DawnGuerrilla
 
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnPlayer Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnGuerrilla
 
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnThe Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnGuerrilla
 
The Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallThe Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallGuerrilla
 
Out of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoOut of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoGuerrilla
 
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallThe Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallGuerrilla
 
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesKillzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesGuerrilla
 
Lighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallLighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallGuerrilla
 
A Hierarchically-Layered Multiplayer Bot System for a First-Person Shooter
A Hierarchically-Layered Multiplayer Bot System for a First-Person ShooterA Hierarchically-Layered Multiplayer Bot System for a First-Person Shooter
A Hierarchically-Layered Multiplayer Bot System for a First-Person ShooterGuerrilla
 
Practical Occlusion Culling on PS3
Practical Occlusion Culling on PS3Practical Occlusion Culling on PS3
Practical Occlusion Culling on PS3Guerrilla
 
Release This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release CycleRelease This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release CycleGuerrilla
 
Killzone 2 Multiplayer Bots
Killzone 2 Multiplayer BotsKillzone 2 Multiplayer Bots
Killzone 2 Multiplayer BotsGuerrilla
 
Automatic Annotations in Killzone 3 and Beyond
Automatic Annotations in Killzone 3 and BeyondAutomatic Annotations in Killzone 3 and Beyond
Automatic Annotations in Killzone 3 and BeyondGuerrilla
 
The Creation of Killzone 3
The Creation of Killzone 3The Creation of Killzone 3
The Creation of Killzone 3Guerrilla
 
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case Study
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case StudyThe PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case Study
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case StudyGuerrilla
 
Killzone's AI: Dynamic Procedural Tactics
Killzone's AI: Dynamic Procedural TacticsKillzone's AI: Dynamic Procedural Tactics
Killzone's AI: Dynamic Procedural TacticsGuerrilla
 

More from Guerrilla (20)

Horizon Zero Dawn: An Open World QA Case Study
Horizon Zero Dawn: An Open World QA Case StudyHorizon Zero Dawn: An Open World QA Case Study
Horizon Zero Dawn: An Open World QA Case Study
 
Horizon Zero Dawn: A Game Design Post-Mortem
Horizon Zero Dawn: A Game Design Post-MortemHorizon Zero Dawn: A Game Design Post-Mortem
Horizon Zero Dawn: A Game Design Post-Mortem
 
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero DawnPutting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
Putting the AI Back Into Air: Navigating the Air Space of Horizon Zero Dawn
 
Decima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnDecima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero Dawn
 
Building Non-Linear Narratives in Horizon Zero Dawn
Building Non-Linear Narratives in Horizon Zero DawnBuilding Non-Linear Narratives in Horizon Zero Dawn
Building Non-Linear Narratives in Horizon Zero Dawn
 
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnPlayer Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
 
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnThe Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
 
The Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallThe Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow Fall
 
Out of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoOut of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI Info
 
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallThe Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
 
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesKillzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
 
Lighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallLighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow Fall
 
A Hierarchically-Layered Multiplayer Bot System for a First-Person Shooter
A Hierarchically-Layered Multiplayer Bot System for a First-Person ShooterA Hierarchically-Layered Multiplayer Bot System for a First-Person Shooter
A Hierarchically-Layered Multiplayer Bot System for a First-Person Shooter
 
Practical Occlusion Culling on PS3
Practical Occlusion Culling on PS3Practical Occlusion Culling on PS3
Practical Occlusion Culling on PS3
 
Release This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release CycleRelease This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release Cycle
 
Killzone 2 Multiplayer Bots
Killzone 2 Multiplayer BotsKillzone 2 Multiplayer Bots
Killzone 2 Multiplayer Bots
 
Automatic Annotations in Killzone 3 and Beyond
Automatic Annotations in Killzone 3 and BeyondAutomatic Annotations in Killzone 3 and Beyond
Automatic Annotations in Killzone 3 and Beyond
 
The Creation of Killzone 3
The Creation of Killzone 3The Creation of Killzone 3
The Creation of Killzone 3
 
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case Study
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case StudyThe PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case Study
The PlayStation®3’s SPUs in the Real World: A KILLZONE 2 Case Study
 
Killzone's AI: Dynamic Procedural Tactics
Killzone's AI: Dynamic Procedural TacticsKillzone's AI: Dynamic Procedural Tactics
Killzone's AI: Dynamic Procedural Tactics
 

Recently uploaded

Nelson-bryn-retail-onesheet-assignment.pdf
Nelson-bryn-retail-onesheet-assignment.pdfNelson-bryn-retail-onesheet-assignment.pdf
Nelson-bryn-retail-onesheet-assignment.pdfBrynNelson5
 
Orion and The Dark Loosing Dark Scene 2.pdf
Orion and The Dark Loosing Dark Scene 2.pdfOrion and The Dark Loosing Dark Scene 2.pdf
Orion and The Dark Loosing Dark Scene 2.pdfAlexAvagimian
 
Alyssa McKay leaked photos controversy pdf.pdf
Alyssa McKay leaked photos controversy  pdf.pdfAlyssa McKay leaked photos controversy  pdf.pdf
Alyssa McKay leaked photos controversy pdf.pdfget joys
 
mahjong chase
mahjong chasemahjong chase
mahjong chaseLingChou1
 
DLL WEEK 2.docx how a selection may be influenced by culture, history and en...
DLL WEEK 2.docx  how a selection may be influenced by culture, history and en...DLL WEEK 2.docx  how a selection may be influenced by culture, history and en...
DLL WEEK 2.docx how a selection may be influenced by culture, history and en...LorenzOrquia
 
All Too Well Ten Minute Version One Sheet
All Too Well Ten Minute Version One SheetAll Too Well Ten Minute Version One Sheet
All Too Well Ten Minute Version One SheetBrynNelson5
 
Orion And The Dark: No More Dark Scene #1
Orion And The Dark: No More Dark Scene #1Orion And The Dark: No More Dark Scene #1
Orion And The Dark: No More Dark Scene #1AlexAvagimian
 
OrionsNightmareSequencePartOneScene1.pdf
OrionsNightmareSequencePartOneScene1.pdfOrionsNightmareSequencePartOneScene1.pdf
OrionsNightmareSequencePartOneScene1.pdfAlexAvagimian
 
friedriceboards
friedriceboardsfriedriceboards
friedriceboardsLingChou1
 
The 7 Disney Characters You'll Date in Your Lifetime
The 7 Disney Characters You'll Date in Your LifetimeThe 7 Disney Characters You'll Date in Your Lifetime
The 7 Disney Characters You'll Date in Your LifetimeSalty Vixen Stories & More
 

Recently uploaded (13)

Nelson-bryn-retail-onesheet-assignment.pdf
Nelson-bryn-retail-onesheet-assignment.pdfNelson-bryn-retail-onesheet-assignment.pdf
Nelson-bryn-retail-onesheet-assignment.pdf
 
Orion and The Dark Loosing Dark Scene 2.pdf
Orion and The Dark Loosing Dark Scene 2.pdfOrion and The Dark Loosing Dark Scene 2.pdf
Orion and The Dark Loosing Dark Scene 2.pdf
 
Alyssa McKay leaked photos controversy pdf.pdf
Alyssa McKay leaked photos controversy  pdf.pdfAlyssa McKay leaked photos controversy  pdf.pdf
Alyssa McKay leaked photos controversy pdf.pdf
 
mahjong chase
mahjong chasemahjong chase
mahjong chase
 
Interstellar
InterstellarInterstellar
Interstellar
 
Kambi kathakal
Kambi kathakalKambi kathakal
Kambi kathakal
 
DLL WEEK 2.docx how a selection may be influenced by culture, history and en...
DLL WEEK 2.docx  how a selection may be influenced by culture, history and en...DLL WEEK 2.docx  how a selection may be influenced by culture, history and en...
DLL WEEK 2.docx how a selection may be influenced by culture, history and en...
 
Kambikuttan net
Kambikuttan netKambikuttan net
Kambikuttan net
 
All Too Well Ten Minute Version One Sheet
All Too Well Ten Minute Version One SheetAll Too Well Ten Minute Version One Sheet
All Too Well Ten Minute Version One Sheet
 
Orion And The Dark: No More Dark Scene #1
Orion And The Dark: No More Dark Scene #1Orion And The Dark: No More Dark Scene #1
Orion And The Dark: No More Dark Scene #1
 
OrionsNightmareSequencePartOneScene1.pdf
OrionsNightmareSequencePartOneScene1.pdfOrionsNightmareSequencePartOneScene1.pdf
OrionsNightmareSequencePartOneScene1.pdf
 
friedriceboards
friedriceboardsfriedriceboards
friedriceboards
 
The 7 Disney Characters You'll Date in Your Lifetime
The 7 Disney Characters You'll Date in Your LifetimeThe 7 Disney Characters You'll Date in Your Lifetime
The 7 Disney Characters You'll Date in Your Lifetime
 

Killzone Shadow Fall Demo Postmortem

  • 2. ‣ Guerrilla is based in Amsterdam and we‟re part of Sony since 2005 ‣ We‟re working on two titles ‣ Unannounced new IP ‣ Killzone: Shadow Fall ‣ The new Killzone is PS4 launch title ‣ Our aim for announcement event was to run on PS4 hardware ‣ 1080p, solid 30FPS, no cheats ‣ This talk is about the experiences we gained during the demo period
  • 5. ‣ 60 AI characters ‣ 940 Entities, 300 Active ‣ 8200 Physics objects (1500 keyframed, 6700 static) ‣ 500 Particle systems ‣ 120 Sound voices ‣ 110 Ray casts ‣ 1000 Jobs per frame
  • 6. ‣ Three memory areas ‣ System - CPU ‣ Shared - CPU + GPU ‣ Video - GPU 1,536 MB System 128 MB Shared 3,072 MB Video
  • 7. Sound 553 MB Havok Scratch 350 MB Game Heap 318 MB Various Assets, Entities, etc. 143 MB Animation 75 MB Executable + Stack 74 MB LUA Script 6 MB Particle Buffer 6 MB AI Data 6 MB Physics Meshes 5 MB Total 1,536 MB
  • 8. Display list (2x) 64 MB GPU Scratch 32 MB Streaming Pool 18 MB CPU Scratch 12 MB Queries / Labels 2 MB Total 128 MB
  • 9. Non-Steaming Textures 1,321 MB Render Targets 800 MB Streaming Pool (1.6 GB of streaming data) 572 MB Meshes 315 MB CUE Heap (49x) 32 MB ES-GS Buffer 16 MB GS-VS Buffer 16 MB Total 3,072 MB
  • 10. ‣ No low-level CPU optimizations ‣ Just SIMD based math library (using SCE intrinsics) ‣ Focused optimizations on going „wide‟ ‣ Almost all code is multi-threaded / jobified
  • 11. ‣ Same model as PS3 ‣ One main „orchestrator‟ thread ‣ All other code runs in jobs across all cores ‣ Easier to program, so much more code in jobs ‣ Jobification of code, ballpark improvements: ‣ (PS3 ‣ PS4 - % of code running in jobs) ‣ 80% ‣ 90% - Rendering code ‣ 10% ‣ 80% - Game Logic ‣ 20% ‣ 80% - AI Code
  • 12. ‣ Demo was optimized quite well ‣ 1080p30 with very few dropped frames on CPU and GPU ‣ Profiling tools are still in development this early on ‣ …so we developed our own CPU and GPU Profiler
  • 28. ‣ The biggest performance challenge was thread contention ‣ Shared memory allocator, ton of mutexes. ‣ We gained approximately 50% of the CPU back by fixing high level code. ‣ Do this first before you try to switch to some low level multithreading friendly malloc. ‣ We had a few fights with the PS4 thread scheduler ‣ A lot of our SPU code used spinlocks ‣ Spinlocking is not nice for on any multicore system ‣ Just play nice, system mutexes are very fast
  • 30. ‣ We still use deferred shading ‣ The entire pipeline is HDR and linear space
  • 31. ‣ We switched to physically correct lighting model ‣ Energy preserving ‣ Properly calculated geometry attenuation factors ‣ All materials support translucency and Fresnel effect
  • 32. ‣ All our lights are area lights
  • 33. ‣ Volumetrics supported on every light
  • 34. ‣ Real-time reflections and localized reflection cubemaps ‣ Proper roughness response matching the real-time lights
  • 35. ‣ G-buffer with 5 MRTs + 32bit depth ‣ 1080p, RGBA16f, no MSAA at the moment ‣ 2x 8bit backbuffers ‣ 4x 2048x2048x32bit shadow maps ‣ We don‟t use HiZ to avoid decompression before reads. ‣ A lot of low resolution buffers for post process effects ‣ Most of the buffers are overlapping in memory ‣ We still need to optimize the layout and formats
  • 36. ‣ Out of order generation using jobs ‣ Geometry passes are split into multiple jobs too ‣ We kick up to 60 command buffers per frame ‣ CBs are sorted based on a how they need to be consumed ‣ All double buffered ‣ We issue WaitForFlip at the very last moment in the frame ‣ Right before the next flip when the GPU renders into the back buffer ‣ Allows to avoid blocking waits on CPU during long frames
  • 37. ‣ CPU ‣ Core 0 ‣ Core 1 ‣ Core 2 ‣ GPU Geo 100 Geo 101 Geo 200 Geo 300 Lights 500 Lights 600 Post 700 Post 701 Geo 100 Geo 200 Geo 300 Lights 500 Lights 600Geo 101 Post 700 Post 701 WaitForFlip #N-1 Flip #NBlit
  • 54. ‣ Around 40k polygons for the highest LOD ‣ Enough to capture all detail for closeups ‣ We provided detail guide for LOD setups ‣ Up to 8 bone influences per vertex ‣ Most vertices use 4-5, drops with LOD# ‣ 6 x 2k x 2k textures for character body ‣ Plus detail maps and head textures ‣ 10ppi, everything authored as 4k ‣ KZ3 used 10k polygons, 3 LODs and 1k textures LOD# Polycount Distance 1 40,000 0-2 2 20,000 2-5 3 10,000 5-10 4 3,200 10-15 5 800 15-20 6 350 20-30 7 150 30+
  • 55. Killzone: Shadow Fall Killzone 3
  • 60. Optimization Saving Sorting by (vertex) shader still helps  ms More aggressive threshold for minimum bone influence (1%)  ms Normal/Tangent/Binormal compression with x10y10z10w2  ms Only store Normal + Tangent + sign bit for Binormal  ms We removed the tangent space for distant static LODs Required adjustments to the directional lightmap sampling  ms
  • 61. Optimization Saving Sorting by (vertex) shader still helps  ms More aggressive threshold for minimum bone influence (1%)  ms Normal/Tangent/Binormal compression with x10y10z10w2  ms Only store Normal + Tangent + sign bit for Binormal  ms We removed the tangent space for distant static LODs Required adjustments to the directional lightmap sampling  ms
  • 67. ‣ Probably the most extensive and customizable system we have ‣ Can render in full resolution or half resolution or in deferred mode ‣ Can read from- and write to the g-buffer ‣ Can spawn another particles, meshes, lights and sounds on impact ‣ All particles use artist created shaders just like any other object ‣ Engine supports deferred lighting and shadowing of all particles ‣ Each particle can sample from forcefields (our artist placed forces) ‣ All this means artists don‟t need millions of particles to achieve the desired effect.
  • 68. ‣ All particles are generated on the CPU - 10ms ‣ Manager job determines what is visible and needs to update ‣ One particle logic update job and one vertex job per subsystem ‣ Extensive code optimizations for PS4 ‣ Update „static‟ particles early after the camera is available ‣ Use simple double buffered linear allocator to avoid contention ‣ Only generate vertices for visible particles ‣ Plans to move to compute in the future
  • 70. ‣ Real-time reflections ‣ Depth based and color cube color correction ‣ Exposure control ‣ Ambient occlusion ‣ Bloom and screen space godray effects ‣ Bokeh depth of field and motion blur ‣ Extensive artist driven lens flares ‣ FXAA
  • 74. ‣ Post processing is usually bandwidth bound ‣ Performance scales linearly with texture format size ‣ We switched from RGBA16F to smaller minifloat or integer formats ‣ Bloom downsample chain is 2x faster with R11G11B10 ‣ SSAO randomly sampled depth in FP32 ‣ Heavy cache trashing, FP16 gave us 2x speed improvement ‣ FXAA used RGBA16F as color input + luminance ‣ 2x speedup by switch to R11G11B10 for RGB and FP16 for luminance
  • 75. ‣ We found out that it‟s beneficial to perform reads from the same texture in packs of 4 ‣ We‟re now partially unrolling our dynamic loops. ‣ Almost doubled performance of our reflection raytrace ‣ MRT blending performance seems to scale linearly with the number of targets. ‣ Blending in shader can be faster - better scheduling of reads. ‣ Saved 50% on our full screen dust shader.
  • 76. ‣ Branching can be faster than a texture fetch hit ‣ We merged a lot of individual passes ‣ Saves read / write performance ‣ DoF Near & Far CoC is calculated once and output to MRT ‣ We have a “mega” post process composite pass ‣ Merges results of all effects with the full resolution scene image. ‣ Avoids alpha blending and re-reads from memory.
  • 78. ‣ Quarter resolution ‣ Full resolution compute and point-sprite based version is not ported to PS4 yet. ‣ 13x13 (169 samples) gather kernel ‣ Uses texture to define the bokeh shape ‣ Runs twice - once for far DoF, once for near DoF ‣ Was one of our most expensive effects before the optimizations
  • 79. ‣ We wanted to utilize branching to reduce the sample count for smaller CoC values ‣ The idea - split the loop and gather in „rings‟
  • 80. ‣ But this is a gather filter ‣ We need to know the CoC of all neighbors affecting the current pixel to find the starting „ring‟. ‣ Solution - create the max tree of CoC values ‣ 4 mips are enough for our 13x13 pixel filter, takes 0.05ms ‣ Also forces filtering to be coherent on tile granularity ‣ Construction cost is almost inmeasurable ‣ Average DoF cost went down to 1/8th of the original cost ‣ Peak cost in demo – 1/4th of the original cost
  • 84. ‣ A mixture of screen space raytrace and a set of localized cubemaps. ‣ A lot of Guerrilla secret sauce™ in this one... ‣ Temporal reprojection for secondary bounces ‣ Hierarchical buffers to accelerate the raytrace ‣ Color buffer convolution matching our roughness
  • 89. ‣ Fallback in case the screen-space reflection cannot give result ‣ Reflected point is behind geometry or outside the screen ‣ Single global cubemap produces wrong reflections ‣ Classical example is seeing skybox reflection while you are standing indoor against a wall. ‣ The idea is to have many small, local, cubemaps ‣ To capture the reflections inside a single room ‣ Or on the a landing platform in Killzone demo
  • 92. ‣ We currently pick only 8 localized cubemaps per frame ‣ Reflection shader finds cubemaps affecting current pixel ‣ Simple loop through all cubemaps ‣ Check if point is inside the cubemap AABB ‣ Fallback to global cubemap if there‟s no hit ‣ Relies on dynamic branching to avoid cubemap sampling ‣ When point check fails ‣ When total accumulated reflection amount reaches one
  • 95. ‣ Very important part of the Killzone look ‣ Each of our light types support volumetrics ‣ Implemented as straightforward raymarching ‣ Rendered in quarter resolution during lighting pass ‣ We wanted something fancier and faster, but were pleasantly surprised with the PS4 performance
  • 96. ‣ We use a couple of tricks to improve the quality ‣ Per pixel depth dithering of raymarch ‣ Bilateral filter and upsample ‣ 16 layers deep screen space participating media buffer ‣ Contains vesired intensity of volumetric effect at given camera distance ‣ We use particles to fill this buffer ‣ 16 layers deep screen space volume light buffer ‣ Amount of rendered volumetric lighting at given camera distance ‣ Allows blending of volumetrics and transparencies
  • 101. ‣ PS4 is really easy to program for! ‣ Wide multithreading is a must, consider using jobs ‣ Be nice to the OS thread scheduler and avoid spinlocks ‣ GPU is really fast! ‣ Watch your vertex shader outputs ‣ Don‟t be afraid of using conditionals ‣ GDDR5 bandwidth is awesome! ‣ If you map your memory properly ‣ Use the smallest pixelformat for the job ‣ Use compute (and tell us about your experiences)