GM Version: GameMaker Studio Target Platform: All (if the hardware supports shaders) Download: Finished Project File Links: Part 1 - Godray Shader --- Part 2 - Wave Distortion Shader Summary: This two-part video gives a quick overview of shaders and then uses two Shadertoy shaders (godray and wave distortion) to create a nice underwater effect. Tutorial: Check the links above to get to the two videos. In the first one we talk about shaders in general (just a quick overview) and then we have a look at how to adapt shaders from the website Shadertoy so they can be used in GameMaker. We walk through the most common compiler errors and how to fix them. Finally we pick a godray shader and adapt it for GM. In the second video we select a more complex wave distortion shader and talk about how you can feed the application surface (which contains the backgrounds and sprites) into the shader as a texture. In the end we have a nice underwater effect which looks much better in motion than in the following screenshot. Check out the beginning of the first video to see the end result in action. Have fun!