Added camera parameters to kernel.