Interactive intro to shaders

This article introduces readers to the world of shaders and explores the basics of fragment shaders. The author starts by explaining what shaders are and their importance in video games and computer graphics. They highlight that shaders are extremely fast due to their parallel nature. The article then dives into the syntax of shaders, discussing inputs, coordinate systems, and output. The author provides code examples and encourages readers to experiment and modify them. They also introduce the concept of signed distance functions (SDFs) and demonstrate how to use them to create shapes and combine them for more complex graphics. The article concludes with an example of animating shapes using time and periodic functions.

https://www.mayerowitz.io/blog/a-journey-into-shaders

To top