Hello, everyone! Let’s again create a spatial shader for a 3D object. This tutorial is special because for the first time I will touch on a function that I have completely ignored so far. It is the function called light, and I will show how we can work with it.


Yeah, I don’t say it’s the best possible simulation. It could be a lot better. The point was to demonstrate the usage of the light() function, mostly.