ariya.io About Talks Articles

Underwater effect

1 min read

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.

♡ this article? Explore more articles and follow me Twitter.

Share this on Twitter Facebook