Calculations and Mathmatics in shaders

The way of thinking in shader programming is quite different from the approach in programming languages like Javascript etc., the math is used very specifically. It is best to start with very simple exercises.

Take a look at the Little Shader Book .

(from the Collection of examples from discourse.threejs.org)

There is also a link to the easy-to-study https://thebookofshaders.com/

2 Likes