Many thanks for the kind feedback everyone!
I was a bit in a hurry when I posted the entry yesterday and forgot to mentioned that I used
this texture for the ground.
The three lightmaps are generated with my own little photon-tracer; mainly because I was unable to tell mental-ray what I wanted it to do.
You can btw view the textures with
IrfanView (plugins required).
The shader is included as plain text (fraction.psh), so most of the relevant source is included.
If anyone wants to play around with it, you can modify the amount of refraction by changing the variable "index".
The cube's colours are defined in shaders/colours.ini.
One major shortcut of the shader is that it traces a cube (so it ignores the edges of the chamfer cube) which isn't very obvious if you don't know it.
It's actually pretty easy to compensate this but I just ran out of time; I'll probably give it a try at some later point.
Using multiple passes it's also doable with shader2-hardware, I just don't have hardware to test it (the mainboard of my secondary pc died lately so I can't use any of my agp-cards).
Required Extensions not available.
This means your card doesn't support
vbo,
fbo and/or
glsl. Unfortunately it's impossible to compensate any of these - you can download the video, though.
I'm aware of the fact that my home gfx-card has quite some horse power, so I made it work properly (~100fps in the default window size) at my work pc which has a rather low-end board (a geforce 8600 which is sold for 49,95 Euros at the moment).
I would love to make it more compatible but at the moment I simply can't.
Runs at 1FPS on my computer :S
Impressive. What card is that?
If possible - a longer video version would be cool!
Well, all the visuals are controlled by the xm-file's pattern-data. To make it longer I need to make changes to the tune - Lassi will very probably kill me for that

But I gladly invite any musician here to create a longer tune for it.