Scene::update now properly traverses dependency graph.

Support for shaders in raycaster kernel.