     cameraNode.position = Vector3(0, 0, -10);
 
     if (!engine.headless)
+    {
+        edgeFilter = PostProcess();
+        edgeFilter.parameters = cache.GetResource("XMLFile", "PostProcess/EdgeFilter.xml");
+        edgeFilter.active = false; // Start out disabled
+
         renderer.viewports[0] = Viewport(testScene, camera);
+        renderer.viewports[0].AddPostProcess(edgeFilter);
+    }
 }
 
 void LoadNewModel()

            camera.orthographic = !camera.orthographic;

        if (input.keyPress['F'])
            renderer.edgeFilter = !renderer.edgeFilter;
            
        if (input.keyPress['T'])
            debugHud.Toggle(DEBUGHUD_SHOW_PROFILER);

Scene@ testScene;
Camera@ camera;
Node@ cameraNode;
PostProcess@ edgeFilter;

float yaw = 0.0;
float pitch = 0.0;
