GLSL Hacker
Current version: 0.8.2
»GLSL Hacker homepage
»GLSL Hacker Overview

Current version: 1.15.1
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current version: 1.23.0
»GPU Caps Viewer homepage
»GPU DB Submissions

GPU Shark
Current version: 0.9.4
»GPU Shark homepage

»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter

PhysX FluidMark
Current version: 1.5.2
»FluidMark homepage
»FluidMark 1.4.x Submissions

Current version: 0.4.0
»GeeXLab homepage
»GeeXLab Overview

Current version: 0.3.0
»TessMark homepage

Current version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

Current Version: 1.23.0
»Libraries and Plugins
»Online Help - Reference Guide
»Codes Samples

3D Graphics Search Engine:

The Geeks Of 3D


Demoniak3D Chromatic Aberration Demo


Chromatic Aberration demo - Executable + Source Code - zip archive - (11741k)
Release date: November 3, 2006
Update: January 15, 2008
For any bug report or feedback, please send an email to feedback [AT] ozone3d [DOT] net and add "[DEMO FEEDBACK]" to the subject.

Recommended configuration:
  • Operating System: Windows XP SP1 or SP2
  • Processor: Pentium III or AMD Athlon and up processor - 800 MHz and up.
  • Memory: 256M RAM and up
  • Graphics Controller: ATI Radeon 9700 and up (with the latest Catalyst drivers) or GeForce FX 5200 and up (with the latest Forceware drivers)
  • Resolution: 1280x1024 - 32 bits/pixel


This demo shows how to implement with Demoniak3D the lighting dispersion effect also known as chromatic aberration. This demo has been adapted from the Refractive Dispersion sample provided with the nVidia SDK.

The demo uses a GLSL shader that performs the following tasks:

  • light dispersion according to the indices of refraction (IoR)
  • light reflection. The reflection code comes from the following tutorial: Cube Environment Mapping
  • light refraction. The refraction code is based on the following paper: Fresnel Reflection
  • variation of the transparent areas using a gloss map (torus demo). The code that does the job comes from the following tutorial: Gloss Maps

The source code of the demo is located in the DEMO.xml file. This file contains the GLSL shader that does the reflection / refrection effect (just search for 'chromaticAberrationShader').

Instructions for use:
This demo requires an OpenGL 1.5 compliant graphics controller. Unzip the archive and launch START_DEMO_Licorne_Unicorn.bat or START_DEMO_Torus.bat. That's all!

Demos's source codes are in the next files: DEMO_Chromatic_Aberration_Licorne.xml and DEMO_Chromatic_Aberration_Torus.xml.

You can download Demoniak3D Demo-System here: [Demoniak3D DOWNLOAD].

Author Profile

Author:Jérôme 'JeGX' Guinot
Contact:jegx [at] ozone3d [dot] net

Author:Stéphane 'Steph3D' Laux
Contact:steph [at] steph3d [dot] net

GLSL Hacker demos

GLSL - Mesh exploder

PhysX 3 cloth demo

Normal visualizer with GS

Compute Shaders test on Radeon

Raymarching in GLSL

Geeks3D latest news

Geeks3D forum news

»Texture DataPack #1
»Asus Silent Knight CPU Cooler
Page generated in 0.0068070888519287 seconds.