My blog has been moved to ariya.ofilabs.com.

Wednesday, September 13, 2006

Underwater effect

Update: don't fancy compiling/testing the code? See the short video clip.

underwater effect

I found one piece of code which I wrote a very long long time ago.

Remember the original Quake? When you submerge, the software renderer performs a simple but interesting effect. The view is somehow warped periodically. It turned out that you just need only few lines of code to achieve such effect. Just see the code if you're curious.

Of course, looking only at the above screenshot is not enough. You must see it in action.

1 comment:

Max Howell said...
This comment has been removed by a blog administrator.