Quaternion Julia


The Quaternion Julia is a demo application part of the OpenCL Studio download. It consists of a single kernel that writes the diffuse color, surface normals and pixel depth of a ray traced julia fractal into two framebuffer attachments. The buffers are then used by deferred lighting shaders to illuminate the fractal using several light sources. A final pass with an ambient occlusion shader produces a self-shadowing effect. Since this model requires floating point framebuffers and several screen space shader it runs somewhat slower on older graphics cards.