|

The Quaternion Julia is a demo application bundled with 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 passed to deferred lighting shaders that illuminate the fractal using several light sources. A final pass with an ambient occlusion shader produces a depth enhancing self-shadowing effect. Since this model requires floating point framebuffers and several screen space shader it runs somewhat slower on older graphics cards.
|
|
|
|
|