The power of GPU shaders

Discussions related to graphics (2D and 3D), animation and games programming
Post Reply
David Williams
Posts: 19
Joined: Wed 04 Jul 2018, 16:23

The power of GPU shaders

Post by David Williams » Thu 23 Aug 2018, 16:54

Possibly off-topic for this forum (at least for the time being), but here's an amazing demo of what can be achieved with a GPU shader (in roughly 184 lines of code):

https://www.shadertoy.com/view/Ms2SD1

I couldn't believe my eyes at first. I thought I was watching a pre-rendered video, but no. All real-time, no textures, purely procedural and somewhat mathematical. The website (shadertoy.com) showcases many excellent GPU shaders.

Exercise for the interested (and clever) BBC BASIC user: port this 'Seascape' shader/demo to BBCSDL :)


David.
--

Post Reply