Demos > Depth of Field

This demo achieves its depth of field effect by blending between an "in focus" and an "out of focus" version of the scene. The scene is rendered normally, then blurred to get the separate "out of focus" texture. The final render combines these textures based on the depth of the scene at that particular pixel.


  • W - Move Forward
  • A - Move Left
  • S - Move Back
  • D - Move Right
  • Left-Click - Rotate Camera
  • Hold Ctrl - Faster Camera Movement
  • Hold Shift - Slower Camera Movement